mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-07 15:53:07 +00:00
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: {
|
networks: {
|
||||||
hardhat: {
|
hardhat: {
|
||||||
tags: ["local"],
|
tags: ["local"],
|
||||||
|
mining: {
|
||||||
|
auto: true,
|
||||||
|
// Workaround for https://github.com/NomicFoundation/hardhat/issues/2053
|
||||||
|
interval: 4 * 60 * 1000
|
||||||
|
}
|
||||||
},
|
},
|
||||||
codexdisttestnetwork: {
|
codexdisttestnetwork: {
|
||||||
url: `${process.env.DISTTEST_NETWORK_URL}`,
|
url: `${process.env.DISTTEST_NETWORK_URL}`,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user