Skip to content

Commit

Permalink
add replay
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Nov 23, 2024
1 parent 26d46f8 commit 9f04a73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions integration-tests/smoke/ccip/ccip_usdc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"github.com/stretchr/testify/require"
"golang.org/x/sync/errgroup"

"golang.org/x/exp/maps"

"github.com/smartcontractkit/chainlink-common/pkg/utils/tests"
"github.com/smartcontractkit/chainlink-testing-framework/lib/utils/testcontext"

Expand Down Expand Up @@ -45,7 +43,7 @@ func TestUSDCTokenTransfer(t *testing.T) {
state, err := changeset.LoadOnchainState(e)
require.NoError(t, err)

allChainSelectors := maps.Keys(e.Chains)
allChainSelectors := e.AllChainSelectors()
require.Len(t, allChainSelectors, 3, "expected 3 chains for this test")
chainA := allChainSelectors[0]
chainC := allChainSelectors[1]
Expand All @@ -70,7 +68,7 @@ func TestUSDCTokenTransfer(t *testing.T) {

// Add all lanes
require.NoError(t, changeset.AddLanesForAll(e, state))

changeset.ReplayLogs(t, e.Offchain, tenv.ReplayBlocks)
mintAndAllow(t, e, state, map[uint64][]*burn_mint_erc677.BurnMintERC677{
chainA: {aChainUSDC, aChainToken},
chainB: {bChainUSDC},
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/testconfig/ccip/ccip.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
chainlink_node_funding = 1

[Network]
selected_networks = ['SIMULATED_1', 'SIMULATED_2']
selected_networks = ['SIMULATED_1', 'SIMULATED_2', 'SIMULATED_3']

[Network.EVMNetworks.SIMULATED_1]
evm_name = 'chain-1337'
Expand Down

0 comments on commit 9f04a73

Please sign in to comment.