-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Reject durable nonce txs that don't use an advanceable nonce #25832
Reject durable nonce txs that don't use an advanceable nonce #25832
Conversation
26c8d83
to
e351678
Compare
e351678
to
7f13e4e
Compare
7f13e4e
to
b28f03a
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
* Reject durable nonce txs that use the latest durable nonce hash * feedback (cherry picked from commit 6a7edc0) # Conflicts: # runtime/src/bank.rs # sdk/src/feature_set.rs
* Reject durable nonce txs that use the latest durable nonce hash * feedback (cherry picked from commit 6a7edc0) # Conflicts: # sdk/src/feature_set.rs
* Reject durable nonce txs that use the latest durable nonce hash * feedback
these were still effectively rejected, but with an |
This PR will reject invalid durable nonce transactions from being added to a block. It doesn't impact how transactions are processed if they are included in a block. So no, it will not be an instruction error, it will be a transaction error that, if detected, will invalidate the full block. |
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
…labs#25832) * Reject durable nonce txs that use the latest durable nonce hash * feedback
Problem
Durable nonce transactions that use the latest durable nonce hash will not result in the nonce account's nonce hash being advanced.
Summary of Changes
Add feature to reject durable nonce transactions that use the latest durable nonce hash
Feature Gate Issue: #25836