Skip to content

Commit 0ecf22b

Browse files
committed
ArbDebug: add overwriteContractCode interface
1 parent 0202f1f commit 0ecf22b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ArbDebug.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ interface ArbDebug {
1212
/// @notice Caller becomes a chain owner
1313
function becomeChainOwner() external;
1414

15+
/// @notice Overwrite an existing contract's code
16+
function overwriteContractCode(address target, bytes calldata newCode) external returns (bytes memory oldCode);
17+
1518
/// @notice Emit events with values based on the args provided
1619
function events(bool flag, bytes32 value) external payable returns (address, uint256);
1720

0 commit comments

Comments
 (0)