Skip to content

Commit

Permalink
Adding additional comments
Browse files Browse the repository at this point in the history
  • Loading branch information
b-gopalswami committed Dec 11, 2024
1 parent 93be177 commit 6e89ee6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration-tests/ccip-tests/actions/ccip_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1009,11 +1009,13 @@ func (ccipModule *CCIPCommon) DeployContracts(
ccipModule.BridgeTokenPools = append(ccipModule.BridgeTokenPools, usdcPool)
} else if ccipModule.IsLBTCDeployment() && i == 0 {
rmnContract := *ccipModule.RMNContract
destPoolData, err := hex.DecodeString(LBTCValidDestPoolData)
destPoolData, err := hex.DecodeString(LBTCValidDestPoolData) // valid 32 bytes should call attestation api
if err != nil {
return fmt.Errorf("decoding dest pool data shouldn't fail %w", err)
}
if !pointer.GetBool(ccipModule.LBTCDestPoolDataAs32Bytes) {
// non 32 bytes data should not call attestation api and instead consider it as deposit payload.
// lombard has both attested and non-attested flow
destPoolData = []byte{0x12, 0x34, 0x56, 0x78}
}
//
Expand Down

0 comments on commit 6e89ee6

Please sign in to comment.