-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ccip-4110 migration test #15854
base: develop
Are you sure you want to change the base?
Ccip-4110 migration test #15854
Conversation
I see you updated files related to
|
AER Report: CI Coreaer_workflow , commit , Clean Go Tidy & Generate , Detect Changes , Scheduled Run Frequency , GolangCI Lint (.) , GolangCI Lint (integration-tests) , Core Tests (go_core_tests) , GolangCI Lint (deployment) , Core Tests (go_core_tests_integration) , Core Tests (go_core_ccip_deployment_tests) , Core Tests (go_core_fuzz) , test-scripts , Core Tests (go_core_race_tests) , SonarQube Scan , lint 1. Undefined field
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
@@ -323,7 +323,7 @@ func (params CCIPJobSpecParams) BootstrapJob(contractID string) *OCR2TaskJobSpec | |||
}, | |||
} | |||
return &OCR2TaskJobSpec{ | |||
Name: fmt.Sprintf("%s-%s", Boostrap, params.DestChainName), | |||
Name: fmt.Sprintf("%s-%s-%s", Boostrap, params.SourceChainName, params.DestChainName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're here fixing stuff may as well fix the typo Boostrap
}, | ||
}) | ||
require.NoError(t, err) | ||
AddLaneWithDefaultPricesAndFeeQuoterConfig(t, &e, state, chain1, chain2, true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha we removed this and now its back, I actually copy/pasted the above code for my PR but I guess having this helper is fine.
if cfg.TestRouter { | ||
if err := commoncs.ValidateOwnership(e.GetContext(), cfg.MCMS != nil, e.Chains[chainSel].DeployerKey.From, chainState.Timelock.Address(), chainState.TestRouter); err != nil { | ||
return err | ||
} | ||
} else { | ||
if err := commoncs.ValidateOwnership(e.GetContext(), cfg.MCMS != nil, e.Chains[chainSel].DeployerKey.From, chainState.Timelock.Address(), chainState.Router); err != nil { | ||
return err | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
q: if TestRouter is enabled why not validate ownership of it + the real router? Instead of either/or
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The real router can be owned by MCMS and test router can be owned by deployer key.
RMNStaticConfig: NewTestRMNStaticConfig(), | ||
NodeOperators: NewTestNodeOperator(e.Env.Chains[e.HomeChainSel].DeployerKey.From), | ||
NodeP2PIDsPerNodeOpAdmin: map[string][][32]byte{ | ||
"NodeOperator": envNodes.NonBootstraps().PeerIDs(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is "NodeOperator" the name of the nop or something? Would be nice as a constant or determined via some other way?
@@ -233,15 +235,25 @@ func (d *DeployedEnv) SetupJobs(t *testing.T) { | |||
|
|||
type MemoryEnvironment struct { | |||
DeployedEnv | |||
Chains map[uint64]deployment.Chain | |||
TCConfig *TestConfigs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming nit: just TestConfigs
?
var err error | ||
envNodes, err := deployment.NodeInfo(e.Env.NodeIDs, e.Env.Offchain) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var err error | |
envNodes, err := deployment.NodeInfo(e.Env.NodeIDs, e.Env.Offchain) | |
envNodes, err := deployment.NodeInfo(e.Env.NodeIDs, e.Env.Offchain) |
// Adding to src1 and dest chains first, due to the open issue - | ||
// if ccip contracts are added to all chains and only one lane is enabled between src1 and dest, the plugin will not work | ||
// until lanes are added involving the rest of the chains |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What open issue is this referring to?
…ccip-4110-migration-test
…t/chainlink into ccip-4110-migration-testi
Quality Gate passedIssues Measures |
Requires
Supports