Skip to content

Conversation

@JustXxx
Copy link

@JustXxx JustXxx commented Jul 29, 2024

forge test --mc FaultDisputeGameN_Test --mt .move.

Ran 15 tests for test/dispute/FaultDisputeGameN.t.sol:FaultDisputeGameN_Test
[PASS] test_move_clockCorrectness_succeeds() (gas: 915771)
[PASS] test_move_clockExtensionCorrectnessSplitGrandChild_succeeds() (gas: 259801)
[PASS] test_move_clockTimeExceeded_reverts() (gas: 48804)
[PASS] test_move_correctStatusExecRootForLastAttackBranch_succeeds() (gas: 662122)
[PASS] test_move_correctStatusExecRoot_succeeds() (gas: 681330)
[PASS] test_move_defendRoot_reverts() (gas: 29737)
[PASS] test_move_duplicateClaim_reverts() (gas: 265389)
[PASS] test_move_duplicateClaimsDifferentSubgames_succeeds() (gas: 841908)
[PASS] test_move_gameDepthExceeded_reverts() (gas: 913853)
[PASS] test_move_gameNotInProgress_reverts() (gas: 26248)
[PASS] test_move_incorrectBondAmount_reverts() (gas: 33335)
[PASS] test_move_incorrectDisputedIndex_reverts() (gas: 267329)
[PASS] test_move_incorrectStatusExecRoot_reverts() (gas: 488720)
[PASS] test_move_nonExistentParent_reverts() (gas: 25664)
[PASS] test_move_simpleAttack_succeeds() (gas: 264400)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 301.45ms (10.59ms CPU time)

@JustXxx JustXxx requested review from dajuguan and qizhou July 29, 2024 14:19
Copy link

@dajuguan dajuguan left a comment

Choose a reason for hiding this comment

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

All tests passed. LGTM.

@JustXxx JustXxx merged commit 8196c03 into bill/unittest_for_addLocalData Jul 31, 2024
@JustXxx JustXxx deleted the bill/unittest_for_move branch July 31, 2024 01:16
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.

4 participants