Lookup current deal ID in OnDealExpiredOrSlashed #5414
Labels
area/markets/client
area/markets/storage
P2
P2: Should be resolved
team/ignite
Issues and PRs being tracked by Team Ignite at Protocol Labs
Milestone
OnDealExpiredOrSlashed
takes a deal ID parameter.However the deal ID may change if there's a reorg after the deal was published. In that case
OnDealExpiredOrSlashed
will error out.Instead
OnDealExpiredOrSlashed
should take a deal proposal parameter and fetch the current deal ID, similarly to howOnDealSectorCommitted
works.The text was updated successfully, but these errors were encountered: