From 85c913021be4d64242007526dca73a16f735eb46 Mon Sep 17 00:00:00 2001 From: neeraj Date: Thu, 31 Aug 2023 14:02:57 +0530 Subject: [PATCH] Change Hardhat mining mode to interval mining --- packages/server/hardhat.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/server/hardhat.config.ts b/packages/server/hardhat.config.ts index f9668ebd..89921c98 100644 --- a/packages/server/hardhat.config.ts +++ b/packages/server/hardhat.config.ts @@ -2,6 +2,14 @@ import { HardhatUserConfig } from 'hardhat/config'; const config: HardhatUserConfig = { solidity: '0.8.18', + networks: { + hardhat: { + mining: { + auto: false, + interval: 5000, + }, + }, + }, }; export default config;