-
Notifications
You must be signed in to change notification settings - Fork 53
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-2645: Introducing leader lane and setting PriceReportingDisabled in Test #1120
Conversation
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.
❌PANIC❌ TestSmokeCCIPForBidirectionalLane (0.00s)
---❌ Error Found ❌---
panic: test timed out after 30m0s
Seems leader lane smoke test is failing here
@@ -80,6 +85,7 @@ type CCIPTestConfig struct { | |||
AllNetworks map[string]blockchain.EVMNetwork | |||
SelectedNetworks []blockchain.EVMNetwork | |||
NetworkPairs []NetworkPair | |||
LeaderLanes []LeaderLane |
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.
Not for this PR, for future - There are actually a lot of common set up in TestGroupInput
which we can extract to common.
Quality Gate failedFailed conditions |
Motivation
This PR introduces leader lane feature. Setting leader lane will avoid duplicate gas price fetch for the same destination from different source chain. Here in this PR, the expectation is to add a test where leader lane is setup and verify every commitstore report transaction hash emitted two
UsdPerUnitGasUpdated
events.Solution
Introduce config variable to enable leader lane setup and based on network pair, automatically define set of lanes as leader and non-leader lanes, track the tx hash from the event
UsdPerUnitGasUpdated
and ensure transaction count matches to the number of sources chain selector expected.