-
Notifications
You must be signed in to change notification settings - Fork 383
Add pubkey recovery API #790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
4d9fb98
Build and test crypto in local dev build
webmaster128 8bbb605
Add secp256k1_recover_pubkey
webmaster128 0392f1f
Add test with recovery_param = 1
webmaster128 fe7bd21
Test invalid recovery param
webmaster128 b845b87
Groups inputs together
webmaster128 aeb4c8f
Rename to GAS_COST_SECP256K1_VERIFY_SIGNATURE
webmaster128 16b22ce
Add do_secp256k1_recover_pubkey
webmaster128 263202f
Use hex_literal for test
webmaster128 f2ad955
Add secp256k1_recover_pubkey to API
webmaster128 a3f0294
Remove unnecessary error cases
webmaster128 ed44388
Add RecoverPubkeyError to StdError converter
webmaster128 9809349
Ensure we don't throw away important data
webmaster128 44cb087
Test secp256k1_recover_pubkey_fails_for_wrong_hash
webmaster128 841f4be
Add env.secp256k1_recover_pubkey to supported imports
webmaster128 dfc819d
Add VerifyEthereumSignature
webmaster128 7c855b5
Fix error propagation
webmaster128 c7d276d
Enhance broken signature tests
webmaster128 0c1e1d2
Fix signature format description
webmaster128 8f215c8
Let secp256k1_recover_pubkey return uncompressed and fix tests
webmaster128 722c4e7
Check signer address instead of pubkey
webmaster128 b13a350
Format code
webmaster128 77860be
Make high/low more explicit; Remove unneeded out variable.
webmaster128 f1a572c
Pull out get_recovery_param
webmaster128 7eb303d
Improve docs of QueryMsg::VerifyEthereumText
webmaster128 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.