-
Notifications
You must be signed in to change notification settings - Fork 65
echonet: ignore attestation reverts #11369
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
echonet: ignore attestation reverts #11369
Conversation
b20afa0 to
ff5551e
Compare
ron-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.
If there are any reverts of this type that happened in mainnet, then they will be shown as reverts that happened in mainnet and not in echonet. We should maybe do the same as you did in echo_center, in the transaction_sender as well.
@ron-starkware made 1 comment.
Reviewable status: 0 of 3 files reviewed, all discussions resolved (waiting on @matanl-starkware).
matanl-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.
+1
@matanl-starkware made 2 comments.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @ayeletstarkware).
echonet/reports.py line 286 at r1 (raw file):
"Attestation wrong block hash", lambda m: "attestation with wrong block hash" in lc(m), ),
Consider leaving them here (maybe with a comment). We might need them in the future, and it's also clearer that "we're aware of this Revert type, but not supposed to find any at the moment"
Code quote:
RevertRule(
"Attestation out of window", lambda m: "attestation is out of window" in lc(m)
),
RevertRule(
"Attestation wrong block hash",
lambda m: "attestation with wrong block hash" in lc(m),
),ff5551e to
416ae8c
Compare
ayeletstarkware
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.
@ayeletstarkware made 1 comment.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @matanl-starkware).
echonet/reports.py line 286 at r1 (raw file):
Previously, matanl-starkware (Matan Lior) wrote…
Consider leaving them here (maybe with a comment). We might need them in the future, and it's also clearer that "we're aware of this Revert type, but not supposed to find any at the moment"
Done.
416ae8c to
e395b7a
Compare
ron-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.
@ron-starkware made 1 comment.
Reviewable status: 0 of 4 files reviewed, 1 unresolved discussion (waiting on @matanl-starkware).
matanl-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.
@matanl-starkware reviewed 4 files and all commit messages, and resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @ayeletstarkware).
No description provided.