Skip to content

Commit

Permalink
ArbDebug: add support to test revert-packaging-output
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee committed Sep 10, 2024
1 parent 23fc796 commit 2950fe3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/precompiles/ArbDebug.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ interface ArbDebug {

function legacyError() external pure;

// emulates the same behaviour
function emulateRevertPackingOutput() external view returns (uint8);

// reverts packaging output
function revertPackingOutput() external view returns (uint8);

error Custom(uint64, string, bool);
error Unused();
}

0 comments on commit 2950fe3

Please sign in to comment.