From 2950fe3a1fac64850e69ade0ecf3a58350894e07 Mon Sep 17 00:00:00 2001 From: Tsahi Zidenberg Date: Mon, 9 Sep 2024 18:55:51 -0600 Subject: [PATCH] ArbDebug: add support to test revert-packaging-output --- src/precompiles/ArbDebug.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/precompiles/ArbDebug.sol b/src/precompiles/ArbDebug.sol index 01ee127a..8f895454 100644 --- a/src/precompiles/ArbDebug.sol +++ b/src/precompiles/ArbDebug.sol @@ -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(); }