Skip to content

Commit

Permalink
fix: updated fhevmjs and using same accounts in mocked and fhevm modes
Browse files Browse the repository at this point in the history
  • Loading branch information
jatZama committed Feb 22, 2024
1 parent 34f4be5 commit 1fbd253
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export INFURA_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export MNEMONIC="inquiry potato become monster tornado chest logic egg tenant brick donkey hold"
export MNEMONIC="adapt mosquito move limb mobile illegal tree voyage juice mosquito burger raise father hope layer"

# Block explorer API keys
export ARBISCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export BSCSCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export ETHERSCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export OPTIMISM_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export POLYGONSCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export SNOWTRACE_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export SNOWTRACE_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
7 changes: 7 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ const config: HardhatUserConfig = {
src: "./contracts",
},
networks: {
hardhat: {
accounts: {
count: 10,
mnemonic,
path: "m/44'/60'/0'/0",
},
},
zama: getChainConfig("zama"),
localDev: getChainConfig("local"),
local: getChainConfig("local"),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"eslint-config-prettier": "^8.5.0",
"ethers": "^6.8.0",
"fhevm": "0.4.0-0",
"fhevmjs": "^0.4.0-3",
"fhevmjs": "^0.4.0-4",
"fs-extra": "^10.1.0",
"hardhat": "^2.19.4",
"hardhat-deploy": "^0.11.29",
Expand Down

0 comments on commit 1fbd253

Please sign in to comment.