Closed ThanhNhann closed 2 months ago
The recent changes introduce new end-to-end test targets and corresponding test functions to simulate and verify the behavior of freezing pending eIBC packets in both EVM and Wasm environments. Additionally, the timeout for test execution has been increased to accommodate slower tests.
Files | Change Summary |
---|---|
Makefile | Added new e2e test targets for freezing pending eIBC packets in EVM and Wasm environments. |
run-e2e.sh | Increased the timeout for test execution from 25 minutes to 30 minutes. |
tests/frozen_test.go | Added new test functions TestRollAppFreezeEibcPending_EVM and TestRollAppFreezeEibcPending_Wasm to simulate and verify freezing behavior. |
sequenceDiagram
participant Tester
participant TestEnv
participant RollApp
participant EVM
participant Wasm
Tester->>+TestEnv: Start end-to-end test
TestEnv->>+RollApp: Setup configurations
RollApp->>+EVM: Create EVM chain
RollApp->>+Wasm: Create Wasm chain
EVM->>RollApp: Chain created
Wasm->>RollApp: Chain created
RollApp->>+TestEnv: Perform IBC transfers
TestEnv->>+RollApp: Submit fraud proposal
RollApp->>+EVM: Freeze EVM chain
RollApp->>+Wasm: Freeze Wasm chain
EVM->>RollApp: Chain frozen
Wasm->>RollApp: Chain frozen
RollApp->>Tester: Verify states and balances
Objective | Addressed | Explanation |
---|---|---|
Simulate freezing scenarios for EVM and Wasm rollapps (#159) | ✅ | |
Verify the behavior of pending eIBC packets during freeze (#159) | ✅ |
In the code where packets freeze,
EVM and Wasm meet with ease,
Tests now run with time to spare,
Fraud proposals handled with care.
Rollapp's state we scrutinize,
Ensuring truth before our eyes.
Celebrate the changes, swift and neat,
With every line, our goals we meet.
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?
Close #159
Summary by CodeRabbit
New Features
Improvements