-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
charge for ed25519 sig verifies #20639
charge for ed25519 sig verifies #20639
Conversation
Codecov Report
@@ Coverage Diff @@
## master #20639 +/- ##
=======================================
Coverage 81.9% 81.9%
=======================================
Files 495 495
Lines 137701 137770 +69
=======================================
+ Hits 112832 112930 +98
+ Misses 24869 24840 -29 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching that. Very embarrassing. 😳
It could do with a test like fn test_calculate_fee_secp256k1()
for ed25519. Happy to do that, the least I could do..
10a7958
to
8861d09
Compare
Pull request has been modified.
8861d09
to
21a6e0a
Compare
(cherry picked from commit 4beabb3) # Conflicts: # sdk/program/src/message/sanitized.rs
This reverts commit 6fe7c6b.
Problem
Missed charging for ed25519 signatures.
Summary of Changes
Charge for them, no feature gated needed because ed25519 program ids are rejected until that feature is enabled.
Fixes #