Skip to content

Commit d211fdd

Browse files
committed
feat: add sp1Verifier() getter to OPSuccinctFaultDisputeGame
1 parent 51fe250 commit d211fdd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contracts/src/fp/OPSuccinctFaultDisputeGame.sol

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,11 @@ contract OPSuccinctFaultDisputeGame is Clone, ISemver, IDisputeGame {
641641
disputeGameFactory_ = DISPUTE_GAME_FACTORY;
642642
}
643643

644+
/// @notice Returns the SP1 verifier contract.
645+
function sp1Verifier() external view returns (ISP1Verifier verifier_) {
646+
verifier_ = SP1_VERIFIER;
647+
}
648+
644649
/// @notice Returns the rollup config hash.
645650
function rollupConfigHash() external view returns (bytes32 rollupConfigHash_) {
646651
rollupConfigHash_ = ROLLUP_CONFIG_HASH;

0 commit comments

Comments
 (0)