Commit db0a7c98 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: fix imports

Removes linter errors by importing things that extend types
parent 483e27c7
...@@ -3,6 +3,7 @@ import fs from 'fs' ...@@ -3,6 +3,7 @@ import fs from 'fs'
import { ethers } from 'ethers' import { ethers } from 'ethers'
import { task } from 'hardhat/config' import { task } from 'hardhat/config'
import { Genesis, State } from '@eth-optimism/core-utils' import { Genesis, State } from '@eth-optimism/core-utils'
import '@eth-optimism/hardhat-deploy-config'
task('genesis-l1', 'create a genesis config') task('genesis-l1', 'create a genesis config')
.addOptionalParam( .addOptionalParam(
......
...@@ -141,7 +141,6 @@ task('genesis-l2', 'create a genesis config') ...@@ -141,7 +141,6 @@ task('genesis-l2', 'create a genesis config')
predeployAddrs.add(ethers.utils.getAddress(addr)) predeployAddrs.add(ethers.utils.getAddress(addr))
} }
// TODO: geth likes strings for nonce and balance now
const alloc: State = {} const alloc: State = {}
// Set a proxy at each predeploy address // Set a proxy at each predeploy address
......
...@@ -3,6 +3,8 @@ import fs from 'fs' ...@@ -3,6 +3,8 @@ import fs from 'fs'
import { task } from 'hardhat/config' import { task } from 'hardhat/config'
import { OpNodeConfig, getChainId } from '@eth-optimism/core-utils' import { OpNodeConfig, getChainId } from '@eth-optimism/core-utils'
import { ethers } from 'ethers' import { ethers } from 'ethers'
import 'hardhat-deploy'
import '@eth-optimism/hardhat-deploy-config'
task('rollup-config', 'create a genesis config') task('rollup-config', 'create a genesis config')
.addOptionalParam( .addOptionalParam(
......
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