-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Deliver correct receipt type for yield timeouts (#10688)
#10676 introduced receipt variant `ReceiptEnum::PromiseResume` to distinguish yield resume receipts from normal data receipts. We should use that type not just for receipts submitted via `promise_yield_resume` but also for the receipts generated by yield timeouts. Also in that PR, deserialization for the `PromiseResume` and `PromiseYield` types is gated behind a feature flag `yield_resume`. However, the flag was not properly configured everywhere.
- Loading branch information
1 parent
1557923
commit 9704008
Showing
5 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,4 +99,5 @@ nightly = [ | |
"near-primitives/nightly", | ||
"near-vm-runner/nightly", | ||
"nightly_protocol", | ||
"yield_resume", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters