-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support delegation with EvmSlotValueVotingStrategy (#605)
* feat: get voting power from latest checkpoint * fix remove slot zero check from single slot proof module * fix: add zero check in the voting strategy only for the checkpoint slot * chore: updated demo scripts * refactor: re-added separate EVMSlotValueVotingStrategy and documented separately * chore: formatting * chore: fixed comment in ts script * refactor: remove duplicate module state initialization * chore: more comments explaining flow --------- Co-authored-by: Orlando <[email protected]>
- Loading branch information
Showing
6 changed files
with
353 additions
and
139 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
Oops, something went wrong.