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
1c46496d
Commit
1c46496d
authored
Nov 02, 2023
by
Will Cory
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Make paths references DRY
parent
413aac1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
__init__.py
bedrock-devnet/devnet/__init__.py
+3
-4
No files found.
bedrock-devnet/devnet/__init__.py
View file @
1c46496d
...
...
@@ -202,13 +202,12 @@ def devnet_deploy(paths):
# If someone reads this comment and understands why this is being done, please
# update this comment to explain.
init_devnet_l1_deploy_config
(
paths
,
update_timestamp
=
True
)
outfile_l1
=
pjoin
(
paths
.
devnet_dir
,
'genesis-l1.json'
)
run_command
([
'go'
,
'run'
,
'cmd/main.go'
,
'genesis'
,
'l1'
,
'--deploy-config'
,
paths
.
devnet_config_path
,
'--l1-allocs'
,
paths
.
allocs_path
,
'--l1-deployments'
,
paths
.
addresses_json_path
,
'--outfile.l1'
,
outfile_l1
,
'--outfile.l1'
,
paths
.
genesis_l1_path
,
],
cwd
=
paths
.
op_node_dir
)
log
.
info
(
'Starting L1.'
)
...
...
@@ -227,8 +226,8 @@ def devnet_deploy(paths):
'--l1-rpc'
,
'http://localhost:8545'
,
'--deploy-config'
,
paths
.
devnet_config_path
,
'--deployment-dir'
,
paths
.
deployment_dir
,
'--outfile.l2'
,
p
join
(
paths
.
devnet_dir
,
'genesis-l2.json'
)
,
'--outfile.rollup'
,
p
join
(
paths
.
devnet_dir
,
'rollup.json'
)
'--outfile.l2'
,
p
aths
.
genesis_l2_path
,
'--outfile.rollup'
,
p
aths
.
rollup_config_path
],
cwd
=
paths
.
op_node_dir
)
rollup_config
=
read_json
(
paths
.
rollup_config_path
)
...
...
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