Skip to content

Commit 27afeb8

Browse files
authored
Merge pull request #1070 from graphprotocol/tmigone/update-hsa
2 parents 0f2100d + b1c1f8e commit 27afeb8

File tree

5 files changed

+44
-3
lines changed

5 files changed

+44
-3
lines changed

packages/horizon/hardhat.config.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import '@nomicfoundation/hardhat-toolbox'
33
import '@nomicfoundation/hardhat-ignition-ethers'
44
import 'hardhat-storage-layout'
55
import 'hardhat-contract-sizer'
6+
import 'hardhat-secure-accounts'
67

78
import { HardhatUserConfig } from 'hardhat/config'
89

@@ -20,17 +21,20 @@ const config: HardhatUserConfig = {
2021
artifacts: './build/contracts',
2122
sources: './contracts',
2223
},
24+
secureAccounts: {
25+
enabled: true,
26+
},
2327
networks: {
2428
hardhat: {
29+
secureAccounts: {
30+
enabled: false,
31+
},
2532
accounts: {
2633
mnemonic: 'myth like bonus scare over problem client lizard pioneer submit female collect',
2734
},
2835
},
2936
arbitrumSepolia: {
3037
url: 'https://sepolia-rollup.arbitrum.io/rpc',
31-
accounts: {
32-
mnemonic: process.env.MNEMONIC ?? '',
33-
},
3438
},
3539
},
3640
etherscan: {

packages/horizon/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"hardhat": "^2.20.1",
3838
"hardhat-contract-sizer": "^2.10.0",
3939
"hardhat-gas-reporter": "^1.0.8",
40+
"hardhat-secure-accounts": "^1.0.4",
4041
"hardhat-storage-layout": "^0.1.7",
4142
"lint-staged": "^15.2.2",
4243
"prettier": "^3.2.5",

packages/subgraph-service/hardhat.config.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import '@nomicfoundation/hardhat-ignition-ethers'
33
import '@nomicfoundation/hardhat-toolbox'
44
import 'hardhat-contract-sizer'
55
import 'hardhat-storage-layout'
6+
import 'hardhat-secure-accounts'
67
import 'solidity-docgen'
78

89
import { HardhatUserConfig } from 'hardhat/config'
@@ -21,6 +22,22 @@ const config: HardhatUserConfig = {
2122
artifacts: './build/contracts',
2223
sources: './contracts',
2324
},
25+
secureAccounts: {
26+
enabled: true,
27+
},
28+
networks: {
29+
hardhat: {
30+
secureAccounts: {
31+
enabled: false,
32+
},
33+
accounts: {
34+
mnemonic: 'myth like bonus scare over problem client lizard pioneer submit female collect',
35+
},
36+
},
37+
arbitrumSepolia: {
38+
url: 'https://sepolia-rollup.arbitrum.io/rpc',
39+
},
40+
},
2441
}
2542

2643
export default config

packages/subgraph-service/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"hardhat": "^2.20.1",
3939
"hardhat-contract-sizer": "^2.10.0",
4040
"hardhat-gas-reporter": "^1.0.8",
41+
"hardhat-secure-accounts": "^1.0.4",
4142
"hardhat-storage-layout": "^0.1.7",
4243
"lint-staged": "^15.2.2",
4344
"prettier": "^3.2.5",

yarn.lock

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2953,6 +2953,7 @@ __metadata:
29532953
hardhat: "npm:^2.20.1"
29542954
hardhat-contract-sizer: "npm:^2.10.0"
29552955
hardhat-gas-reporter: "npm:^1.0.8"
2956+
hardhat-secure-accounts: "npm:^1.0.4"
29562957
hardhat-storage-layout: "npm:^0.1.7"
29572958
lint-staged: "npm:^15.2.2"
29582959
prettier: "npm:^3.2.5"
@@ -3046,6 +3047,7 @@ __metadata:
30463047
hardhat: "npm:^2.20.1"
30473048
hardhat-contract-sizer: "npm:^2.10.0"
30483049
hardhat-gas-reporter: "npm:^1.0.8"
3050+
hardhat-secure-accounts: "npm:^1.0.4"
30493051
hardhat-storage-layout: "npm:^0.1.7"
30503052
lint-staged: "npm:^15.2.2"
30513053
prettier: "npm:^3.2.5"
@@ -14246,6 +14248,22 @@ __metadata:
1424614248
languageName: node
1424714249
linkType: hard
1424814250

14251+
"hardhat-secure-accounts@npm:^1.0.4":
14252+
version: 1.0.4
14253+
resolution: "hardhat-secure-accounts@npm:1.0.4"
14254+
dependencies:
14255+
debug: "npm:^4.3.4"
14256+
enquirer: "npm:^2.3.6"
14257+
lodash.clonedeep: "npm:^4.5.0"
14258+
prompt-sync: "npm:^4.2.0"
14259+
peerDependencies:
14260+
"@nomicfoundation/hardhat-ethers": ^3.0.0
14261+
ethers: ^6.13.0
14262+
hardhat: ^2.22.0
14263+
checksum: 6406be693502234f342b9e27215bb3ecb3502a0d9f5299c5c1f5e1be28f08d26226cff511723e719639dc12fb2e4e329386a41e5c90f57b3bf3116656c45c2b5
14264+
languageName: node
14265+
linkType: hard
14266+
1424914267
"hardhat-storage-layout@npm:0.1.6":
1425014268
version: 0.1.6
1425114269
resolution: "hardhat-storage-layout@npm:0.1.6"

0 commit comments

Comments
 (0)