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

feat: update OP_SUCCINCT game type #338

Merged
merged 2 commits into from
Jan 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions contracts/src/OPSuccinctDisputeGame.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ contract OPSuccinctDisputeGame is ISemver, CWIA, IDisputeGame {
/// i.e. The game type should indicate the security model.
/// @return gameType_ The type of proof system being used.
function gameType() public pure returns (GameType) {
// TODO: Once the following PR https://github.com/ethereum-optimism/optimism/pull/13780 is merged,
// TODO: Once a new version of the Optimism contracts containing the PR below is released,
fakedev9999 marked this conversation as resolved.
Show resolved Hide resolved
// update this to return the correct game type: GameTypes.OP_SUCCINCT
return GameType.wrap(3);
// https://github.com/ethereum-optimism/optimism/pull/13780
return GameType.wrap(6);
}

/// @notice Getter for the creator of the dispute game.
Expand Down
Loading