Skip to content

Commit

Permalink
feat: add old dispute game address to event
Browse files Browse the repository at this point in the history
  • Loading branch information
maurelian committed Feb 11, 2025
1 parent 14772a1 commit 5797bad
Show file tree
Hide file tree
Showing 8 changed files with 981 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ interface IOPContractsManager {
/// @notice Emitted when a new game type is added to a chain
/// @param l2ChainId Chain ID of the chain
/// @param gameType Type of the game being added
/// @param disputeGame Address of the deployed dispute game
/// @param delayedWETH Address of the WETH contract used by the game
event GameTypeAdded(uint256 indexed l2ChainId, GameType indexed gameType, IDisputeGame disputeGame, IDelayedWETH delayedWETH);
/// @param newDisputeGame Address of the deployed dispute game
/// @param oldDisputeGame Address of the old dispute game
event GameTypeAdded(uint256 indexed l2ChainId, GameType indexed gameType, IDisputeGame newDisputeGame, IDisputeGame oldDisputeGame);

// -------- Errors --------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -768,13 +768,13 @@
{
"indexed": false,
"internalType": "contract IDisputeGame",
"name": "disputeGame",
"name": "newDisputeGame",
"type": "address"
},
{
"indexed": false,
"internalType": "contract IDelayedWETH",
"name": "delayedWETH",
"internalType": "contract IDisputeGame",
"name": "oldDisputeGame",
"type": "address"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -768,13 +768,13 @@
{
"indexed": false,
"internalType": "contract IDisputeGame",
"name": "disputeGame",
"name": "newDisputeGame",
"type": "address"
},
{
"indexed": false,
"internalType": "contract IDelayedWETH",
"name": "delayedWETH",
"internalType": "contract IDisputeGame",
"name": "oldDisputeGame",
"type": "address"
}
],
Expand Down
Loading

0 comments on commit 5797bad

Please sign in to comment.