-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new vote extenison type THRESHOLD_RAW (#715)
* feat: allow passing sign id used to sign vote extensions * chore: improve docs * chore: rename proto sign_id * chore: doc * doc: typo * feat: add vote extension sign request id * test: fix tests build * chore: remove printf * doc: proto THRESHOLD_RECOVER_RAW docs * chore: vote extension fixes * chore: self review * chore: fix tests * fix: tests * chore: code cleanup * feat: allow pwldtx prefix in sign_request_id * fix: return checksum of SignRequestId * doc: update api spec * chore: change prefix * refactor: sign item refactoring and removal of reversals in sign id * test: update test vectors in TestVoteExtensionsRawSignDataRawVector * refactor: SIgnItem moved to crypto and replaces all crypto.SignID calls * test: fix tests * refactor(types): vote extensions support for multiple types * test(e2e): workaround for broken ConsensusParams * refactor: vote extensions refactoring * refactor: further vote extensions refactoring * chore: don't reverse signhash * test: update sign id test vectors * test(e2e): double-check that each vote extension has signature * test: fix test vector * build: allow choice of docker image architecture to use * test(e2e): TestApp_TxTooBig needs correct tx order * fix: vote extension marshal panic * build: fix platform selection for docker build * test(types): test vote extension marshaling * chore: reverse sign request id * chore: simplify code * chore: remove reverse * refactor: rename SignItem.Raw -> Msg * chore: reverse bytes in extension and require 32 bytes for RAW * chore: reverse generated request id * chore: add debug * test: working test vector for withdrawals * test: withdrawals * test: vote extension test fix * test(consensus): fix vote extension tests * chore: update protobuf * revert: move SignItem back to types * chore: remove log * build: update golangci-lint 1.55.0 to 1.55.2 * chore: apply linter comments * chore: decrease logs size * test(e2e): increase e2e test timeout
- Loading branch information
Showing
66 changed files
with
2,300 additions
and
1,092 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
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
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.