-
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
Refactoring and improvements around token transfer and usdc transfer tests #15502
base: develop
Are you sure you want to change the base?
Conversation
} | ||
}) | ||
} | ||
execStates := changeset.ConfirmExecWithSeqNrsForAll( |
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.
are parallel checks not applicable here like you did for commit?
) { | ||
errGrp := &errgroup.Group{} | ||
for chainID, tokens := range expectedBalances { | ||
for id, balance := range tokens { |
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.
better to create local scope for id and balance here
errGrp := &errgroup.Group{} | ||
|
||
for sourceDest, seqRange := range expectedSeqNums { | ||
errGrp.Go(func() error { |
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.
might run into overrides, better to create local scope for sourceDest
and seqRange
|
||
for _, tt := range requests { | ||
t.Run(tt.Name, func(t *testing.T) { | ||
expectedTokenBalances = AppendExpectedTokenBalances( |
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 it possible to run these in parallel?
Requires
Supports