forked from cometbft/cometbft
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add chainID to signing of oracle votes * update gossip interval to 250ms * add lifecycle hook for checking if oracle result exist * add pruning oracle vote logic for already committed results * add sig prefix for oracle votes signing * add signType to sigPrefix * add configs and init for oracle subaccount signing * update oracle votes signing and verification flow with new sig prefixes wip * add hook to check if subaccount belongs to val * update oracle votes signing and verification flow with new sig prefixes done * update subAccount and pubKey fields with proper camel casing * abstract out getter and creation of sig prefix * fix lint on signer test * remove naming of updateMtx field to improve code readability * add helper func to get signature without prefix, and handle signature index errors --------- Co-authored-by: yan-soon <[email protected]>
- Loading branch information
Showing
29 changed files
with
2,297 additions
and
681 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.