Skip to content

Commit

Permalink
chore: fix generation of deployment files
Browse files Browse the repository at this point in the history
  • Loading branch information
chechu committed Nov 20, 2023
1 parent 2e7357d commit 598fc86
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#FORK_TESTNET=true
#BSC_ARCHIVE_NODE=https://bsc-testnet.nodereal.io/v1/<API key>
#BSC_ARCHIVE_NODE_URL=https://bsc-testnet.nodereal.io/v1/<API key>
#FORK_MAINNET=true
#BSC_ARCHIVE_NODE=https://bsc-mainnet.nodereal.io/v1/<API key>
#BSC_ARCHIVE_NODE_URL=https://bsc-mainnet.nodereal.io/v1/<API key>
#BSC_ARCHIVE_NODE_URL=http://127.0.0.1:1248
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const config: HardhatUserConfig = {
timeout: 12000000,
},
bscmainnet: {
url: "http://127.0.0.1:1248",
url: process.env.BSC_ARCHIVE_NODE_URL || "https://bsc-dataseed.binance.org/",
chainId: 56,
live: true,
timeout: 1200000, // 20 minutes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "3.4.1",
"eslint-plugin-promise": "^5.2.0",
"hardhat": "^2.16.1",
"hardhat": "^2.19.1",
"hardhat-deploy": "^0.11.26",
"hardhat-deploy-ethers": "^0.3.0-beta.13",
"hardhat-gas-reporter": "^1.0.8",
Expand Down
68 changes: 67 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3123,7 +3123,7 @@ __metadata:
eslint-plugin-prettier: 3.4.1
eslint-plugin-promise: ^5.2.0
ethers: ^5.7.0
hardhat: ^2.16.1
hardhat: ^2.19.1
hardhat-deploy: ^0.11.26
hardhat-deploy-ethers: ^0.3.0-beta.13
hardhat-gas-reporter: ^1.0.8
Expand Down Expand Up @@ -6883,6 +6883,72 @@ __metadata:
languageName: node
linkType: hard

"hardhat@npm:^2.19.1":
version: 2.19.1
resolution: "hardhat@npm:2.19.1"
dependencies:
"@ethersproject/abi": ^5.1.2
"@metamask/eth-sig-util": ^4.0.0
"@nomicfoundation/ethereumjs-block": 5.0.2
"@nomicfoundation/ethereumjs-blockchain": 7.0.2
"@nomicfoundation/ethereumjs-common": 4.0.2
"@nomicfoundation/ethereumjs-evm": 2.0.2
"@nomicfoundation/ethereumjs-rlp": 5.0.2
"@nomicfoundation/ethereumjs-statemanager": 2.0.2
"@nomicfoundation/ethereumjs-trie": 6.0.2
"@nomicfoundation/ethereumjs-tx": 5.0.2
"@nomicfoundation/ethereumjs-util": 9.0.2
"@nomicfoundation/ethereumjs-vm": 7.0.2
"@nomicfoundation/solidity-analyzer": ^0.1.0
"@sentry/node": ^5.18.1
"@types/bn.js": ^5.1.0
"@types/lru-cache": ^5.1.0
adm-zip: ^0.4.16
aggregate-error: ^3.0.0
ansi-escapes: ^4.3.0
chalk: ^2.4.2
chokidar: ^3.4.0
ci-info: ^2.0.0
debug: ^4.1.1
enquirer: ^2.3.0
env-paths: ^2.2.0
ethereum-cryptography: ^1.0.3
ethereumjs-abi: ^0.6.8
find-up: ^2.1.0
fp-ts: 1.19.3
fs-extra: ^7.0.1
glob: 7.2.0
immutable: ^4.0.0-rc.12
io-ts: 1.10.4
keccak: ^3.0.2
lodash: ^4.17.11
mnemonist: ^0.38.0
mocha: ^10.0.0
p-map: ^4.0.0
raw-body: ^2.4.1
resolve: 1.17.0
semver: ^6.3.0
solc: 0.7.3
source-map-support: ^0.5.13
stacktrace-parser: ^0.1.10
tsort: 0.0.1
undici: ^5.14.0
uuid: ^8.3.2
ws: ^7.4.6
peerDependencies:
ts-node: "*"
typescript: "*"
peerDependenciesMeta:
ts-node:
optional: true
typescript:
optional: true
bin:
hardhat: internal/cli/bootstrap.js
checksum: 0c12069e8eae47419d595e38d22716049136cf74390f9e89121ae73fdc716ffcb6cd3283e3ca8676ce00e3ff90804dfa95473830d96340ec01860dfa6237d8d3
languageName: node
linkType: hard

"hardhat@npm:^2.8.0":
version: 2.19.0
resolution: "hardhat@npm:2.19.0"
Expand Down

0 comments on commit 598fc86

Please sign in to comment.