Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deploy
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
deploy
Commits
c3588a5e
Commit
c3588a5e
authored
Mar 13, 2025
by
Ubuntu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5644a63a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
.gitignore
.gitignore
+1
-1
Makefile
Makefile
+3
-2
docker-compose.yml
docker-compose.yml
+4
-5
genesis.json
layer1/genesis.json
+1
-1
No files found.
.gitignore
View file @
c3588a5e
.idea
node/data/geth
deploy
ments
deploy
er
Makefile
View file @
c3588a5e
.PHONY
:
build
init
:
docker run
--rm
--name
initlayer1
-v
"
${
PWD
}
/layer1:/root"
tscel/eth:v1.10.26 geth init
--datadir
/root/node/data /root/genesis.json
@
docker run
--rm
--name
initlayer1
-v
"
${
PWD
}
/layer1:/root"
tscel/eth:v1.10.26 geth init
--datadir
/root/node/data /root/genesis.json
build
:
docker build
--no-cache
-t
tscel/exchain:contracts
-f
./build/Dockerfile.contracts .
...
...
@@ -13,4 +14,4 @@ stop:
clean
:
sudo rm
-rf
layer1/.cache layer1/node/data/geth
sudo rm
-rf
layer1/.cache layer1/node/data/geth
deployer
docker-compose.yml
View file @
c3588a5e
...
...
@@ -40,7 +40,6 @@ services:
networks
:
-
exchain
volumes
:
-
"
./layer2/contracts-bedrock:/app/contracts"
-
"
./deployer:/app/contracts/deployments"
-
"
./.git:/app/contracts/.git"
-
"
.envrc:/app/.envrc"
...
...
@@ -55,10 +54,10 @@ services:
volumes
:
-
"
./deployer:/root/deployments"
-
"
./layer2/alloc.json:/root/alloc.json"
-
"
.envrc:/root/.envrc"
entrypoint
:
opnode genesis l2 --deploy-config /root/deployments/config.json --l1-deployments /root/deployments/artifact.json --l2-allocs /root/alloc.json --outfile.l2 /root/deployments/genesis.json --outfile.rollup
.
/root/deployments/rollup.json --l1-rpc=http://172.80.1.2:8545
depends_on
:
-
forge-deploy
# entrypoint: sh -c 'sleep 100'
entrypoint
:
opnode genesis l2 --deploy-config /root/deployments/config.json --l1-deployments /root/deployments/artifact.json --l2-allocs /root/alloc.json --outfile.l2 /root/deployments/genesis.json --outfile.rollup /root/deployments/rollup.json --l1-rpc=http://172.80.1.2:8545
#
depends_on
:
#
- forge-deploy
...
...
layer1/genesis.json
View file @
c3588a5e
...
...
@@ -20,7 +20,7 @@
"nonce"
:
"0x0"
,
"timestamp"
:
"0x67d155d4"
,
"extraData"
:
"0x0000000000000000000000000000000000000000000000000000000000000000fee2882b7d75faddcebd002e7e3bef7b19eed14e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
,
"gasLimit"
:
"0x
47b76
0"
,
"gasLimit"
:
"0x
3b9aca0
0"
,
"difficulty"
:
"0x1"
,
"mixHash"
:
"0x0000000000000000000000000000000000000000000000000000000000000000"
,
"coinbase"
:
"0x0000000000000000000000000000000000000000"
,
...
...
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