Skip to content

Bump cl-common import and update GetFeeQuoterTokenUpdates#190

Merged
ogtownsend merged 10 commits intomainfrom
ogt/bump-cl-common-import
Sep 30, 2025
Merged

Bump cl-common import and update GetFeeQuoterTokenUpdates#190
ogtownsend merged 10 commits intomainfrom
ogt/bump-cl-common-import

Conversation

@ogtownsend
Copy link
Collaborator

@ogtownsend ogtownsend commented Sep 15, 2025

@ogtownsend ogtownsend force-pushed the ogt/bump-cl-common-import branch from ea1ff1c to 9c9b313 Compare September 15, 2025 20:54
@archseer
Copy link
Collaborator

You probably need changes from the dest-accessor branch

@ogtownsend ogtownsend force-pushed the ogt/bump-cl-common-import branch 2 times, most recently from 20276be to 0e80800 Compare September 19, 2025 01:27
@ogtownsend ogtownsend force-pushed the ogt/bump-cl-common-import branch from 0e80800 to 85adeec Compare September 19, 2025 01:44
@ogtownsend ogtownsend changed the title Bump cl-common import Bump cl-common import and update GetFeeQuoterTokenUpdates Sep 19, 2025
@ogtownsend ogtownsend force-pushed the ogt/bump-cl-common-import branch 7 times, most recently from 0338f58 to 145ae60 Compare September 19, 2025 17:22
@ogtownsend ogtownsend marked this pull request as ready for review September 19, 2025 20:07
@ogtownsend ogtownsend requested a review from a team as a code owner September 19, 2025 20:07
Copilot AI review requested due to automatic review settings September 19, 2025 20:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates chainlink-common import to a newer version and refactors CCIP code to use the updated API, particularly changing from ExtraDataCodec to ExtraDataCodecBundle and ExtraDataCodecMap. The changes also fix parameter types in the GetFeeQuoterTokenUpdates method.

  • Updates chainlink-common and chainlink-ccip dependencies to newer versions
  • Refactors ExtraDataCodec usage to new API types (ExtraDataCodecBundle/ExtraDataCodecMap)
  • Updates GetFeeQuoterTokenUpdates parameter type from UnknownEncodedAddress to UnknownAddress

Reviewed Changes

Copilot reviewed 11 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/.core_version Updates core version reference
pkg/ccip/ocr/contract_transmitter.go Reorganizes import order for chainlink-common logger
pkg/ccip/codec/msghasher_test.go Updates test code to use ExtraDataCodecMap instead of ExtraDataCodec
pkg/ccip/codec/msghasher.go Changes type from ExtraDataCodec to ExtraDataCodecBundle
pkg/ccip/codec/executecodec_test.go Updates test to use ExtraDataCodecMap
pkg/ccip/codec/executecodec.go Changes type from ExtraDataCodec to ExtraDataCodecBundle
pkg/ccip/chainaccessor/ton_accessor.go Updates GetFeeQuoterTokenUpdates method signature and implementation
integration-tests/go.mod Updates dependency versions
go.mod Updates dependency versions
deployment/go.mod Updates dependency versions
cmd/chainlink-ton/lock.nix Updates hash for chainlink-ton

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

ctx context.Context,
tokens []ccipocr3.UnknownEncodedAddress,
chain ccipocr3.ChainSelector,
tokens []ccipocr3.UnknownAddress,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @archseer and @huangzhen1997 for these changes

@ogtownsend ogtownsend force-pushed the ogt/bump-cl-common-import branch from a6632d6 to 530abcf Compare September 19, 2025 20:48
@ogtownsend ogtownsend force-pushed the ogt/bump-cl-common-import branch 2 times, most recently from be4ac81 to b5cbcae Compare September 26, 2025 21:30
@ogtownsend ogtownsend force-pushed the ogt/bump-cl-common-import branch from b5cbcae to 78c9ecd Compare September 28, 2025 01:20
var offRampAddrStr string
var err error

// NOTE: provider can still be initialized with an EVM offramp address, and AddressBytesToString will fail on addresses with len=20
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because of historical reasons, we instantiated CW for source chains so we'd be able to get fee estimations. I think we should change the logic and pass through an empty value here then avoid starting ContractTransmitter.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NONEVM-2674

@@ -1 +1 @@
77192d2721035b159f3cf46875445bf825971f73
ogt/ccip-add-extradatacodec-registry-oracle-creator-v3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just leaving a note here so we don’t forget to update this to the fixed commit hash later.

@ogtownsend ogtownsend marked this pull request as ready for review September 30, 2025 19:57
@ogtownsend ogtownsend force-pushed the ogt/bump-cl-common-import branch from 0a06c95 to 0f21fca Compare September 30, 2025 21:43
Copy link
Collaborator

@jadepark-dev jadepark-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ogtownsend ogtownsend enabled auto-merge (squash) September 30, 2025 22:12
@ogtownsend ogtownsend merged commit ce57bba into main Sep 30, 2025
29 checks passed
@ogtownsend ogtownsend deleted the ogt/bump-cl-common-import branch September 30, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants