Commit 61b227d3 authored by smartcontracts's avatar smartcontracts Committed by GitHub

Update TypeChain usage (#305)

parent 0b668b2b
......@@ -8,7 +8,7 @@ import {
// Hardhat plugins
import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-waffle'
import 'hardhat-typechain'
import '@typechain/hardhat'
import '@eth-optimism/plugins/hardhat/compiler'
import '@eth-optimism/smock/build/src/plugins/hardhat-storagelayout'
......
......@@ -6,7 +6,8 @@
"build/**/*.js",
"build/contracts/*",
"build/dumps/*json",
"build/artifacts/**/*.json"
"build/artifacts/**/*.json",
"build/types/**/*.ts"
],
"license": "MIT",
"scripts": {
......@@ -39,6 +40,7 @@
"@ethersproject/contracts": "^5.0.5",
"@ethersproject/hardware-wallets": "^5.0.8",
"@openzeppelin/contracts": "^3.3.0",
"@typechain/hardhat": "^1.0.1",
"ganache-core": "^2.12.1",
"glob": "^7.1.6"
},
......@@ -56,7 +58,6 @@
"ethereum-waffle": "3.0.0",
"ethers": "^5.0.31",
"hardhat": "^2.0.8",
"hardhat-typechain": "^0.3.4",
"lodash": "^4.17.20",
"merkle-patricia-tree": "^4.0.0",
"merkletreejs": "^0.2.12",
......
......@@ -927,6 +927,11 @@
dependencies:
ethers "^5.0.2"
"@typechain/hardhat@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@typechain/hardhat/-/hardhat-1.0.1.tgz#6e53956c15b2aff073413cfcdb3f5339b0a85f2e"
integrity sha512-gRETPlvLdN95PIP3PVktEtQSnSMJMWxaxNKI34KFPYEuW4QLLm6UrUCHWmulhB1eUQ1EhYRAda7kEhcJOQ/M1g==
"@types/abstract-leveldown@*":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@types/abstract-leveldown/-/abstract-leveldown-5.0.1.tgz#3c7750d0186b954c7f2d2f6acc8c3c7ba0c3412e"
......@@ -4496,11 +4501,6 @@ har-validator@~5.1.3:
ajv "^6.12.3"
har-schema "^2.0.0"
hardhat-typechain@^0.3.4:
version "0.3.5"
resolved "https://registry.yarnpkg.com/hardhat-typechain/-/hardhat-typechain-0.3.5.tgz#8e50616a9da348b33bd001168c8fda9c66b7b4af"
integrity sha512-w9lm8sxqTJACY+V7vijiH+NkPExnmtiQEjsV9JKD1KgMdVk2q8y+RhvU/c4B7+7b1+HylRUCxpOIvFuB3rE4+w==
hardhat@^2.0.3, hardhat@^2.0.8:
version "2.0.10"
resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.0.10.tgz#9b50da13b6915bb9b61b7f38f8f2b9b352447462"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment