Skip to content
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-4152 Token transfer test #15130

Merged
merged 36 commits into from
Nov 6, 2024
Merged

CCIP-4152 Token transfer test #15130

merged 36 commits into from
Nov 6, 2024

Conversation

mateusz-sekara
Copy link
Collaborator

Requires

Supports

@mateusz-sekara mateusz-sekara requested a review from a team as a code owner November 6, 2024 10:24
@mateusz-sekara mateusz-sekara requested a review from AnieeG November 6, 2024 10:50
@@ -93,7 +93,7 @@ func TestAddLane(t *testing.T) {
startBlock := latesthdr.Number.Uint64()
// Send traffic on the first lane and it should not be processed by the plugin as onRamp is disabled
// we will check this by confirming that the message is not executed by the end of the test
seqNum1 := TestSendRequest(t, e.Env, state, chain1, chain2, false)
seqNum1 := TestSendRequest(t, e.Env, state, chain1, chain2, false, nil)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potentially simple abstraction here might be a RequestBuilder or similar, and then a simple SendRequest function that literally just sends it to the router.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, let's have that in a followup

deployment/ccip/deploy.go Outdated Show resolved Hide resolved
deployment/ccip/deploy.go Outdated Show resolved Hide resolved
deployment/ccip/test_helpers.go Outdated Show resolved Hide resolved
Decimals: ccdeploy.LinkDecimals,
DeviationPPB: cciptypes.NewBigIntFromInt64(1e9),
},
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need that Weth token info from the other PR? #15131

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