feat(forge create / cast send
): add --gas-estimate-multiplier
flag
#1803
Labels
C-cast
Command: cast
C-forge
Command: forge
Cmd-forge-create
Command: forge create
good first issue
Good for newcomers
P-normal
Priority: normal
T-feature
Type: feature
Component
Forge
Describe the feature you would like
For certain networks, gas(price) may be incorrectly estimated, resulting in transactions that are underpriced:
#1703
in
forge create
we use the defaultProvider::{estimate_gas,get_gas_price}
functions to fill the transactions, if they're not provided via cli argumentsit would be useful to scale these estimates percentage-wise, perhaps
--scale-gas-limit 20
to use a1.2
multiplier for the gas limit.Additional context
No response
The text was updated successfully, but these errors were encountered: