From 993955931a58ca77b79d28835a373ec7de56cb16 Mon Sep 17 00:00:00 2001 From: Joe Huang Date: Wed, 29 Jan 2025 14:20:31 -0600 Subject: [PATCH] add comment --- core/capabilities/ccip/ccipevm/helpers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/capabilities/ccip/ccipevm/helpers.go b/core/capabilities/ccip/ccipevm/helpers.go index e8e4bd37c86..a00eed968a8 100644 --- a/core/capabilities/ccip/ccipevm/helpers.go +++ b/core/capabilities/ccip/ccipevm/helpers.go @@ -80,6 +80,7 @@ func DecodeExtraArgsToMap(extraArgs []byte) (map[string]any, error) { case string(svmExtraArgsV1Tag): // for SVMExtraArgs there's the four bytes plus another 32 bytes padding for the dynamic array // https://github.com/smartcontractkit/chainlink/blob/33c0bda696b0ed97f587a46eacd5c65bed9fb2c1/contracts/src/v0.8/ccip/libraries/Client.sol#L57 + // this is a temporary solution, the evm on-chain side will fix it, so the offset should just be 4 instead of 36 method = svmV1DecodeName extraByteOffset = 36 default: