Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
7fd0d774
Unverified
Commit
7fd0d774
authored
Jul 06, 2022
by
smartcontracts
Committed by
GitHub
Jul 06, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2944 from ethereum-optimism/fix/typechain
contracts-bedrock: fix typechain
parents
372f66a8
78d7c2ec
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
22 deletions
+17
-22
yellow-readers-vanish.md
.changeset/yellow-readers-vanish.md
+5
-0
hardhat.config.ts
packages/contracts-bedrock/hardhat.config.ts
+3
-5
package.json
packages/contracts-bedrock/package.json
+5
-5
yarn.lock
yarn.lock
+4
-12
No files found.
.changeset/yellow-readers-vanish.md
0 → 100644
View file @
7fd0d774
---
'
@eth-optimism/contracts-bedrock'
:
patch
---
Update typechain pipeline
packages/contracts-bedrock/hardhat.config.ts
View file @
7fd0d774
...
...
@@ -4,7 +4,6 @@ import { TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS } from 'hardhat/builtin-tasks/ta
// Hardhat plugins
import
'
@nomiclabs/hardhat-ethers
'
import
'
@typechain/hardhat
'
import
'
hardhat-deploy
'
import
'
@foundry-rs/hardhat-forge
'
import
'
@eth-optimism/hardhat-deploy-config
'
...
...
@@ -48,16 +47,15 @@ const config: HardhatUserConfig = {
},
foundry
:
{
buildInfo
:
true
,
// call runSuper in the hardhat task so that
// other things execute
runSuper
:
true
,
},
paths
:
{
deploy
:
'
./deploy
'
,
deployments
:
'
./deployments
'
,
deployConfig
:
'
./deploy-config
'
,
},
typechain
:
{
outDir
:
'
dist/types
'
,
target
:
'
ethers-v5
'
,
},
namedAccounts
:
{
deployer
:
{
default
:
0
,
...
...
packages/contracts-bedrock/package.json
View file @
7fd0d774
...
...
@@ -16,8 +16,8 @@
"scripts"
:
{
"build:forge"
:
"forge build"
,
"prebuild"
:
"yarn ts-node scripts/verifyFoundryInstall.ts"
,
"build"
:
"hardhat compile &&
tsc && hardhat
typechain"
,
"build:ts"
:
"tsc"
,
"build"
:
"hardhat compile &&
yarn build:ts && yarn
typechain"
,
"build:ts"
:
"tsc
-p tsconfig.json
"
,
"deploy"
:
"hardhat deploy"
,
"test"
:
"forge test"
,
"gas-snapshot"
:
"forge snapshot"
,
...
...
@@ -30,7 +30,8 @@
"lint:ts:fix"
:
"yarn prettier --write ."
,
"lint:contracts:fix"
:
"yarn prettier --write 'contracts/**/*.sol'"
,
"lint:fix"
:
"yarn lint:contracts:fix && yarn lint:ts:fix"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"typechain"
:
"typechain --target ethers-v5 --out-dir dist/types --glob 'artifacts/!(build-info)/**/+([a-zA-Z0-9_]).json'"
},
"dependencies"
:
{
"@eth-optimism/core-utils"
:
"^0.9.0"
,
...
...
@@ -50,11 +51,10 @@
"devDependencies"
:
{
"@eth-optimism/hardhat-deploy-config"
:
"^0.2.0"
,
"@defi-wonderland/smock"
:
"^2.0.2"
,
"@foundry-rs/hardhat-forge"
:
"^0.1.1
0
"
,
"@foundry-rs/hardhat-forge"
:
"^0.1.1
1
"
,
"@nomiclabs/hardhat-ethers"
:
"^2.0.0"
,
"@nomiclabs/hardhat-waffle"
:
"^2.0.0"
,
"@typechain/ethers-v5"
:
"^10.1.0"
,
"@typechain/hardhat"
:
"^6.1.2"
,
"@typescript-eslint/eslint-plugin"
:
"^5.26.0"
,
"@typescript-eslint/parser"
:
"^4.29.1"
,
"chai"
:
"^4.2.0"
,
...
...
yarn.lock
View file @
7fd0d774
...
...
@@ -1614,10 +1614,10 @@
command-exists "^1.2.9"
ts-interface-checker "^0.1.9"
"@foundry-rs/hardhat-forge@^0.1.1
0
":
version "0.1.1
0
"
resolved "https://registry.yarnpkg.com/@foundry-rs/hardhat-forge/-/hardhat-forge-0.1.1
0.tgz#031a85c1c8e51bbf72390d950721611d83f089df
"
integrity sha512-
L5E+zXF/AazR2yO0ZoHtj74uyetO/mXxjSx5hOtjEpUX6czRbGP+tPbbTGjKnoMUzUP5uF1N0TjfCe7T9UpBbA
==
"@foundry-rs/hardhat-forge@^0.1.1
1
":
version "0.1.1
1
"
resolved "https://registry.yarnpkg.com/@foundry-rs/hardhat-forge/-/hardhat-forge-0.1.1
1.tgz#64f604ea6d69d1fec3bbccf1b86e6766453f31ec
"
integrity sha512-
2/52ucRcr2N21UB6qj8zbhceb6Gtac6J6uKvsvUBG1DTafWRtOQotQFo0rPq1BIi7mbUmczUlU6pwEIXZDhp6w
==
dependencies:
"@foundry-rs/easy-foundryup" "^0.1.3"
"@nomiclabs/hardhat-ethers" "^2.0.0"
...
...
@@ -3190,14 +3190,6 @@
dependencies:
fs-extra "^9.1.0"
"@typechain/hardhat@^6.1.2":
version "6.1.2"
resolved "https://registry.yarnpkg.com/@typechain/hardhat/-/hardhat-6.1.2.tgz#d3beccc6937d93f9b437616b741f839a8b953693"
integrity sha512-k4Ea3pVITKB2DH8p1a5U38cyy7KZPD04Spo4q5b4wO+n2mT+uAz5dxckPtbczn/Kk5wiFq+ZkuOtw5ZKFhL/+w==
dependencies:
fs-extra "^9.1.0"
lodash "^4.17.15"
"@types/abstract-leveldown@*":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@types/abstract-leveldown/-/abstract-leveldown-5.0.2.tgz#ee81917fe38f770e29eec8139b6f16ee4a8b0a5f"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment