Commit a47f0c04 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: fix some typing

parent 2fd0a2fe
......@@ -5,7 +5,7 @@ const { env } = process
const startingTimestamp =
typeof env.L2OO_STARTING_BLOCK_TIMESTAMP === 'string'
? ethers.BigNumber.from(env.L2OO_STARTING_BLOCK_TIMESTAMP).toNumber()
: Date.now() / 1000
: (Date.now() / 1000) | 0
const config = {
submissionInterval: 6,
......
......@@ -11,8 +11,7 @@ task('genesis-l1', 'create a genesis config')
'genesis.json'
)
.setAction(async (args, hre) => {
// TODO: type needs to be updated to work with modern geth
const alloc: State | any = {}
const alloc: State = {}
// Give each predeploy a single wei
for (let i = 0; i <= 0xff; i++) {
......
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