Commit 0c046e9b authored by Mark Tyneway's avatar Mark Tyneway Committed by Kelvin Fichter

contracts: add goerli genesis script

Adds a script that will create the goerli genesis file
parent d7978cfc
...@@ -64,6 +64,8 @@ import { makeL2GenesisFile } from '../src/make-genesis' ...@@ -64,6 +64,8 @@ import { makeL2GenesisFile } from '../src/make-genesis'
// The L1 cross domain messenger address, used for cross domain messaging // The L1 cross domain messenger address, used for cross domain messaging
const l1CrossDomainMessengerAddress = env.L1_CROSS_DOMAIN_MESSENGER_ADDRESS const l1CrossDomainMessengerAddress = env.L1_CROSS_DOMAIN_MESSENGER_ADDRESS
ensure(whitelistOwner, 'WHITELIST_OWNER')
ensure(gasPriceOracleOwner, 'GAS_PRICE_ORACLE_OWNER')
ensure(l2BlockGasLimit, 'L2_BLOCK_GAS_LIMIT') ensure(l2BlockGasLimit, 'L2_BLOCK_GAS_LIMIT')
ensure(l2ChainId, 'L2_CHAIN_ID') ensure(l2ChainId, 'L2_CHAIN_ID')
ensure(blockSignerAddress, 'BLOCK_SIGNER_ADDRESS') ensure(blockSignerAddress, 'BLOCK_SIGNER_ADDRESS')
......
#!/bin/bash
export L2_BLOCK_GAS_LIMIT=15000000
export L2_CHAIN_ID=420
export BLOCK_SIGNER_ADDRESS=0xBB5fd80abeAd143B59D1B92a75be8bb0F44D8ECc
export L1_STANDARD_BRIDGE_ADDRESS=0xBB5fd80abeAd143B59D1B92a75be8bb0F44D8ECc
export L1_FEE_WALLET_ADDRESS=0xB79f76EF2c5F0286176833E7B2eEe103b1CC3244
export L1_CROSS_DOMAIN_MESSENGER_ADDRESS=0xE4e015EC8EfAC0d505d8a656C5F93c7FA30c6C5e
export WHITELIST_OWNER=0x0000000000000000000000000000000000000000
export GAS_PRICE_ORACLE_OWNER=0x84f70449f90300997840eCb0918873745Ede7aE6
yarn build:dump
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