Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
654b4e3
wip
tt-cll Mar 4, 2026
3b93078
compile
tt-cll Mar 5, 2026
d7a6a90
wip
tt-cll Mar 5, 2026
8ef1b91
Merge remote-tracking branch 'origin/develop' into tt/combine
tt-cll Mar 5, 2026
174cf2d
paths
tt-cll Mar 5, 2026
ca60641
might be passing
tt-cll Mar 6, 2026
c97e8ce
duplicate
tt-cll Mar 6, 2026
79ecab7
skip populate pre 2
tt-cll Mar 6, 2026
0745953
add canton
tt-cll Mar 6, 2026
ff48fc9
Merge remote-tracking branch 'origin/develop' into tt/combine
tt-cll Mar 6, 2026
5be8e8f
comments
tt-cll Mar 6, 2026
af77fa5
x-ref
tt-cll Mar 6, 2026
9e9ccd2
x-ref
tt-cll Mar 6, 2026
622b963
Update deployment/lanes/connect_chains.go
tt-cll Mar 6, 2026
758e36b
Update ccv/chains/evm/deployment/v1_7_0/sequences/configure_chain_for…
tt-cll Mar 6, 2026
86184d9
simplify due to infer
tt-cll Mar 8, 2026
d740d54
Merge branch 'develop' into tt/combine
tt-cll Mar 9, 2026
bf46f59
tests
tt-cll Mar 9, 2026
4b30eac
bugs
tt-cll Mar 9, 2026
712a736
Merge remote-tracking branch 'origin/develop' into tt/combine
tt-cll Mar 10, 2026
dd7c590
merge conflicts
tt-cll Mar 10, 2026
c6c12c1
fq param split
tt-cll Mar 10, 2026
39f5e6c
cv split
tt-cll Mar 10, 2026
dec906a
Merge remote-tracking branch 'origin/develop' into tt/combine
tt-cll Mar 10, 2026
12a2713
gomod
tt-cll Mar 10, 2026
751b0bf
bad merge
tt-cll Mar 10, 2026
65e7d54
Merge remote-tracking branch 'origin/develop' into tt/combine
tt-cll Mar 11, 2026
c5a49ae
Merge remote-tracking branch 'origin/develop' into tt/combine
tt-cll Mar 11, 2026
1e71fe8
Merge branch 'develop' into tt/combine
tt-cll Mar 11, 2026
7299e99
tests
tt-cll Mar 11, 2026
7e766b3
merge
tt-cll Mar 12, 2026
07b603c
make generate
tt-cll Mar 12, 2026
a6e18cc
v2 default
tt-cll Mar 12, 2026
7d65fe8
Merge branch 'develop' into tt/combine
tt-cll Mar 12, 2026
349ce9b
merge
tt-cll Mar 13, 2026
abd7d54
tests
tt-cll Mar 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ccv/chains/evm/deployment/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ go 1.25.5
// Taken from CLDF go.mod: https://github.com/smartcontractkit/chainlink-deployments-framework/blob/main/go.mod
replace github.com/fbsobreira/gotron-sdk => github.com/smartcontractkit/chainlink-tron/relayer/gotron-sdk v0.0.4

// TODO: remove this local replace once chainlink-ccip/deployment is published with the adapter changes
replace github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm => ../.

replace github.com/smartcontractkit/chainlink-ccip => ../../../../.

replace github.com/smartcontractkit/chainlink-ccip/deployment => ../../../../deployment

// TODO: remove this local replace once chains/evm/deployment is published with the adapter changes
replace github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment => ../../../../chains/evm/deployment

