Skip to content
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

Only warn if we hit an issue polling for batch reverts #1892

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

PlasmaPower
Copy link
Collaborator

We saw this on a testnet where we got the "wrong range" error because a reorg meant the block number went backwards. An error here is fine, because we'll just retry polling this block again next iteration. It could also happen for other reasons, like an unreliable L1 node. Therefore, I think a warning is more appropriate here.

@PlasmaPower PlasmaPower requested a review from anodar September 27, 2023 23:43
@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Sep 27, 2023
Copy link
Member

@joshuacolvin0 joshuacolvin0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PlasmaPower PlasmaPower added this pull request to the merge queue Sep 28, 2023
@PlasmaPower PlasmaPower removed this pull request from the merge queue due to the queue being cleared Sep 28, 2023
@PlasmaPower PlasmaPower merged commit 8c8ee4d into master Sep 28, 2023
7 checks passed
@PlasmaPower PlasmaPower deleted the revert-poll-only-warn branch September 28, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants