From 74869f457b7a8bfe211a6934f6e4625268c94c48 Mon Sep 17 00:00:00 2001 From: defistar Date: Thu, 11 Jul 2024 15:11:34 +0530 Subject: [PATCH] feat: CCIP-2612 set code inline comments for trialExecute error handling --- contracts/src/v0.8/ccip/offRamp/EVM2EVMMultiOffRamp.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/src/v0.8/ccip/offRamp/EVM2EVMMultiOffRamp.sol b/contracts/src/v0.8/ccip/offRamp/EVM2EVMMultiOffRamp.sol index e50e4ba8f1..f3174dfe0c 100644 --- a/contracts/src/v0.8/ccip/offRamp/EVM2EVMMultiOffRamp.sol +++ b/contracts/src/v0.8/ccip/offRamp/EVM2EVMMultiOffRamp.sol @@ -467,6 +467,7 @@ contract EVM2EVMMultiOffRamp is ITypeAndVersion, MultiOCR3Base { try this.executeSingleMessage(message, offchainTokenData) {} catch (bytes memory err) { // return the message execution state as FAILURE and the revert data + // Max length of revert data is Router.MAX_RET_BYTES, max length of err is 4 + Router.MAX_RET_BYTES return (Internal.MessageExecutionState.FAILURE, err); } // If message execution succeeded, no CCIP receiver return data is expected, return with empty bytes.