How does one configure either Truffle itself,
or Truffle's HDWalletProvider
such that the poll interval is different?
I would like my Truffle instance to be less "chatty" over JSON-RPC, when it has submitted a transaction and is waiting for a result, be decreasing the polling interval from it's default value.
I was not able to find this option in the following documentation:
- https://www.trufflesuite.com/docs/truffle/reference/configuration#networks
- https://github.com/trufflesuite/truffle/tree/master/packages/hdwallet-provider#instantiation
In truffle-config.js
, within networks
:
testnet: {
provider: () => new HDWalletProvider(
SEED_PHRASE,
'https://localhost:4444/',
),
gasPrice: Math.floor(GAS_PRICE),
networkCheckTimeout: 1e3,
},