Skip to content

Commit

Permalink
e2e: switch evm-to-evm network (#382)
Browse files Browse the repository at this point in the history
Signed-off-by: failfmi <[email protected]>
  • Loading branch information
failfmi authored Jan 24, 2022
1 parent b5c12f0 commit 292287c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ func Test_EVM_Native_to_EVM_Token(t *testing.T) {
chainId := int64(80001) // represents Polygon Mumbai Testnet (e2e config must have configuration for that particular network)
evm := setupEnv.Clients.EVM[chainId]
now = time.Now()
targetChainID := int64(3) // represents Ethereum Goerli Testnet (e2e config must have configuration for that particular network)
targetChainID := int64(43113) // represents Avalanche Fuji Testnet (e2e config must have configuration for that particular network)
wrappedAsset, err := setup.NativeToWrappedAsset(setupEnv.AssetMappings, chainId, targetChainID, setupEnv.NativeEvmToken)
if err != nil {
t.Fatal(err)
Expand Down Expand Up @@ -601,8 +601,8 @@ func Test_EVM_Wrapped_to_EVM_Token(t *testing.T) {
// Step 1 - Initialize setup, smart contracts, etc.
setupEnv := setup.Load()

chainId := int64(80001) // represents Polygon Mumbai Testnet (e2e config must have configuration for that particular network)
sourceChain := int64(3) // represents Ethereum Goerli Testnet (e2e config must have configuration for that particular network)
chainId := int64(80001) // represents Polygon Mumbai Testnet (e2e config must have configuration for that particular network)
sourceChain := int64(43113) // represents Avalanche Fuji Testnet (e2e config must have configuration for that particular network)
wrappedEvm := setupEnv.Clients.EVM[sourceChain]
now = time.Now()
sourceAsset, err := setup.NativeToWrappedAsset(setupEnv.AssetMappings, chainId, sourceChain, setupEnv.NativeEvmToken)
Expand Down

0 comments on commit 292287c

Please sign in to comment.