Uh oh!
There was an error while loading. Please reload this page.
feat(rs-drive-abci)!: commit and vote extensions signature verification - #915
Merged
Conversation
lklimek
marked this pull request as draft
April 14, 2023 11:41
lklimek
marked this pull request as ready for review
April 17, 2023 15:28
QuantumExplorer
requested changes
Apr 17, 2023
| /// The default quorum type | ||
| pub quorum_type: QuorumType, | ||
| pub quorum_type: String, |
ContributorAuthor
There was a problem hiding this comment.
because there is a bug in envy / serde, and flattened structs don't deserialize correctly into enums, ints, etc. softprops/envy#26
Comment on lines
+416
to
+423
| let validation_result = received_withdrawals.verify_signatures( | ||
| &self.config.abci.chain_id, | ||
| self.config.quorum_type(), | ||
| quorum_hash, | ||
| height, | ||
| round, | ||
| validator_public_key, | ||
| ); |
There was a problem hiding this comment.
I think this should return a validation result instead of a result
ContributorAuthor
There was a problem hiding this comment.
Returning SimpleValidationResult, moved part of logic to received_withdrawals.verify_signatures
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
QuantumExplorer
approved these changes
Apr 18, 2023
Merged
6 tasks
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue being fixed or feature implemented
We want to check if digital signatures returned by Tednerdash are valid.
What was done?
How Has This Been Tested?
Added unit tests that test vectors generated in Tenderdash
Breaking Changes
Added new configuration option: CHAIN_ID
Checklist:
For repository code-owners and collaborators only