-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(base_layer): basic checkpoint validation (#4293)
Description --- * Removed unnecessary validation about required contract definition in checkpoints * Added checkpoint validation of existing prior contract constitution * Added checkpoint validation of checkpoint signer public keys being included in the constitution committee * For convenience, implemented `IntoIterator` trait for references of `CommitteeSignatures` Motivation and Context --- The base layer must perform some basic validations on checkpoints: - The constitution must have been published - The checkpoint signers public keys must be included in the constitution committee How Has This Been Tested? --- The new unit tests for the new validations pass
- Loading branch information
Showing
4 changed files
with
112 additions
and
20 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
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