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

Fix tx OOC (node level) when first empty L2 block in batch #3744

Merged
merged 4 commits into from
Aug 2, 2024

Conversation

agnusmor
Copy link
Contributor

What does this PR do?

Fix tx OOC (node level) when first empty L2 block in batch

Reviewers

Main reviewers:

@tclemos
@joanestebanr

@agnusmor agnusmor added cherry-picked Content has been cherry-picked into a higher version branch zkevm-seq-agg labels Jul 31, 2024
@agnusmor agnusmor added this to the v0.7.2 milestone Jul 31, 2024
@agnusmor agnusmor self-assigned this Jul 31, 2024
@cla-bot cla-bot bot added the cla-signed label Jul 31, 2024
Copy link
Contributor

@tclemos tclemos left a comment

Choose a reason for hiding this comment

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

The solution to the problem seems ok, but the PR is lacking tests.

It would be good to have these scenarios:

  • OOC for the first empty block
  • OOC for any other block than the first

both checking the TX was invalidated and removed from the worker

I'll keep it approved in case we need this, but if the fix is not urgent, I recommend adding those tests.

@agnusmor agnusmor merged commit adf526c into release/v0.7.2 Aug 2, 2024
17 checks passed
@agnusmor agnusmor deleted the fix/ooc-first-block branch August 2, 2024 12:17
giskook pushed a commit to okx/xlayer-node that referenced this pull request Aug 7, 2024
…Hermez#3744)

* Fix tx OOC (node level) for first empty L2 block in batch

* change log level for ooc (node level) when adding tx to the worker

* fix check OOC (node level) when preexecuting the tx in RPC

* Fix linter and test
agnusmor added a commit that referenced this pull request Aug 12, 2024
* Fix tx OOC (node level) for first empty L2 block in batch

* change log level for ooc (node level) when adding tx to the worker

* fix check OOC (node level) when preexecuting the tx in RPC

* Fix linter and test
agnusmor added a commit that referenced this pull request Aug 12, 2024
…3764)

* Fix tx OOC (node level) for first empty L2 block in batch

* change log level for ooc (node level) when adding tx to the worker

* fix check OOC (node level) when preexecuting the tx in RPC

* Fix linter and test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked Content has been cherry-picked into a higher version branch cla-signed zkevm-seq-agg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants