Skip to content

Commit

Permalink
chore(contracts): nits
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Jan 17, 2025
1 parent 3abe31d commit 5ecb9db
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions contracts/src/OPSuccinctDisputeGame.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ contract OPSuccinctDisputeGame is ISemver, CWIA, IDisputeGame {
using LibBytes for bytes;

/// @notice The address of the L2 output oracle proxy contract.
address internal immutable l2OutpoutOracle;
address internal immutable l2OutputOracle;

/// @notice The timestamp of the game's global creation.
Timestamp public createdAt;
Expand All @@ -28,8 +28,8 @@ contract OPSuccinctDisputeGame is ISemver, CWIA, IDisputeGame {
/// @custom:semver v1.0.0-beta
string public constant version = "v1.0.0-beta";

constructor(address _l2OutpoutOracle) {
l2OutpoutOracle = _l2OutpoutOracle;
constructor(address _l2OutputOracle) {
l2OutputOracle = _l2OutputOracle;
}

////////////////////////////////////////////////////////////
Expand All @@ -43,9 +43,7 @@ contract OPSuccinctDisputeGame is ISemver, CWIA, IDisputeGame {
(uint256 l2BlockNumber, uint256 l1BlockNumber, bytes memory proof) =
abi.decode(extraData(), (uint256, uint256, bytes));

OPSuccinctL2OutputOracle(l2OutpoutOracle).proposeL2Output(
rootClaim().raw(), l2BlockNumber, l1BlockNumber, proof
);
OPSuccinctL2OutputOracle(l2OutputOracle).proposeL2Output(rootClaim().raw(), l2BlockNumber, l1BlockNumber, proof);

this.resolve();
}
Expand Down

0 comments on commit 5ecb9db

Please sign in to comment.