Skip to content

chore: port zkevm funcs#51

Merged
ajaskolski merged 2 commits intomainfrom
ecpablo/port-zkevm-mcms
May 8, 2026
Merged

chore: port zkevm funcs#51
ajaskolski merged 2 commits intomainfrom
ecpablo/port-zkevm-mcms

Conversation

@ecPablo
Copy link
Copy Markdown
Contributor

@ecPablo ecPablo commented May 8, 2026

port zkevm mcms bindings and update chainlink-solana commit

@ecPablo ecPablo marked this pull request as ready for review May 8, 2026 20:17
@ecPablo ecPablo requested a review from a team as a code owner May 8, 2026 20:17
Copilot AI review requested due to automatic review settings May 8, 2026 20:17
Copy link
Copy Markdown
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

Ports zkSync VM deployment helpers for MCMS-related contracts into the legacy EVM changesets, and updates the chainlink-ccip/chains/solana dependency pin.

Changes:

  • Added generated zkSync deployment wrappers for ManyChainMultiSig, RBACTimelock, and CallProxy (CREATE2 via zkSync wallet + wait mined).
  • Added DeployMCMSWithConfigEVM helper with zkSync-aware deployment path and a new unit test file covering config/label behavior and a timelock deploy smoke test.
  • Updated github.com/smartcontractkit/chainlink-ccip/chains/solana and its gobindings version in go.mod/go.sum.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
legacy/pkg/family/evm/changesets/zksync/RBACTimelockZK.go Generated zkSync deployment helper and embedded bytecode for RBACTimelock.
legacy/pkg/family/evm/changesets/zksync/ManyChainMultiSigZK.go Generated zkSync deployment helper and embedded bytecode for ManyChainMultiSig.
legacy/pkg/family/evm/changesets/zksync/CallProxyZK.go Generated zkSync deployment helper and embedded bytecode for CallProxy.
legacy/pkg/family/evm/changesets/deploy_mcms.go Adds a legacy helper to deploy MCMS and apply config, with zkSync deployment support.
legacy/pkg/family/evm/changesets/deploy_mcms_test.go Adds tests for MCMS deploy-with-config (incl. labels) and timelock deploy flow.
go.mod Pins Solana CCIP deps to a different commit.
go.sum Updates checksums to match the new Solana CCIP dependency versions.

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

}
mcmsTx, err := mcm.Contract.SetConfig(chain.DeployerKey,
signerAddresses,
// Signer 1 is int group 0 (root group) with quorum 1.
Comment on lines +45 to +60
require.NoError(t, err)
require.Empty(t, mcmNoLabel.Tv.Labels, "expected no label to be set")

// 2) Test WITH a label
label := "SA"
mcmWithLabel, err := DeployMCMSWithConfigEVM(
mcmscontracts.ProposerManyChainMultisig,
lggr,
chain,
ab,
cldftesthelpers.SingleGroupMCMS(t),
WithLabel(label),
)
require.NoError(t, err)
require.NotNil(t, mcmWithLabel.Tv.Labels, "expected labels to be set")
require.Contains(t, mcmWithLabel.Tv.Labels, label, "label mismatch")
@ajaskolski ajaskolski merged commit b235102 into main May 8, 2026
17 checks passed
@ajaskolski ajaskolski deleted the ecpablo/port-zkevm-mcms branch May 8, 2026 20:25
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