Closed natebeauregard closed 1 month ago
The pull request introduces enhancements to the Monomer blockchain's end-to-end testing framework. A new test case, "No Rollbacks," is added to monitor block height and detect any rollbacks during execution. Additionally, modifications to the StackConfig
struct and the run
method improve the configuration and lifecycle management of the L2 client, ensuring better control over its operations.
File | Change Summary |
---|---|
e2e/stack.go |
Added SequencerWindowSize uint64 and RollupConfig *rollup.Config to StackConfig . Modified the run method to change L2 client instantiation and include lifecycle management for the L2 client. |
e2e/stack_test.go |
Added new test case "No Rollbacks" with function checkForRollbacks to monitor block height and detect rollbacks. |
e2e/stack_test.go
related to logging enhancements are in the same file as the main PR, indicating a potential overlap in testing framework improvements, although they focus on different functionalities.🐇 In the land of blocks and chains,
A test was born to ease our pains.
No rollbacks here, just steady heights,
With checks in place, we’ll win the fights!
So hop along, let’s cheer and play,
For stability is here to stay! 🌟
[!TIP]
New features
Walkthrough comment now includes: - Possibly related PRs: A list of potentially related PRs to help you recall past context. - Suggested labels: CodeRabbit can now suggest labels by learning from your past PRs. You can also provide custom labeling instructions in the UI or configuration file. Notes: - Please share any feedback in the [discussion post](https://discordapp.com/channels/1134356397673414807/1282535539299323995) on our Discord. - Possibly related PRs, automatic label suggestions based on past PRs, learnings, and possibly related issues require data opt-in (enabled by default).
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
force-pushed to rebase on main
Checks to ensure that the latest monomer block height is never less than the last checked monomer block height.
Rollbacks can be triggered to make the test fail by commenting out this line in stack.go.
Summary by CodeRabbit
New Features
Bug Fixes