Commit c3588a5e authored by Ubuntu's avatar Ubuntu

update

parent 5644a63a
.idea .idea
node/data/geth node/data/geth
deployments deployer
.PHONY:build
init: 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: build:
docker build --no-cache -t tscel/exchain:contracts -f ./build/Dockerfile.contracts . docker build --no-cache -t tscel/exchain:contracts -f ./build/Dockerfile.contracts .
...@@ -13,4 +14,4 @@ stop: ...@@ -13,4 +14,4 @@ stop:
clean: clean:
sudo rm -rf layer1/.cache layer1/node/data/geth sudo rm -rf layer1/.cache layer1/node/data/geth deployer
...@@ -40,7 +40,6 @@ services: ...@@ -40,7 +40,6 @@ services:
networks: networks:
- exchain - exchain
volumes: volumes:
- "./layer2/contracts-bedrock:/app/contracts"
- "./deployer:/app/contracts/deployments" - "./deployer:/app/contracts/deployments"
- "./.git:/app/contracts/.git" - "./.git:/app/contracts/.git"
- ".envrc:/app/.envrc" - ".envrc:/app/.envrc"
...@@ -55,10 +54,10 @@ services: ...@@ -55,10 +54,10 @@ services:
volumes: volumes:
- "./deployer:/root/deployments" - "./deployer:/root/deployments"
- "./layer2/alloc.json:/root/alloc.json" - "./layer2/alloc.json:/root/alloc.json"
- ".envrc:/root/.envrc" # 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 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: # depends_on:
- forge-deploy #- forge-deploy
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"nonce": "0x0", "nonce": "0x0",
"timestamp": "0x67d155d4", "timestamp": "0x67d155d4",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000fee2882b7d75faddcebd002e7e3bef7b19eed14e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "extraData": "0x0000000000000000000000000000000000000000000000000000000000000000fee2882b7d75faddcebd002e7e3bef7b19eed14e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x47b760", "gasLimit": "0x3b9aca00",
"difficulty": "0x1", "difficulty": "0x1",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000",
......
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