Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Dec 23, 2024
1 parent b4949a0 commit 85bbb5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/helpers/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,11 @@ func newSimulatedEVML2SovereignChain(t *testing.T) (
require.True(t, ok)

const deployedContractsCount = 3
l2BridgeAddr := crypto.CreateAddress(deployerAuth.From, deployedContractsCount)
l2BridgeProxyAddr := crypto.CreateAddress(deployerAuth.From, deployedContractsCount)

genesisAllocMap := map[common.Address]types.Account{l2BridgeAddr: {Balance: premineBalance}}
genesisAllocMap := map[common.Address]types.Account{
l2BridgeProxyAddr: {Balance: premineBalance},
}
client, setup := NewSimulatedBackend(t, genesisAllocMap, deployerAuth)

// Deploy L2 GER manager contract
Expand Down Expand Up @@ -309,7 +311,7 @@ func newSimulatedEVML2SovereignChain(t *testing.T) (

err = setup.DeployBridge(client, gerProxyAddr, rollupID)
require.NoError(t, err)
require.Equal(t, l2BridgeAddr, setup.BridgeProxyAddr)
require.Equal(t, l2BridgeProxyAddr, setup.BridgeProxyAddr)

bridgeGERAddr, err := setup.BridgeProxyContract.GlobalExitRootManager(nil)
require.NoError(t, err)
Expand Down

0 comments on commit 85bbb5b

Please sign in to comment.