Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the unit test of clock #42

Merged
merged 6 commits into from
Jul 27, 2024
Merged

fix the unit test of clock #42

merged 6 commits into from
Jul 27, 2024

Conversation

JustXxx
Copy link

@JustXxx JustXxx commented Jul 21, 2024

forge test --mc FaultDisputeGameN_Test --mt .clock.

@JustXxx JustXxx requested review from qizhou and dajuguan July 21, 2024 03:37
assertEq(clock.raw(), LibClock.wrap(Duration.wrap(0), Timestamp.wrap(uint64(block.timestamp))).raw());

Claim claim = _dummyClaim();
uint256 splitDepth = gameProxy.splitDepth();

Choose a reason for hiding this comment

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

Maybe remove unused splitDepth?

Copy link
Author

Choose a reason for hiding this comment

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

removed

@JustXxx JustXxx merged commit f1c8ca8 into develop Jul 27, 2024
2 checks passed
@JustXxx JustXxx deleted the bill/unittest_for_clock branch July 27, 2024 02:56
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