Skip to content

test: add test cases for handling l1 events and l1 reorg#428

Merged
yiweichi merged 93 commits intomainfrom
morty-add-anvil-to-test-fixture
Feb 6, 2026
Merged

test: add test cases for handling l1 events and l1 reorg#428
yiweichi merged 93 commits intomainfrom
morty-add-anvil-to-test-fixture

Conversation

@yiweichi
Copy link
Member

@yiweichi yiweichi commented Nov 18, 2025

This PR adds test cases for handling l1 events and l1 reorg.

  • added test cases to test the behavior of RN when handling BatchCommit, BatchFinalized and BatchRevertRange events in different sync mode.
  • added test cases to test the behavior of RN when handling L1 block reorg with BatchCommit, BatchFinalized and BatchRevertRange events.

Fixes #420, #141

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 18, 2025

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing morty-add-anvil-to-test-fixture (7b3d881) with main (76f9c0c)

Summary

✅ 2 untouched benchmarks

yiweichi and others added 9 commits January 7, 2026 18:50
* shutdown refactor

* clean up

* use unused ports of anvil and run tests concurrently
Copy link
Collaborator

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

Looks good! Added some comments inline.

@yiweichi yiweichi requested a review from frisitano February 5, 2026 17:48
frisitano
frisitano previously approved these changes Feb 6, 2026
Copy link
Collaborator

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

looks goood. left a few small comments inline.

Copy link
Collaborator

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

nice work, lgtm!

@yiweichi yiweichi merged commit 41ca6c3 into main Feb 6, 2026
17 of 18 checks passed
@yiweichi yiweichi deleted the morty-add-anvil-to-test-fixture branch February 6, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Testing] Test multi-mode L1

4 participants