Skip to content

Commit

Permalink
bump to a million
Browse files Browse the repository at this point in the history
  • Loading branch information
makramkd committed Dec 6, 2024
1 parent 4b22b09 commit 4aad004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/environment/memory/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func evmChain(t *testing.T, numUsers int) EVMChain {
owner, err := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
require.NoError(t, err)
genesis := types.GenesisAlloc{
owner.From: {Balance: assets.Ether(100_000).ToInt()}}
owner.From: {Balance: assets.Ether(1_000_000).ToInt()}}
// create a set of user keys
var users []*bind.TransactOpts
for j := 0; j < numUsers; j++ {
Expand All @@ -75,7 +75,7 @@ func evmChain(t *testing.T, numUsers int) EVMChain {
user, err := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
require.NoError(t, err)
users = append(users, user)
genesis[user.From] = types.Account{Balance: assets.Ether(100_000).ToInt()}
genesis[user.From] = types.Account{Balance: assets.Ether(1_000_000).ToInt()}
}
// there have to be enough initial funds on each chain to allocate for all the nodes that share the given chain in the test
backend := simulated.NewBackend(genesis, simulated.WithBlockGasLimit(50000000))
Expand Down

0 comments on commit 4aad004

Please sign in to comment.