Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhen1997 committed Jan 29, 2025
1 parent fc7f0f7 commit 9939559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/capabilities/ccip/ccipevm/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9939559

Please sign in to comment.