feat(load): token transfer load tests#617
Draft
rodrigombsoares wants to merge 1 commit into
Draft
Conversation
rodrigombsoares
commented
Jun 2, 2026
| t.Fatal("could not find BurnMint 2.0.0 to LockRelease 2.0.0 token qualifier") | ||
|
|
||
| return "" | ||
| return devenvtests.DefaultDevenvTokenLane(t, in, lib, srcSelector, destSelector) |
Contributor
Author
There was a problem hiding this comment.
TODO: this can be called directly, this wrapper is not needed
rodrigombsoares
commented
Jun 2, 2026
Comment on lines
+62
to
+65
| firstDest := destinations[0] | ||
| receiverBalanceBefore, err := firstDest.Chain.GetTokenBalance(ctx, firstDest.Receiver, lane.DestToken) | ||
| require.NoError(t, err) | ||
| require.NotNil(t, receiverBalanceBefore) |
Contributor
Author
There was a problem hiding this comment.
TODO: should check for all destinations
rodrigombsoares
commented
Jun 2, 2026
| } | ||
| } | ||
|
|
||
| func cantonTokenLoadDestination(chain cciptestinterfaces.CCIP17, receiver protocol.UnknownAddress, lane devenvtests.TokenLane) Destination { |
Contributor
Author
There was a problem hiding this comment.
TODO: We can collapse this and cantonLoadDestination in a single function with optional lane.
rodrigombsoares
commented
Jun 2, 2026
Comment on lines
+24
to
+28
| // Default transfer amounts (lane identity is discovery-driven; amounts are overridable later via env). | ||
| CantonToEVMFeeAmount int64 = 2_000 | ||
| CantonToEVMTokenTransferAmount int64 = 1_000 | ||
| EVMToCantonTransferAmount int64 = 100_000_000_000 | ||
| EVMDecimalsScale int64 = 1_000_000_000_000_000_000 |
Contributor
Author
There was a problem hiding this comment.
TODO: E2E should use the same defaults. This looks duplicated and maybe should be defined elsewhere.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.