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

Adapt FaultDisputeN_1v1_Actors_Test for nary=2 #51

Merged
merged 6 commits into from
Sep 13, 2024
Merged

Conversation

dajuguan
Copy link

@dajuguan dajuguan commented Aug 4, 2024

Changes

  1. rename moveDirection to attackBranch
  2. add _counterTrace to solve the DA problem of getting counter's sub claims
  3. add DA proof in _handleStepMove
  4. generalize AlphabetVM.sol and FaultDisputeGame.t.sol for SPLIT_DEPTH and MAX_GAME_DEPTH
  5. generalize for multi-section fault proof when nary >= 2
  6. find a bug in _findTraceAncestorV2 of faultDisputeGameN.sol

Test

forge test --mc FaultDisputeN_1v1_Actors_Test -vvv

@dajuguan dajuguan requested review from qizhou and JustXxx August 4, 2024 19:00
2.fix bugs in handleStepMove
3.fix a bug in _findTraceAncestorV2
@dajuguan dajuguan merged commit 8ab0927 into develop Sep 13, 2024
1 of 2 checks passed
@dajuguan dajuguan deleted the po/develop branch September 13, 2024 13:41
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.

2 participants