mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 06:53:12 +00:00
Use anvil config disable-min-priority-fee to prevent gas price doubling
This commit is contained in:
parent
834eea945d
commit
144a0cda43
@ -529,6 +529,7 @@ proc runAnvil*(
|
|||||||
# --chain-id Chain ID of the network.
|
# --chain-id Chain ID of the network.
|
||||||
# --load-state Initialize the chain from a previously saved state snapshot (read-only)
|
# --load-state Initialize the chain from a previously saved state snapshot (read-only)
|
||||||
# --dump-state Dump the state on exit to the given file (write-only)
|
# --dump-state Dump the state on exit to the given file (write-only)
|
||||||
|
# Values used are representative of Linea Sepolia testnet
|
||||||
# See anvil documentation https://book.getfoundry.sh/reference/anvil/ for more details
|
# See anvil documentation https://book.getfoundry.sh/reference/anvil/ for more details
|
||||||
try:
|
try:
|
||||||
let anvilPath = getAnvilPath()
|
let anvilPath = getAnvilPath()
|
||||||
@ -539,11 +540,16 @@ proc runAnvil*(
|
|||||||
"--port",
|
"--port",
|
||||||
$port,
|
$port,
|
||||||
"--gas-limit",
|
"--gas-limit",
|
||||||
"300000000000000",
|
"30000000",
|
||||||
|
"--gas-price",
|
||||||
|
"7",
|
||||||
|
"--base-fee",
|
||||||
|
"7",
|
||||||
"--balance",
|
"--balance",
|
||||||
"1000000000",
|
"10000000000",
|
||||||
"--chain-id",
|
"--chain-id",
|
||||||
$chainId,
|
$chainId,
|
||||||
|
"--disable-min-priority-fee"
|
||||||
]
|
]
|
||||||
|
|
||||||
# Add state file argument if provided
|
# Add state file argument if provided
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user