Skip to content

Commit f3134fb

Browse files
committed
Update packages (#466)
Use Typechain v5 and update packages
1 parent 4707dd6 commit f3134fb

File tree

4 files changed

+207
-230
lines changed

4 files changed

+207
-230
lines changed

cli/commands/airdrop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const loadRecipients = (path: string): Array<AirdropRecipient> => {
112112
logger.fatal(`Error loading address "${address}" please review the input file`)
113113
process.exit(1)
114114
}
115-
results.push({ address, amount: weiAmount, txHash })
115+
results.push({ address, amount: weiAmount as any, txHash })
116116
}
117117
return results
118118
}

hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ import '@nomiclabs/hardhat-ethers'
2121
import '@nomiclabs/hardhat-etherscan'
2222
import '@nomiclabs/hardhat-waffle'
2323
import 'hardhat-abi-exporter'
24-
import 'hardhat-typechain'
2524
import 'hardhat-gas-reporter'
2625
import 'hardhat-contract-sizer'
2726
import '@tenderly/hardhat-tenderly'
2827
import '@openzeppelin/hardhat-upgrades'
28+
import '@typechain/hardhat'
2929

3030
// TODO: Not supported for now in hardhat
3131
// usePlugin('solidity-coverage')

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@
1717
},
1818
"devDependencies": {
1919
"@ethersproject/experimental": "^5.1.2",
20-
"@graphprotocol/common-ts": "^1.4.2",
20+
"@graphprotocol/common-ts": "^1.5.0",
2121
"@nomiclabs/hardhat-ethers": "^2.0.2",
2222
"@nomiclabs/hardhat-etherscan": "^2.1.1",
2323
"@nomiclabs/hardhat-waffle": "^2.0.1",
2424
"@openzeppelin/contracts": "^3.4.1",
2525
"@openzeppelin/hardhat-upgrades": "^1.6.0",
2626
"@tenderly/hardhat-tenderly": "^1.0.11",
27-
"@typechain/ethers-v5": "^6.0.5",
27+
"@typechain/ethers-v5": "^7.0.0",
28+
"@typechain/hardhat": "^2.0.0",
2829
"@types/bs58": "^4.0.1",
2930
"@types/dotenv": "^8.2.0",
3031
"@types/inquirer": "^7.3.1",
@@ -40,7 +41,7 @@
4041
"chai": "^4.3.4",
4142
"cli-table": "^0.3.6",
4243
"consola": "^2.15.3",
43-
"dotenv": "^8.2.0",
44+
"dotenv": "^9.0.0",
4445
"eslint": "^7.24.0",
4546
"eslint-config-prettier": "^8.3.0",
4647
"eslint-config-standard": "^16.0.0",
@@ -56,9 +57,8 @@
5657
"hardhat-abi-exporter": "^2.2.0",
5758
"hardhat-contract-sizer": "^2.0.3",
5859
"hardhat-gas-reporter": "^1.0.4",
59-
"hardhat-typechain": "^0.3.5",
6060
"husky": "^4.3.8",
61-
"inquirer": "^7.3.3",
61+
"inquirer": "^8.0.0",
6262
"ipfs-http-client": "47.0.1",
6363
"lint-staged": "^10.5.4",
6464
"minimist": "^1.2.5",
@@ -68,10 +68,10 @@
6868
"solidity-coverage": "^0.7.16",
6969
"ts-generator": "^0.1.1",
7070
"ts-node": "^9.1.1",
71-
"typechain": "^4.0.0",
71+
"typechain": "^5.0.0",
7272
"typescript": "^4.2.4",
7373
"yaml": "^1.10.2",
74-
"yargs": "^15.4.1"
74+
"yargs": "^17.0.0"
7575
},
7676
"scripts": {
7777
"prepublishOnly": "scripts/prepublish",

0 commit comments

Comments
 (0)