Add workaround for websocket subscription issues
Mine a block every 4 minutes, to keep hardhat from forgetting about websocket subscriptions after 5 minutes.
This commit is contained in:
parent
11ccefd720
commit
cc69f3a3ae
|
@ -24,6 +24,11 @@ module.exports = {
|
|||
networks: {
|
||||
hardhat: {
|
||||
tags: ["local"],
|
||||
mining: {
|
||||
auto: true,
|
||||
// Workaround for https://github.com/NomicFoundation/hardhat/issues/2053
|
||||
interval: 4 * 60 * 1000
|
||||
}
|
||||
},
|
||||
codexdisttestnetwork: {
|
||||
url: `${process.env.DISTTEST_NETWORK_URL}`,
|
||||
|
|
Loading…
Reference in New Issue