fix: increase on chain group manager starting balance (#2795)

This commit is contained in:
gabrielmer 2024-06-10 14:31:16 +02:00 committed by GitHub
parent 55a87d21d6
commit e72bb7e7b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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},