#Configuration
You can use the ignition
field in the Hardhat config to customize how Hardhat Ignition behaves:
// hardhat.config.js
module.exports = {
ignition: {
blockPollingInterval: 1_000,
timeBeforeBumpingFees: 3 * 60 * 1_000,
maxFeeBumps: 4,
requiredConfirmations: 5,
},
};
# Configuration options
These are the different options you can add to your Hardhat config file.
#blockPollingInterval
The time in milliseconds that Hardhat Ignition will wait between checks that a new block has been minted.
Default value: 1000 milliseconds (1 second).
#timeBeforeBumpingFees
The time in milliseconds to wait before bumping the fee for an unconfirmed transaction.
Default value: 180,000 milliseconds (3 minutes).
#maxFeeBumps
The number of times an unconfirmed transaction will have its fee bumped before Hardhat Ignition considers it timed out.
Default value: 4.
#requiredConfirmations
The number of confirmations Hardhat Ignition waits before considering a transaction as complete. This provides control over block re-org risk.
Default value: 5