-
Notifications
You must be signed in to change notification settings - Fork 956
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
Replay protection contributes to App Hash #3284
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3284 +/- ##
==========================================
+ Coverage 53.79% 53.80% +0.01%
==========================================
Files 314 314
Lines 105784 105828 +44
==========================================
+ Hits 56903 56941 +38
- Misses 48881 48887 +6 ☔ View full report in Codecov by Sentry. |
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.
from my end: basically only missing a rebase on v0.36.1
, and running make fmt
, which CI was complaining about
…d and contributes to the total app hash
Co-authored-by: Tiago Carvalho <[email protected]>
Co-authored-by: Tiago Carvalho <[email protected]>
0b44ee9
to
c7d358c
Compare
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.
LGTM!
* origin/bat/reprot-merklized-commitment: Fix write to storage Only initialize a hasher if necessary Reworking hash concatenation Update crates/core/src/address.rs Update crates/core/src/address.rs changelog [feat]: A commitment to all replay protection entries is now merklized and contributes to the total app hash
* origin/bat/reprot-merklized-commitment: Fix write to storage Only initialize a hasher if necessary Reworking hash concatenation Update crates/core/src/address.rs Update crates/core/src/address.rs changelog [feat]: A commitment to all replay protection entries is now merklized and contributes to the total app hash
Describe your changes
Replay protection entries need to be verifiable and thus should contribute to the app hash. This PR makes a cryptographic commitment to all replay protection entries (the root of some implicit merkle tree) which is itself merklized.
Indicate on which release or other PRs this topic is based on
Checklist before merging to
draft