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
0c046e9b
Unverified
Commit
0c046e9b
authored
Oct 01, 2021
by
Mark Tyneway
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contracts: add goerli genesis script
Adds a script that will create the goerli genesis file
parent
d7978cfc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
take-dump.ts
packages/contracts/bin/take-dump.ts
+2
-0
goerli-genesis.sh
packages/contracts/scripts/deploy-scripts/goerli-genesis.sh
+11
-0
No files found.
packages/contracts/bin/take-dump.ts
View file @
0c046e9b
...
@@ -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
'
)
...
...
packages/contracts/scripts/deploy-scripts/goerli-genesis.sh
0 → 100755
View file @
0c046e9b
#!/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
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