Commit f0d68b09 authored by clabby's avatar clabby Committed by GitHub

chore(ctb): Remove `payable` from `resolveClaim` (#10151)

* Remove `payable` from `resolveClaim`

* bindings, locks, etc.
parent 761468ef
This diff is collapsed.
...@@ -112,8 +112,8 @@ ...@@ -112,8 +112,8 @@
"sourceCodeHash": "0x08f34cec56d58ea6ee7a47b5adcbeca6a68a5dd1daa949330b4bde86c2e605f5" "sourceCodeHash": "0x08f34cec56d58ea6ee7a47b5adcbeca6a68a5dd1daa949330b4bde86c2e605f5"
}, },
"src/dispute/FaultDisputeGame.sol": { "src/dispute/FaultDisputeGame.sol": {
"initCodeHash": "0xac2ea3948d07f6f441ae3b2cb5f5fc2f0d3f71af97ffc396ffca1ffc1ccd8b21", "initCodeHash": "0x840cead3853807f27b3fd995d2f0c0ffc2a4a804d9dbd105cceba04e92109e47",
"sourceCodeHash": "0xad80ee61719eb611d2f015f71d95e29bea1013a78f1f2861301809ab440bd52b" "sourceCodeHash": "0x15ec89d7c8751e51e1986d1111c74462adfbd33240bffb273f2f7894a731e5dd"
}, },
"src/dispute/weth/DelayedWETH.sol": { "src/dispute/weth/DelayedWETH.sol": {
"initCodeHash": "0x7b6ec89eaec09e369426e73161a9c6932223bb1f974377190c3f6f552995da35", "initCodeHash": "0x7b6ec89eaec09e369426e73161a9c6932223bb1f974377190c3f6f552995da35",
......
...@@ -455,7 +455,7 @@ ...@@ -455,7 +455,7 @@
], ],
"name": "resolveClaim", "name": "resolveClaim",
"outputs": [], "outputs": [],
"stateMutability": "payable", "stateMutability": "nonpayable",
"type": "function" "type": "function"
}, },
{ {
......
...@@ -465,7 +465,7 @@ ...@@ -465,7 +465,7 @@
], ],
"name": "resolveClaim", "name": "resolveClaim",
"outputs": [], "outputs": [],
"stateMutability": "payable", "stateMutability": "nonpayable",
"type": "function" "type": "function"
}, },
{ {
......
...@@ -88,8 +88,8 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, ISemver { ...@@ -88,8 +88,8 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, ISemver {
OutputRoot public startingOutputRoot; OutputRoot public startingOutputRoot;
/// @notice Semantic version. /// @notice Semantic version.
/// @custom:semver 0.13.0 /// @custom:semver 0.14.0
string public constant version = "0.13.0"; string public constant version = "0.14.0";
/// @param _gameType The type ID of the game. /// @param _gameType The type ID of the game.
/// @param _absolutePrestate The absolute prestate of the instruction trace. /// @param _absolutePrestate The absolute prestate of the instruction trace.
...@@ -379,7 +379,7 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, ISemver { ...@@ -379,7 +379,7 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, ISemver {
} }
/// @inheritdoc IFaultDisputeGame /// @inheritdoc IFaultDisputeGame
function resolveClaim(uint256 _claimIndex) external payable { function resolveClaim(uint256 _claimIndex) external {
// INVARIANT: Resolution cannot occur unless the game is currently in progress. // INVARIANT: Resolution cannot occur unless the game is currently in progress.
if (status != GameStatus.IN_PROGRESS) revert GameNotInProgress(); if (status != GameStatus.IN_PROGRESS) revert GameNotInProgress();
......
...@@ -60,7 +60,7 @@ interface IFaultDisputeGame is IDisputeGame { ...@@ -60,7 +60,7 @@ interface IFaultDisputeGame is IDisputeGame {
/// A subgame root claims is valid if, and only if, all of its child claims are invalid. /// A subgame root claims is valid if, and only if, all of its child claims are invalid.
/// At the deepest level in the DAG, a claim is invalid if there's a successful step against it. /// At the deepest level in the DAG, a claim is invalid if there's a successful step against it.
/// @param _claimIndex The index of the subgame root claim to resolve. /// @param _claimIndex The index of the subgame root claim to resolve.
function resolveClaim(uint256 _claimIndex) external payable; function resolveClaim(uint256 _claimIndex) external;
/// @notice The l2BlockNumber of the disputed output root in the `L2OutputOracle`. /// @notice The l2BlockNumber of the disputed output root in the `L2OutputOracle`.
function l2BlockNumber() external view returns (uint256 l2BlockNumber_); function l2BlockNumber() external view returns (uint256 l2BlockNumber_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment