forked from move-language/move
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Executor] Add an optional epoch_change_li field to execute_and_commi…
…t_chunk Summary: This field carries a LedgerInfo corresponding to the end of the epoch, even if the verified target LedgerInfo is somewhere in the future (as it's the case with the waypoints). In addition, minor cleanup of the existing code to use the ProcessedVMOutput wrapper functions instead of lower-level checks. Note that the new optional field is not used yet, so this change is a noop at this point. Testing: The existing functionality is tested with the existing unit tests. The new functionality (epoch change LedgerInfo) is not tested yet: didn't find a simple way to generate a test reconfiguration transaction. Issues: ref #1384 Closes: #1966 Approved by: dmitri-perelman
- Loading branch information
1 parent
ec9ff14
commit cecae8c
Showing
3 changed files
with
102 additions
and
38 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