Skip to content

Commit

Permalink
feat: CCIP-2612 set code inline comments for trialExecute error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
defistar committed Jul 11, 2024
1 parent 1c9ef91 commit 74869f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/src/v0.8/ccip/offRamp/EVM2EVMMultiOffRamp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 74869f4

Please sign in to comment.