Skip to content

Conversation

@JustXxx
Copy link

@JustXxx JustXxx commented Jul 31, 2024

forge test --mc FaultDisputeGameN_Test --mt .resol.

Ran 19 tests for test/dispute/FaultDisputeGameN.t.sol:FaultDisputeGameN_Test
[PASS] test_resolution_lastSecondDisputes_succeeds() (gas: 973460)
[PASS] test_resolve_bondPayoutsSeveralActors_succeeds() (gas: 1407849)
[PASS] test_resolve_bondPayouts_succeeds() (gas: 1401801)
[PASS] test_resolve_challengeContested_succeeds() (gas: 770873)
[PASS] test_resolve_claimAlreadyResolved_reverts() (gas: 639421)
[PASS] test_resolve_claimAtMaxDepthAlreadyResolved_reverts() (gas: 1011289)
[PASS] test_resolve_invalidStateSameAnchor_succeeds() (gas: 467753)
[PASS] test_resolve_leftmostBondPayout_succeeds() (gas: 1596079)
[PASS] test_resolve_multiPart_succeeds() (gas: 404554096)
[PASS] test_resolve_notInProgress_reverts() (gas: 9843)
[PASS] test_resolve_outOfOrderResolution_reverts() (gas: 478913)
[PASS] test_resolve_rootContested_succeeds() (gas: 456566)
[PASS] test_resolve_rootUncontestedButUnresolved_reverts() (gas: 15914)
[PASS] test_resolve_rootUncontestedClockNotExpired_succeeds() (gas: 21123)
[PASS] test_resolve_rootUncontested_succeeds() (gas: 169887)
[PASS] test_resolve_stepReached_succeeds() (gas: 1341777)
[PASS] test_resolve_teamDeathmatch_succeeds() (gas: 1191023)
[PASS] test_resolve_validNewerStateUpdatesAnchor_succeeds() (gas: 180925)
[PASS] test_resolve_validOlderStateSameAnchor_succeeds() (gas: 152057)
Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 651.98ms (338.03ms CPU time)

@JustXxx JustXxx requested review from dajuguan and qizhou July 31, 2024 01:21
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.

@JustXxx JustXxx merged commit 6afc90f into develop Aug 4, 2024
@JustXxx JustXxx deleted the bill/unittest_for_resolve branch August 4, 2024 08:17
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.

3 participants