mirror of https://github.com/waku-org/nwaku.git
fix: increase on chain group manager starting balance (#2795)
This commit is contained in:
parent
55a87d21d6
commit
e72bb7e7b5
|
@ -115,14 +115,14 @@ proc createEthAccount(): Future[(keys.PrivateKey, Address)] {.async.} =
|
||||||
|
|
||||||
var tx: EthSend
|
var tx: EthSend
|
||||||
tx.source = accounts[0]
|
tx.source = accounts[0]
|
||||||
tx.value = some(ethToWei(10.u256))
|
tx.value = some(ethToWei(1000.u256))
|
||||||
tx.to = some(acc)
|
tx.to = some(acc)
|
||||||
tx.gasPrice = some(gasPrice)
|
tx.gasPrice = some(gasPrice)
|
||||||
|
|
||||||
# Send 10 eth to acc
|
# Send 10 eth to acc
|
||||||
discard await web3.send(tx)
|
discard await web3.send(tx)
|
||||||
let balance = await web3.provider.eth_getBalance(acc, "latest")
|
let balance = await web3.provider.eth_getBalance(acc, "latest")
|
||||||
assert(balance == ethToWei(10.u256))
|
assert(balance == ethToWei(1000.u256))
|
||||||
|
|
||||||
return (pk, acc)
|
return (pk, acc)
|
||||||
|
|
||||||
|
@ -149,7 +149,7 @@ proc runAnvil(): Process =
|
||||||
let runAnvil = startProcess(
|
let runAnvil = startProcess(
|
||||||
anvilPath,
|
anvilPath,
|
||||||
args = [
|
args = [
|
||||||
"--port", "8540", "--gas-limit", "300000000000000", "--balance", "10000",
|
"--port", "8540", "--gas-limit", "300000000000000", "--balance", "1000000000",
|
||||||
"--chain-id", "1337",
|
"--chain-id", "1337",
|
||||||
],
|
],
|
||||||
options = {poUsePath},
|
options = {poUsePath},
|
||||||
|
|
Loading…
Reference in New Issue