-
Notifications
You must be signed in to change notification settings - Fork 65
apollo_l1_provider: add verification that tx is pending when getting it from proposable index #10511
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
apollo_l1_provider: add verification that tx is pending when getting it from proposable index #10511
Conversation
fb641ce to
f3f2c47
Compare
8f322a9 to
977f627
Compare
f3f2c47 to
5363593
Compare
977f627 to
aaa8741
Compare
5363593 to
8a1a721
Compare
sirandreww-starkware
left a comment
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.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @guy-starkware)
crates/apollo_l1_provider/src/transaction_manager.rs line 95 at r1 (raw file):
record.state ); }
use assert_ne
Code quote:
if record.state != TransactionState::Pending {
panic!(
"Transaction {tx_hash} has state {:?}. Only Pending transactions should be in \
the proposable index.",
record.state
);
}
guy-starkware
left a comment
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.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @sirandreww-starkware)
crates/apollo_l1_provider/src/transaction_manager.rs line 95 at r1 (raw file):
Previously, sirandreww-starkware (Andrew Luka) wrote…
use assert_ne
I think you mean assert_eq! but either way, Done.
8a1a721 to
a3efc8e
Compare
sirandreww-starkware
left a comment
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.
Reviewable status: 0 of 3 files reviewed, all discussions resolved
crates/apollo_l1_provider/src/transaction_manager.rs line 95 at r1 (raw file):
Previously, guy-starkware wrote…
I think you mean assert_eq! but either way, Done.
yes, sorry
a3efc8e to
b29880f
Compare
aaa8741 to
73c16c9
Compare
73c16c9 to
897dc8e
Compare
b29880f to
4ed08e0
Compare
ShahakShama
left a comment
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.
@ShahakShama reviewed 2 of 3 files at r1, 1 of 1 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)
…it from proposable index
4ed08e0 to
1e11f57
Compare
Merge activity
|

No description provided.