chore: remove state loading evm usages with cld-changesets imports#22261
Open
chore: remove state loading evm usages with cld-changesets imports#22261
Conversation
… cld-changesets instead
# Conflicts: # core/scripts/go.sum # deployment/go.mod # deployment/go.sum # integration-tests/go.mod # integration-tests/go.sum # integration-tests/load/go.mod # integration-tests/load/go.sum # system-tests/lib/go.mod # system-tests/lib/go.sum # system-tests/tests/go.mod # system-tests/tests/go.sum
# Conflicts: # core/scripts/go.mod # deployment/ccip/view/view.go # deployment/common/changeset/state.go # deployment/common/changeset/state/evm.go # deployment/cre/capabilities_registry/v2/changeset/update_don.go # deployment/go.mod # integration-tests/go.mod # system-tests/lib/go.mod
Contributor
CORA - Pending ReviewersAll codeowners have approved! ✅ Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown For more details, see the full review summary. |
Contributor
|
✅ No conflicts with other open PRs targeting |
# Conflicts: # deployment/common/proposalutils/propose.go
|
gustavogama-cll
approved these changes
May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Removes the
deployment/common/changesets/state/evm.gofile from the repo and swaps all the usages to imports to thecld-changesetsrepo.AI Summary
This pull request refactors the codebase to use the new
evmstatepackage fromcld-changesets/pkg/family/evminstead of the previouscommon/changeset/statepackage for EVM-related state management. The changes are largely mechanical but affect many files across deployment, shared state, and test code, ensuring a consistent and centralized approach to EVM state handling.Key changes include:
Migration to
evmstatePackageReplaced all imports and usages of
common/changeset/state(and related identifiers such ascommonstate) withevmstatefromcld-changesets/pkg/family/evmacross deployment, shared state, and test files. This includes types likeMCMSWithTimelockState,LinkTokenState, and related state loading functions. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]Updated all relevant function signatures, struct fields, and method implementations to use types and functions from the new
evmstatepackage. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]View Layer Alignment
deployment/ccip/view/view.go) to use theMCMSWithTimelockViewfrom the newmcmsv10package, ensuring consistency with the underlying state changes. [1] [2] [3]These changes help consolidate EVM state logic into a single, maintained package, reducing duplication and the risk of inconsistencies across the codebase.