Commit 775118a0 authored by Matt Masurka's avatar Matt Masurka Committed by GitHub

Contracts: connectToL1Contracts & connectToL2Contracts (part 1) (#858)

* Contracts: connectToL1Contracts & connectToL2Contrats (part 1)

* chore: add changeset
Co-authored-by: default avatarKelvin Fichter <kelvinfichter@gmail.com>
parent c79dc8b2
---
'@eth-optimism/contracts': patch
---
Updated package json with a missing dependency
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"dist/types-ovm/*.ts", "dist/types-ovm/*.ts",
"artifacts/contracts/**/*.json", "artifacts/contracts/**/*.json",
"artifacts-ovm/contracts/**/*.json", "artifacts-ovm/contracts/**/*.json",
"deployments/**/*.json",
"OVM", "OVM",
"iOVM", "iOVM",
"libraries", "libraries",
...@@ -48,6 +49,7 @@ ...@@ -48,6 +49,7 @@
"dependencies": { "dependencies": {
"@eth-optimism/core-utils": "^0.4.2", "@eth-optimism/core-utils": "^0.4.2",
"@ethersproject/abstract-provider": "^5.0.8", "@ethersproject/abstract-provider": "^5.0.8",
"@ethersproject/abstract-signer": "^5.1.0",
"@ethersproject/contracts": "^5.0.5", "@ethersproject/contracts": "^5.0.5",
"glob": "^7.1.6" "glob": "^7.1.6"
}, },
...@@ -57,11 +59,11 @@ ...@@ -57,11 +59,11 @@
"@eth-optimism/smock": "^1.1.3", "@eth-optimism/smock": "^1.1.3",
"@nomiclabs/hardhat-ethers": "^2.0.1", "@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-waffle": "^2.0.1", "@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "1.0.0",
"@types/buffer-xor": "^2.0.0",
"@typechain/hardhat": "^1.0.1",
"@openzeppelin/contracts": "^3.3.0", "@openzeppelin/contracts": "^3.3.0",
"@openzeppelin/contracts-upgradeable": "^3.3.0", "@openzeppelin/contracts-upgradeable": "^3.3.0",
"@typechain/ethers-v5": "1.0.0",
"@typechain/hardhat": "^1.0.1",
"@types/buffer-xor": "^2.0.0",
"@types/chai": "^4.2.17", "@types/chai": "^4.2.17",
"@types/copyfiles": "^2.4.0", "@types/copyfiles": "^2.4.0",
"@types/glob": "^7.1.3", "@types/glob": "^7.1.3",
...@@ -70,13 +72,13 @@ ...@@ -70,13 +72,13 @@
"@types/mocha": "^8.2.2", "@types/mocha": "^8.2.2",
"@types/yargs": "^16.0.1", "@types/yargs": "^16.0.1",
"buffer-xor": "^2.0.2", "buffer-xor": "^2.0.2",
"ganache-core": "^2.13.2",
"chai": "^4.3.1", "chai": "^4.3.1",
"copyfiles": "^2.3.0", "copyfiles": "^2.3.0",
"directory-tree": "^2.2.7", "directory-tree": "^2.2.7",
"dotenv": "^8.2.0", "dotenv": "^8.2.0",
"ethereum-waffle": "^3.3.0", "ethereum-waffle": "^3.3.0",
"ethers": "^5.0.31", "ethers": "^5.0.31",
"ganache-core": "^2.13.2",
"hardhat": "^2.2.1", "hardhat": "^2.2.1",
"hardhat-deploy": "^0.7.4", "hardhat-deploy": "^0.7.4",
"hardhat-gas-reporter": "^1.0.4", "hardhat-gas-reporter": "^1.0.4",
......
...@@ -5,7 +5,7 @@ import { fromHexString, toHexString } from '@eth-optimism/core-utils' ...@@ -5,7 +5,7 @@ import { fromHexString, toHexString } from '@eth-optimism/core-utils'
import xor from 'buffer-xor' import xor from 'buffer-xor'
/* Internal Imports */ /* Internal Imports */
import { getContractDefinition } from '../../src' import { getContractDefinition } from '../../src/contract-defs'
export const DEFAULT_ACCOUNTS = defaultAccounts export const DEFAULT_ACCOUNTS = defaultAccounts
export const DEFAULT_ACCOUNTS_HARDHAT = defaultAccounts.map((account) => { export const DEFAULT_ACCOUNTS_HARDHAT = defaultAccounts.map((account) => {
......
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["./test"], "include": ["./test", "src/**/*", "deployments"],
"files": ["./hardhat.config.ts"] "files": ["./hardhat.config.ts"]
} }
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
"extends": "../../tslint.base.json", "extends": "../../tslint.base.json",
"rules": { "rules": {
"array-type": false, "array-type": false,
"class-name": false "class-name": false,
"no-var-requires": false
} }
} }
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