Skip to content

Commit ec9b4fb

Browse files
committed
chore(protocol-contracts): clean hardhat config
1 parent 6dbfe92 commit ec9b4fb

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

protocol-contracts/staking/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test: clean
2020
DOTENV_CONFIG_PATH=$(ENV_PATH) npx hardhat test --network hardhat $(if $(GREP),--grep '$(GREP)',)
2121

2222
test-tasks: clean
23-
DOTENV_CONFIG_PATH=$(ENV_PATH) npx hardhat test-tasks --network hardhat $(if $(GREP),--grep '$(GREP)',)
23+
DOTENV_CONFIG_PATH=$(ENV_PATH) npx hardhat test:tasks --network hardhat $(if $(GREP),--grep '$(GREP)',)
2424

2525

2626
# Conform to pre-commit checks

protocol-contracts/staking/hardhat.config.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import 'solidity-coverage';
2727
// To make use of automatic environment setup:
2828
// - Duplicate .env.example file and name it .env
2929
// - Fill in the environment variables
30+
dotenv.config();
3031

3132
// Set your preferred authentication method
3233
//
@@ -109,15 +110,6 @@ const config: HardhatUserConfig = {
109110
alice: {
110111
default: 1, // wallet address of index[1], of the mnemonic in .env
111112
},
112-
bob: {
113-
default: 2, // wallet address of index[2], of the mnemonic in .env
114-
},
115-
charlie: {
116-
default: 3, // wallet address of index[3], of the mnemonic in .env
117-
},
118-
dave: {
119-
default: 4, // wallet address of index[4], of the mnemonic in .env
120-
},
121113
},
122114
gasReporter: {
123115
currency: 'USD',

0 commit comments

Comments
 (0)