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
8d1e1080
Commit
8d1e1080
authored
Mar 21, 2025
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c8f2f650
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
4 deletions
+14
-4
.gitignore
.gitignore
+1
-0
deploy.sh
deploy.sh
+9
-2
generate.sh
generate.sh
+2
-1
flags.go
op-proposer/flags/flags.go
+1
-0
config.sh
packages/contracts-bedrock/scripts/getting-started/config.sh
+1
-1
No files found.
.gitignore
View file @
8d1e1080
...
...
@@ -49,3 +49,4 @@ crytic-export
bin
data
.node
deployer
deploy.sh
View file @
8d1e1080
...
...
@@ -4,16 +4,23 @@ configdir=$(pwd)/deployer
deploymentdir
=
$rootdir
/packages/contracts-bedrock/deployments
cp
$configdir
/config.json
$deploymentdir
/
source
$rootdir
/.envrc
cd
packages/contracts-bedrock
&&
\
cd
$rootdir
/packages/contracts-bedrock
&&
./scripts/getting-started/config.sh
echo
"configure finished"
cd
$rootdir
/packages/contracts-bedrock
&&
\
DEPLOYMENT_OUTFILE
=
$deploymentdir
/artifact.json
\
DEPLOY_CONFIG_PATH
=
$deploymentdir
/config.json
\
forge script scripts/deploy/Deploy.s.sol:Deploy
\
--non-interactive
\
--broadcast
--private-key
$PRIVATE_KEY
\
--rpc-url
$L1_RPC_URL
echo
"contract deploy finished"
cp
$deploymentdir
/config.json
$configdir
/
cp
$deploymentdir
/artifact.json
$configdir
/
cd
$rootdir
generate.sh
View file @
8d1e1080
#!/bin/bash
./bin/op-node genesis l2
--deploy-config
./deployer/config.json
--l1-deployments
./deployer/artifact.json
--l2-allocs
./deployer/alloc.json
--outfile
.l2 ./deployer/genesis.json
--outfile
.rollup ./deployer/rollup.json
--l1-rpc
=
http://18.168.16.120:18888
source
.envrc
./bin/op-node genesis l2
--deploy-config
./deployer/config.json
--l1-deployments
./deployer/artifact.json
--l2-allocs
./deployer/alloc.json
--outfile
.l2 ./deployer/genesis.json
--outfile
.rollup ./deployer/rollup.json
--l1-rpc
=
$L1_RPC_URL
op-proposer/flags/flags.go
View file @
8d1e1080
...
...
@@ -49,6 +49,7 @@ var (
Name
:
"allow-non-finalized"
,
Usage
:
"Allow the proposer to submit proposals for L2 blocks derived from non-finalized L1 blocks."
,
EnvVars
:
prefixEnvVars
(
"ALLOW_NON_FINALIZED"
),
Value
:
true
,
}
DisputeGameFactoryAddressFlag
=
&
cli
.
StringFlag
{
Name
:
"game-factory-address"
,
...
...
packages/contracts-bedrock/scripts/getting-started/config.sh
View file @
8d1e1080
...
...
@@ -159,4 +159,4 @@ cat << EOL >> tmp_config.json
EOL
# Write the final config file
mv
tmp_config.json
"
$CONTRACTS_BASE
/deploy
-config/getting-started
.json"
mv
tmp_config.json
"
$CONTRACTS_BASE
/deploy
ments/config
.json"
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