Skip to content

Commit

Permalink
fix: increase on chain group manager starting balance (#2795)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer authored Jun 10, 2024
1 parent 55a87d2 commit e72bb7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/waku_rln_relay/test_rln_group_manager_onchain.nim
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ proc createEthAccount(): Future[(keys.PrivateKey, Address)] {.async.} =

var tx: EthSend
tx.source = accounts[0]
tx.value = some(ethToWei(10.u256))
tx.value = some(ethToWei(1000.u256))
tx.to = some(acc)
tx.gasPrice = some(gasPrice)

# Send 10 eth to acc
discard await web3.send(tx)
let balance = await web3.provider.eth_getBalance(acc, "latest")
assert(balance == ethToWei(10.u256))
assert(balance == ethToWei(1000.u256))

return (pk, acc)

Expand All @@ -149,7 +149,7 @@ proc runAnvil(): Process =
let runAnvil = startProcess(
anvilPath,
args = [
"--port", "8540", "--gas-limit", "300000000000000", "--balance", "10000",
"--port", "8540", "--gas-limit", "300000000000000", "--balance", "1000000000",
"--chain-id", "1337",
],
options = {poUsePath},
Expand Down

0 comments on commit e72bb7e

Please sign in to comment.