require (
Expand Down
4 changes: 0 additions & 4 deletions ccv/chains/evm/deployment/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -729,10 +729,6 @@ github.com/smartcontractkit/chain-selectors v1.0.97 h1:ECOin+SkJv2MUrfqTUu28J0ku
github.com/smartcontractkit/chain-selectors v1.0.97/go.mod h1:qy7whtgG5g+7z0jt0nRyii9bLND9m15NZTzuQPkMZ5w=
github.com/smartcontractkit/chainlink-aptos v0.0.0-20251024142440-51f2ad2652a2 h1:vGdeMwHO3ow88HvxfhA4DDPYNY0X9jmdux7L83UF/W8=
github.com/smartcontractkit/chainlink-aptos v0.0.0-20251024142440-51f2ad2652a2/go.mod h1:iteU0WORHkArACVh/HoY/1bipV4TcNcJdTmom9uIT0E=
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260312182032-b2b38700f19b h1:bbOmh4svjpzzvXv1pXljN8zUop8L/aTO4HM4t/wgdVs=
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260312182032-b2b38700f19b/go.mod h1:hl57wj/oxsh+ieJkvTkYxyB6+Gv22QiVjjcmh7fa0AI=
github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm v0.0.0-20260312182032-b2b38700f19b h1:xMMmdrNH/UM/pdSbvLbjG22NY0zut7sGJcU36yLzS2g=
github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm v0.0.0-20260312182032-b2b38700f19b/go.mod h1:Zp8erzWAVrADEhbR0EjhWFbEdr98Sdz4yb0LKKMccA8=
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260121163256-85accaf3d28d h1:xdFpzbApEMz4Rojg2Y2OjFlrh0wu7eB10V2tSZGW5y8=
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260121163256-85accaf3d28d/go.mod h1:bgmqE7x9xwmIVr8PqLbC0M5iPm4AV2DBl596lO6S5Sw=
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 h1:Z4t2ZY+ZyGWxtcXvPr11y4o3CGqhg3frJB5jXkCSvWA=
Expand Down
72 changes: 63 additions & 9 deletions ccv/chains/evm/deployment/v1_7_0/adapters/chain_family.go
Original file line number Diff line number Diff line change
@@ -1,26 +1,80 @@
package adapters

import (
"github.com/ethereum/go-ethereum/common"

seq_core "github.com/smartcontractkit/chainlink-ccip/deployment/utils/sequences"
"github.com/smartcontractkit/chainlink-ccip/deployment/v1_7_0/adapters"
"github.com/smartcontractkit/chainlink-deployments-framework/chain"
"github.com/smartcontractkit/chainlink-deployments-framework/datastore"
"github.com/smartcontractkit/chainlink-deployments-framework/operations"

"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/sequences"

datastore_utils "github.com/smartcontractkit/chainlink-ccip/deployment/utils/datastore"

"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/latest/operations/offramp"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/latest/operations/onramp"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v2_0_0/operations/fee_quoter"
evm_datastore_utils "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/utils/datastore"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/v1_2_0/operations/router"
"github.com/smartcontractkit/chainlink-ccip/deployment/lanes"
)

// ChainFamilyAdapter is the adapter for chains of the EVM family.
type ChainFamilyAdapter struct{}

// ConfigureChainForLanesSequence returns the sequence for configuring a chain of the EVM family for CCIP lanes.
func (c *ChainFamilyAdapter) ConfigureChainForLanes() *operations.Sequence[adapters.ConfigureChainForLanesInput, seq_core.OnChainOutput, chain.BlockChains] {
return sequences.ConfigureChainForLanes
// ConfigureLaneLegAsSource returns the sequence for configuring a chain of the EVM family as a source chain for CCIP lanes.
func (c *ChainFamilyAdapter) ConfigureLaneLegAsSource() *operations.Sequence[lanes.UpdateLanesInput, seq_core.OnChainOutput, chain.BlockChains] {
return sequences.ConfigureLaneLegAsSource
}

// ConfigureLaneLegAsDest returns the sequence for configuring a chain of the EVM family as a destination chain for CCIP lanes.
func (c *ChainFamilyAdapter) ConfigureLaneLegAsDest() *operations.Sequence[lanes.UpdateLanesInput, seq_core.OnChainOutput, chain.BlockChains] {
return sequences.ConfigureLaneLegAsDest
}

func (a *ChainFamilyAdapter) GetOnRampAddress(ds datastore.DataStore, chainSelector uint64) ([]byte, error) {
addr, err := datastore_utils.FindAndFormatRef(ds, datastore.AddressRef{
ChainSelector: chainSelector,
Type: datastore.ContractType(onramp.ContractType),
Version: onramp.Version,
}, chainSelector, evm_datastore_utils.ToEVMAddressBytes)
if err != nil {
return nil, err
}
return addr, nil
}

func (a *ChainFamilyAdapter) GetOffRampAddress(ds datastore.DataStore, chainSelector uint64) ([]byte, error) {
addr, err := datastore_utils.FindAndFormatRef(ds, datastore.AddressRef{
ChainSelector: chainSelector,
Type: datastore.ContractType(offramp.ContractType),
Version: offramp.Version,
}, chainSelector, evm_datastore_utils.ToEVMAddressBytes)
if err != nil {
return nil, err
}
return addr, nil
}

func (a *ChainFamilyAdapter) GetFQAddress(ds datastore.DataStore, chainSelector uint64) ([]byte, error) {
addr, err := datastore_utils.FindAndFormatRef(ds, datastore.AddressRef{
ChainSelector: chainSelector,
Type: datastore.ContractType(fee_quoter.ContractType),
Version: fee_quoter.Version,
}, chainSelector, evm_datastore_utils.ToEVMAddressBytes)
if err != nil {
return nil, err
}
return addr, nil
}

// AddressRefToBytes returns the byte representation of an address for this chain family.
func (c *ChainFamilyAdapter) AddressRefToBytes(ref datastore.AddressRef) ([]byte, error) {
return common.HexToAddress(ref.Address).Bytes(), nil
func (a *ChainFamilyAdapter) GetRouterAddress(ds datastore.DataStore, chainSelector uint64) ([]byte, error) {
addr, err := datastore_utils.FindAndFormatRef(ds, datastore.AddressRef{
ChainSelector: chainSelector,
Type: datastore.ContractType(router.ContractType),
Version: router.Version,
}, chainSelector, evm_datastore_utils.ToEVMAddressBytes)
if err != nil {
return nil, err
}
return addr, nil
}
117 changes: 43 additions & 74 deletions ccv/chains/evm/deployment/v1_7_0/adapters/chain_family_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,99 +8,66 @@ import (
"github.com/stretchr/testify/require"

contract_utils "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/utils/operations/contract"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/v1_2_0/operations/router"
"github.com/smartcontractkit/chainlink-ccip/deployment/lanes"
"github.com/smartcontractkit/chainlink-ccip/deployment/utils/changesets"
"github.com/smartcontractkit/chainlink-deployments-framework/datastore"
"github.com/smartcontractkit/chainlink-deployments-framework/deployment"
"github.com/smartcontractkit/chainlink-deployments-framework/engine/test/environment"

"github.com/smartcontractkit/chainlink-ccip/deployment/utils/changesets"
"github.com/smartcontractkit/chainlink-ccip/deployment/v1_7_0/adapters"
v1_7_0_changesets "github.com/smartcontractkit/chainlink-ccip/deployment/v1_7_0/changesets"

"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/latest/operations/committee_verifier"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/latest/operations/offramp"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/latest/operations/onramp"
evm_adapters "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/adapters"
v1_7_0 "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/changesets"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/operations/create2_factory"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/operations/executor"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/sequences"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/testsetup"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v2_0_0/operations/fee_quoter"
)

func makeChainConfig(chainSelector uint64, remoteChainSelector uint64) v1_7_0_changesets.ChainConfig {
return v1_7_0_changesets.ChainConfig{
ChainSelector: chainSelector,
Router: datastore.AddressRef{
Type: datastore.ContractType(router.ContractType),
Version: router.Version,
},
OnRamp: datastore.AddressRef{
Type: datastore.ContractType(onramp.ContractType),
Version: onramp.Version,
},
CommitteeVerifiers: []adapters.CommitteeVerifierConfig[datastore.AddressRef]{
func makeChainConfig(chainSelector uint64, remoteChainSelector uint64) lanes.ChainDefinition {
return lanes.ChainDefinition{
Selector: chainSelector,
CommitteeVerifiers: []lanes.CommitteeVerifierConfig[datastore.AddressRef]{
{
CommitteeVerifier: []datastore.AddressRef{
{
Type: datastore.ContractType(committee_verifier.ContractType),
Version: committee_verifier.Version,
ChainSelector: chainSelector,
Type: datastore.ContractType(committee_verifier.ContractType),
Version: committee_verifier.Version,
},
{
Type: datastore.ContractType(sequences.CommitteeVerifierResolverType),
Version: semver.MustParse("1.7.0"),
ChainSelector: chainSelector,
Type: datastore.ContractType(sequences.CommitteeVerifierResolverType),
Version: semver.MustParse("1.7.0"),
},
},
RemoteChains: map[uint64]adapters.CommitteeVerifierRemoteChainConfig{
RemoteChains: map[uint64]lanes.CommitteeVerifierRemoteChainConfig{
remoteChainSelector: testsetup.CreateBasicCommitteeVerifierRemoteChainConfig(),
},
},
},
FeeQuoter: datastore.AddressRef{
Type: datastore.ContractType(fee_quoter.ContractType),
Version: fee_quoter.Version,
},
OffRamp: datastore.AddressRef{
Type: datastore.ContractType(offramp.ContractType),
Version: offramp.Version,
DefaultInboundCCVs: []datastore.AddressRef{
{
ChainSelector: chainSelector,
Type: datastore.ContractType(committee_verifier.ContractType),
Version: committee_verifier.Version,
},
},
RemoteChains: map[uint64]adapters.RemoteChainConfig[datastore.AddressRef, datastore.AddressRef]{
remoteChainSelector: {
AllowTrafficFrom: true,
OnRamps: []datastore.AddressRef{
{
Type: datastore.ContractType(onramp.ContractType),
Version: onramp.Version,
},
},
OffRamp: datastore.AddressRef{
Type: datastore.ContractType(offramp.ContractType),
Version: offramp.Version,
},
DefaultInboundCCVs: []datastore.AddressRef{
{
Type: datastore.ContractType(committee_verifier.ContractType),
Version: committee_verifier.Version,
},
},
DefaultOutboundCCVs: []datastore.AddressRef{
{
Type: datastore.ContractType(committee_verifier.ContractType),
Version: committee_verifier.Version,
},
},
DefaultExecutor: datastore.AddressRef{
Type: datastore.ContractType(executor.ProxyType),
Version: executor.Version,
Qualifier: "default",
},
FeeQuoterDestChainConfig: testsetup.CreateBasicFeeQuoterDestChainConfig(),
ExecutorDestChainConfig: testsetup.CreateBasicExecutorDestChainConfig(),
AddressBytesLength: 20,
BaseExecutionGasCost: 80_000,
DefaultOutboundCCVs: []datastore.AddressRef{
{
ChainSelector: chainSelector,
Type: datastore.ContractType(committee_verifier.ContractType),
Version: committee_verifier.Version,
},
},
DefaultExecutor: datastore.AddressRef{
ChainSelector: chainSelector,
Type: datastore.ContractType(executor.ProxyType),
Version: executor.Version,
Qualifier: "default",
},
FeeQuoterDestChainConfig: testsetup.CreateBasicFeeQuoterDestChainConfig(),
ExecutorDestChainConfig: testsetup.CreateBasicExecutorDestChainConfig(),
AddressBytesLength: 20,
BaseExecutionGasCost: 80_000,
}
}

Expand All @@ -122,8 +89,7 @@ func TestChainFamilyAdapter(t *testing.T) {
require.NoError(t, err, "Failed to create test environment")
require.NotNil(t, e, "Environment should be created")

chainFamilyRegistry := adapters.NewChainFamilyRegistry()
chainFamilyRegistry.RegisterChainFamily("evm", &evm_adapters.ChainFamilyAdapter{})
chainFamilyRegistry := lanes.GetLaneAdapterRegistry()
mcmsRegistry := changesets.GetRegistry()

// On each chain, deploy chain contracts
Expand Down Expand Up @@ -156,13 +122,16 @@ func TestChainFamilyAdapter(t *testing.T) {

// Configure chains for lanes
e.OperationsBundle = testsetup.BundleWithFreshReporter(e.OperationsBundle)
_, err = v1_7_0_changesets.ConfigureChainsForLanes(chainFamilyRegistry, mcmsRegistry).Apply(*e, v1_7_0_changesets.ConfigureChainsForLanesConfig{
Chains: []v1_7_0_changesets.ChainConfig{
makeChainConfig(chainA, chainB),
makeChainConfig(chainB, chainA),
_, err = lanes.ConnectChains(chainFamilyRegistry, mcmsRegistry).Apply(*e, lanes.ConnectChainsConfig{
Lanes: []lanes.LaneConfig{
{
ChainA: makeChainConfig(chainA, chainB),
ChainB: makeChainConfig(chainB, chainA),
Version: semver.MustParse("2.0.0"),
},
},
})
require.NoError(t, err, "Failed to apply ConfigureChainsForLanes changeset")
require.NoError(t, err, "Failed to apply ConnectChains changeset")
})
}
}
4 changes: 4 additions & 0 deletions ccv/chains/evm/deployment/v1_7_0/adapters/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ import (
adapters1_5 "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/v1_5_0/adapters"
adapters1_6 "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/v1_6_0/adapters"
"github.com/smartcontractkit/chainlink-ccip/deployment/deploy"

"github.com/smartcontractkit/chainlink-ccip/deployment/lanes"
ccvadapters "github.com/smartcontractkit/chainlink-ccip/deployment/v1_7_0/adapters"
)

func init() {
v := semver.MustParse("2.0.0")
fqReg := deploy.GetFQAndRampUpdaterRegistry()
fqReg.RegisterFeeQuoterUpdater(chainsel.FamilyEVM, semver.MustParse("2.0.0"), adapters2_0.FeeQuoterUpdater[any]{})
fqReg.RegisterRampUpdater(chainsel.FamilyEVM, semver.MustParse("1.6.0"), adapters1_6.RampUpdateWithFQ{})
Expand All @@ -25,6 +28,7 @@ func init() {
laneMigratorReg.RegisterRampUpdater(chainsel.FamilyEVM, semver.MustParse("2.0.0"), &LaneMigrator{})
laneMigratorReg.RegisterRouterUpdater(chainsel.FamilyEVM, semver.MustParse("1.2.0"), &adapters1_2.RouterUpdater{})

lanes.GetLaneAdapterRegistry().RegisterLaneAdapter(chainsel.FamilyEVM, v, &ChainFamilyAdapter{})
ccvadapters.GetCommitteeVerifierContractRegistry().Register(chainsel.FamilyEVM, &EVMCommitteeVerifierContractAdapter{})
ccvadapters.GetExecutorConfigRegistry().Register(chainsel.FamilyEVM, &EVMExecutorConfigAdapter{})
ccvadapters.GetVerifierJobConfigRegistry().Register(chainsel.FamilyEVM, &EVMVerifierJobConfigAdapter{})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type LaneMigrator struct{}
// It fetches the existing onRamp and offRamp addresses from the provided ExistingAddresses, then calls the necessary functions to update the onRamp and offRamp to use the new Router.
//
// This sequence assumes that the destChainConfig on OnRamp and SourceChainConfig on OffRamp do not need to be updated, and only updates the Router address used by the Ramps.
// If you need to update the destChainConfig or sourceChainConfig, please use the ConfigureChainForLanes sequence instead.
// If you need to update the destChainConfig or sourceChainConfig, please use the ConnectChains sequence instead.
func (r *LaneMigrator) UpdateVersionWithRouter() *cldf_ops.Sequence[deploy.RampUpdaterConfig, sequences.OnChainOutput, chain.BlockChains] {
return cldf_ops.NewSequence(
"ramp-updater:sequence-update-ramps-with-router",
Expand Down
20 changes: 10 additions & 10 deletions ccv/chains/evm/deployment/v1_7_0/adapters/lanemigrator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ import (
evm_datastore_utils "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/utils/datastore"
contract_utils "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/utils/operations/contract"
"github.com/smartcontractkit/chainlink-ccip/deployment/deploy"
"github.com/smartcontractkit/chainlink-ccip/deployment/lanes"
"github.com/smartcontractkit/chainlink-ccip/deployment/utils/changesets"
datastore_utils "github.com/smartcontractkit/chainlink-ccip/deployment/utils/datastore"
"github.com/smartcontractkit/chainlink-ccip/deployment/v1_7_0/adapters"
v1_7_0_changesets "github.com/smartcontractkit/chainlink-ccip/deployment/v1_7_0/changesets"

evm_adapters "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/adapters"
v1_7_0 "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/changesets"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/operations/create2_factory"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/testsetup"
Expand All @@ -43,8 +41,7 @@ func TestLaneMigrator(t *testing.T) {
require.NoError(t, err, "Failed to create test environment")
require.NotNil(t, e, "Environment should be created")

chainFamilyRegistry := adapters.NewChainFamilyRegistry()
chainFamilyRegistry.RegisterChainFamily("evm", &evm_adapters.ChainFamilyAdapter{})
chainFamilyRegistry := lanes.GetLaneAdapterRegistry()
mcmsRegistry := changesets.GetRegistry()

// On each chain, deploy chain contracts
Expand Down Expand Up @@ -77,13 +74,16 @@ func TestLaneMigrator(t *testing.T) {

// Configure chains for lanes
e.OperationsBundle = testsetup.BundleWithFreshReporter(e.OperationsBundle)
_, err = v1_7_0_changesets.ConfigureChainsForLanes(chainFamilyRegistry, mcmsRegistry).Apply(*e, v1_7_0_changesets.ConfigureChainsForLanesConfig{
Chains: []v1_7_0_changesets.ChainConfig{
makeChainConfig(chainA, chainB),
makeChainConfig(chainB, chainA),
_, err = lanes.ConnectChains(chainFamilyRegistry, mcmsRegistry).Apply(*e, lanes.ConnectChainsConfig{
Lanes: []lanes.LaneConfig{
{
ChainA: makeChainConfig(chainA, chainB),
ChainB: makeChainConfig(chainB, chainA),
Version: semver.MustParse("2.0.0"),
},
},
})
require.NoError(t, err, "Failed to apply ConfigureChainsForLanes changeset")
require.NoError(t, err, "Failed to apply ConnectChains changeset")
// now apply the lane migrator
mReg := deploy.GetLaneMigratorRegistry()
e.OperationsBundle = testsetup.BundleWithFreshReporter(e.OperationsBundle)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/gobindings/generated/latest/executor"
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/gobindings/generated/latest/proxy"
"github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/utils/operations/contract"
"github.com/smartcontractkit/chainlink-ccip/deployment/v1_7_0/adapters"
"github.com/smartcontractkit/chainlink-ccip/deployment/lanes"
cldf_deployment "github.com/smartcontractkit/chainlink-deployments-framework/deployment"
)

Expand All @@ -35,7 +35,7 @@ type ApplyDestChainUpdatesArgs struct {

type RemoteChainConfigArgs struct {
DestChainSelector uint64
Config adapters.ExecutorDestChainConfig
Config lanes.ExecutorDestChainConfig
}

type ApplyAllowedCCVUpdatesArgs struct {
Expand Down
Loading
Loading