Skip to content

Commit

Permalink
Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara committed Nov 19, 2024
1 parent 5e7ec14 commit 961c8f4
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions integration-tests/smoke/ccip_usdc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ func TestUSDCTokenTransfer(t *testing.T) {
}

e := tenv.Env
state, err := ccdeploy.LoadOnchainState(e)
require.NoError(t, err)

allChainSelectors := maps.Keys(e.Chains)
sourceChain := allChainSelectors[0]
destChain := allChainSelectors[1]
Expand Down Expand Up @@ -80,7 +77,7 @@ func TestUSDCTokenTransfer(t *testing.T) {
require.NoError(t, err)
require.NoError(t, e.ExistingAddresses.Merge(output.AddressBook))

state, err = ccdeploy.LoadOnchainState(e)
state, err := ccdeploy.LoadOnchainState(e)
require.NoError(t, err)

srcUSDC, dstUSDC, err := ccdeploy.ConfigureUSDCTokenPools(lggr, e.Chains, sourceChain, destChain, state)
Expand Down Expand Up @@ -256,9 +253,6 @@ func TestMultiSourceUSDCTransfer(t *testing.T) {
}

e := tenv.Env
state, err := ccdeploy.LoadOnchainState(e)
require.NoError(t, err)

allChainSelectors := maps.Keys(e.Chains)
sourceChain1 := allChainSelectors[0]
sourceChain2 := allChainSelectors[1]
Expand Down Expand Up @@ -290,7 +284,7 @@ func TestMultiSourceUSDCTransfer(t *testing.T) {
require.NoError(t, err)
require.NoError(t, e.ExistingAddresses.Merge(output.AddressBook))

state, err = ccdeploy.LoadOnchainState(e)
state, err := ccdeploy.LoadOnchainState(e)
require.NoError(t, err)

sourceUSDC1, dstUSDC, err := ccdeploy.ConfigureUSDCTokenPools(lggr, e.Chains, sourceChain1, destChain, state)
Expand Down

0 comments on commit 961c8f4

Please sign in to comment.