瀏覽代碼

test: use the same accounts in the hardhat network

Paul Razvan Berg 4 年之前
父節點
當前提交
1cf5c01f86
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      hardhat.config.ts

+ 3 - 0
hardhat.config.ts

@@ -54,6 +54,9 @@ const config: HardhatUserConfig = {
   defaultNetwork: "hardhat",
   networks: {
     hardhat: {
+      accounts: {
+        mnemonic,
+      },
       chainId: chainIds.hardhat,
     },
     goerli: createTestnetConfig("goerli"),