-
Notifications
You must be signed in to change notification settings - Fork 425
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
Add sr25519_verify() #1840
Add sr25519_verify() #1840
Commits on Apr 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 57c27e3 - Browse repository at this point
Copy the full SHA 57c27e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d9cbee - Browse repository at this point
Copy the full SHA 5d9cbeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37fa479 - Browse repository at this point
Copy the full SHA 37fa479View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a910e1 - Browse repository at this point
Copy the full SHA 0a910e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2224d6 - Browse repository at this point
Copy the full SHA b2224d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6a9f7c - Browse repository at this point
Copy the full SHA d6a9f7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d00c92 - Browse repository at this point
Copy the full SHA 9d00c92View commit details -
Configuration menu - View commit details
-
Copy full SHA for da71ca2 - Browse repository at this point
Copy the full SHA da71ca2View commit details
Commits on Apr 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eb93905 - Browse repository at this point
Copy the full SHA eb93905View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ca19c4 - Browse repository at this point
Copy the full SHA 9ca19c4View commit details
Commits on Jul 5, 2023
-
added catch for invalid public key or signature in sr25519 verification
public key byte[] and/or signature byte[] may not be constructed into a PublicKey or Signature if it's in the wrong format. These errors originate from the schnorrkel library and need to be caught, otherwise it'll panic and propagate up to smart contracts in ink.
Configuration menu - View commit details
-
Copy full SHA for 9b074f1 - Browse repository at this point
Copy the full SHA 9b074f1View commit details -
switched to simple signing context in sr25519_verify fn
there is no need to make the context directly, we can delegate that to the schnorrkel library
Configuration menu - View commit details
-
Copy full SHA for b4a65d2 - Browse repository at this point
Copy the full SHA b4a65d2View commit details
Commits on Jul 6, 2023
-
Added docs for sr25519_verify()
Docs + example + notes about context set to "substrate"
Configuration menu - View commit details
-
Copy full SHA for 548fe27 - Browse repository at this point
Copy the full SHA 548fe27View commit details -
Added docs to sr25519VerifyFailed error
Helpful for debugging why the error has occurred, as there is only ever one of 3 reasons: invalid public key, invalid message or invalid signature
Configuration menu - View commit details
-
Copy full SHA for 53c2442 - Browse repository at this point
Copy the full SHA 53c2442View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ce47f4 - Browse repository at this point
Copy the full SHA 6ce47f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9cfbf5 - Browse repository at this point
Copy the full SHA b9cfbf5View commit details -
Remove reference on message variable of sr25519_verify()
Not required according to clippy
Configuration menu - View commit details
-
Copy full SHA for a33283e - Browse repository at this point
Copy the full SHA a33283eView commit details -
Clippy embed error in panic statement during metadata execution
Clippy's advice
Configuration menu - View commit details
-
Copy full SHA for 35175bb - Browse repository at this point
Copy the full SHA 35175bbView commit details -
Tested invalid public key, invalid signature, invalid message and valid case
Configuration menu - View commit details
-
Copy full SHA for 7fd25ba - Browse repository at this point
Copy the full SHA 7fd25baView commit details -
Configuration menu - View commit details
-
Copy full SHA for fda5ab1 - Browse repository at this point
Copy the full SHA fda5ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ab85fc - Browse repository at this point
Copy the full SHA 5ab85fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd914df - Browse repository at this point
Copy the full SHA fd914dfView commit details -
Merge branch 'goastler-add-sr25519_verify' of github.com:prosopo/ink_…
…sr25519 into goastler-add-sr25519_verify
Configuration menu - View commit details
-
Copy full SHA for ae2c65c - Browse repository at this point
Copy the full SHA ae2c65cView commit details
Commits on Jul 18, 2023
-
add parity as author of sr25519 module
Co-authored-by: Green Baneling <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8866fdb - Browse repository at this point
Copy the full SHA 8866fdbView commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 79bea8a - Browse repository at this point
Copy the full SHA 79bea8aView commit details -
Merge branch 'goastler-add-sr25519_verify' of github.com:prosopo/ink_…
…sr25519 into goastler-add-sr25519_verify
Configuration menu - View commit details
-
Copy full SHA for d0c91cf - Browse repository at this point
Copy the full SHA d0c91cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aef6a8 - Browse repository at this point
Copy the full SHA 2aef6a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77c6cea - Browse repository at this point
Copy the full SHA 77c6ceaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e2d23 - Browse repository at this point
Copy the full SHA 97e2d23View commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cf04d6d - Browse repository at this point
Copy the full SHA cf04d6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c500a03 - Browse repository at this point
Copy the full SHA c500a03View commit details
Commits on Aug 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4c3cbc8 - Browse repository at this point
Copy the full SHA 4c3cbc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for bba49ea - Browse repository at this point
Copy the full SHA bba49eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1810468 - Browse repository at this point
Copy the full SHA 1810468View commit details
Commits on Aug 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eeee6d4 - Browse repository at this point
Copy the full SHA eeee6d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77044d2 - Browse repository at this point
Copy the full SHA 77044d2View commit details