From e72bb7e7b5cab7ee50d8102abfb009d6c532e901 Mon Sep 17 00:00:00 2001 From: gabrielmer <101006718+gabrielmer@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:31:16 +0200 Subject: [PATCH] fix: increase on chain group manager starting balance (#2795) --- tests/waku_rln_relay/test_rln_group_manager_onchain.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/waku_rln_relay/test_rln_group_manager_onchain.nim b/tests/waku_rln_relay/test_rln_group_manager_onchain.nim index bbebb556c0..a3e412f41d 100644 --- a/tests/waku_rln_relay/test_rln_group_manager_onchain.nim +++ b/tests/waku_rln_relay/test_rln_group_manager_onchain.nim @@ -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) @@ -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},