Update default token pool version from 1.5.1 to 1.6.1#21202
Update default token pool version from 1.5.1 to 1.6.1#21202b-gopalswami wants to merge 1 commit intodevelopfrom
Conversation
|
👋 b-gopalswami, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
There was a problem hiding this comment.
Pull request overview
This PR updates the default token pool version from 1.5.1 to 1.6.1 in the CCIP deployment configuration. The change modifies a single variable that determines which version of token pool contracts should be used as the current default across the CCIP deployment system.
Changes:
- Updated
CurrentTokenPoolVersionconstant fromdeployment.Version1_5_1todeployment.Version1_6_1
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ) | ||
|
|
||
| var CurrentTokenPoolVersion = deployment.Version1_5_1 | ||
| var CurrentTokenPoolVersion = deployment.Version1_6_1 |
There was a problem hiding this comment.
Updating CurrentTokenPoolVersion to 1.6.1 creates an inconsistency with hardcoded version references in deployment/ccip/changeset/cs_prerequisites.go. That file deploys new token pools with Version1_5_1 hardcoded (lines 867, 913, 958, 1006, 1201, 1315), but retrieves existing pools using CurrentTokenPoolVersion (lines 211, 216, 221, 226). This means newly deployed pools will have version 1.5.1 but will not be found when searched using CurrentTokenPoolVersion (which is now 1.6.1). The hardcoded Version1_5_1 references should be changed to use shared.CurrentTokenPoolVersion instead.
| var CurrentTokenPoolVersion = deployment.Version1_6_1 | |
| var CurrentTokenPoolVersion = deployment.Version1_5_1 |
|





Requires
Supports