Skip to content

Commit 7ad72dc

Browse files
committed
docs(ignition): add maxPriorityFeePerGas to config
Documents the `maxPriorityFeePerGas` as a config value for network configuration.
1 parent 3440e26 commit 7ad72dc

File tree

1 file changed

+7
-0
lines changed
  • docs/src/content/ignition/docs/config

1 file changed

+7
-0
lines changed

docs/src/content/ignition/docs/config/index.md

+7
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ module.exports = {
5656
// ...
5757
ignition: {
5858
maxFeePerGasLimit: 50_000_000_000n, // 50 gwei
59+
maxPriorityFeePerGas: 2_000_000_000n, // 2 gwei
5960
},
6061
// ...
6162
},
@@ -70,3 +71,9 @@ These are the different options you can add to the per-network `ignition` config
7071
If set, places a limit on the maximum fee per gas that Hardhat Ignition will allow when sending transactions. If Hardhat Ignition's calculated max fee per gas is higher than the limit, the deployment will be stopped with an error. This is useful for preventing accidental high fees during busy periods.
7172

7273
Default value: undefined
74+
75+
### `maxPriorityFeePerGas`
76+
77+
The maximum priority fee per gas, in wei, that Hardhat Ignition will use for gas fee calculations when sending transactions. If not set then Hardhat Ignition will try to use `eth_maxPriorityFeePerGas` if available, or default to 1 gwei.
78+
79+
Default value: undefined

0 commit comments

Comments
 (0)