Skip to content

Conversation

@agusaldasoro
Copy link
Contributor

@agusaldasoro agusaldasoro commented Jan 19, 2026

This pull request removes support for ERC677 and BurnMintERC677 token deployments from the EVM deployment codebase, updates related documentation and tests, and switches contract bindings to use explicit versioned packages instead of "latest". These changes simplify the token deployment logic and improve maintainability by ensuring consistent contract versions.

Copied the mock_usdc_token_messenger and mock_usdc_token_transmitter folders to their corresponding folder so they can be referenced without using latest.

@github-actions
Copy link

Metric fix-tooling main
Coverage 70.3% 70.0%


"github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/utils/operations/contract"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/factory_burn_mint_erc20"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_5_1/factory_burn_mint_erc20"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no smaller version of that binding, is this okay?

@agusaldasoro agusaldasoro marked this pull request as ready for review January 19, 2026 20:05
@agusaldasoro agusaldasoro requested review from a team as code owners January 19, 2026 20:05
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

This PR refactors the EVM deployment codebase to remove support for ERC677 and BurnMintERC677 token types, and transitions from using "latest" contract bindings to explicit versioned package imports. This improves maintainability by ensuring consistent contract versions and simplifies the token deployment logic.

Changes:

  • Removed ERC677 and BurnMintERC677 token deployment support from token sequences and tests
  • Updated import paths from latest to specific versions (v1_5_0, v1_5_1, v1_6_0, v1_6_2, v1_6_4)
  • Fixed type conversion issues in ping_pong_dapp operations

Reviewed changes

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

Show a summary per file
File Description
chains/evm/deployment/v1_6_4/changesets/usdc_token_pool_cctp_v2_deploy_test.go Updated imports to use versioned bindings instead of latest
chains/evm/deployment/v1_6_4/changesets/set_domains_test.go Updated imports to use versioned bindings instead of latest
chains/evm/deployment/v1_6_4/changesets/modify_remote_pools_test.go Updated factory_burn_mint_erc20 import to v1_5_1
chains/evm/deployment/v1_6_4/changesets/apply_chain_updates_test.go Moved factory_burn_mint_erc20 import from latest to v1_6_2
chains/evm/deployment/v1_6_0/sequences/token_test.go Removed ERC677 and BurnMintERC677 test cases and imports
chains/evm/deployment/v1_6_0/sequences/token.go Removed ERC677 and BurnMintERC677 deployment logic and updated comments
chains/evm/deployment/v1_6_0/operations/ping_pong_dapp/ping_pong_dapp.go Updated binding import to v1_5_0 and added BytesToAddress conversions
chains/evm/deployment/v1_0_0/sequences/mcms.go Updated burn_mint_erc677 import to initial version
chains/evm/deployment/v1_0_0/operations/factory_burn_mint_erc20/factory_burn_mint_erc20.go Updated import to v1_5_1
chains/evm/deployment/v1_0_0/operations/erc677/erc677.go Deleted entire file (removed ERC677 deployment operation)
chains/evm/deployment/v1_0_0/operations/burn_mint_erc677/burn_mint_erc677.go Deleted entire file (removed BurnMintERC677 deployment operation)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/latest/factory_burn_mint_erc20"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_5_1/burn_mint_token_pool"
token_pool_bindings "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_5_1/token_pool"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_2/factory_burn_mint_erc20"
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

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

The factory_burn_mint_erc20 import is using v1_6_2 here, but in modify_remote_pools_test.go (line 25) the same package is imported from v1_5_1. This inconsistency in versioning across test files could lead to unexpected behavior. Consider standardizing to the same version across all test files in the v1_6_4 changesets directory.

Suggested change
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_2/factory_burn_mint_erc20"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_5_1/factory_burn_mint_erc20"

Copilot uses AI. Check for mistakes.
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.

1 participant