Skip to content

Commit

Permalink
feat(contracts): update OP_SUCCINCT game type (#338)
Browse files Browse the repository at this point in the history
* feat: update OP_SUCCINCT game type

* more clear comment
  • Loading branch information
leruaa authored Jan 17, 2025
1 parent 5ecb9db commit 2817295
Showing 1 changed file with 3 additions and 2 deletions.
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,
// 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

0 comments on commit 2817295

Please sign in to comment.