File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ proc deployContract*(
2424 tr.`from` = Opt .some (web3.defaultAccount)
2525 let sData = code & contractInput
2626 tr.data = Opt .some (hexToSeqByte (sData))
27- tr.gas = Opt .some (Quantity (3000000000000 ))
2827 if gasPrice != 0 :
2928 tr.gasPrice = Opt .some (gasPrice.Quantity )
3029
Original file line number Diff line number Diff line change @@ -529,6 +529,7 @@ proc runAnvil*(
529529 # --chain-id Chain ID of the network.
530530 # --load-state Initialize the chain from a previously saved state snapshot (read-only)
531531 # --dump-state Dump the state on exit to the given file (write-only)
532+ # Values used are representative of Linea Sepolia testnet
532533 # See anvil documentation https://book.getfoundry.sh/reference/anvil/ for more details
533534 try :
534535 let anvilPath = getAnvilPath ()
@@ -539,11 +540,16 @@ proc runAnvil*(
539540 " --port" ,
540541 $ port,
541542 " --gas-limit" ,
542- " 300000000000000" ,
543+ " 30000000" ,
544+ " --gas-price" ,
545+ " 7" ,
546+ " --base-fee" ,
547+ " 7" ,
543548 " --balance" ,
544- " 1000000000 " ,
549+ " 10000000000 " ,
545550 " --chain-id" ,
546551 $ chainId,
552+ " --disable-min-priority-fee" ,
547553 ]
548554
549555 # Add state file argument if provided
You can’t perform that action at this time.
0 commit comments