Commit a837d358 authored by vicotor's avatar vicotor

update customGasToken

parent 6b9e6161
...@@ -9,7 +9,8 @@ networks: ...@@ -9,7 +9,8 @@ networks:
services: services:
layer1-init: layer1-init:
image: tscel/eth:v1.10.26 #image: tscel/eth:v1.10.26
image: ethereum/client-go:v1.13.14
container_name: initlayer1 container_name: initlayer1
networks: networks:
- exchain - exchain
...@@ -20,7 +21,8 @@ services: ...@@ -20,7 +21,8 @@ services:
entrypoint: geth init --datadir /root/node/data /root/genesis.json entrypoint: geth init --datadir /root/node/data /root/genesis.json
layer1: layer1:
image: tscel/eth:v1.10.26 #image: tscel/eth:v1.10.26
image: ethereum/client-go:v1.13.14
container_name: layer1 container_name: layer1
logging: logging:
driver: "json-file" driver: "json-file"
...@@ -32,7 +34,7 @@ services: ...@@ -32,7 +34,7 @@ services:
ipv4_address: 172.80.1.2 ipv4_address: 172.80.1.2
ports: ports:
- "8545:8545" - "8545:8545"
entrypoint: geth --datadir /root/node/data --http --nodiscover --miner.gaslimit=10000000000 --http --http.addr=0.0.0.0 --http.vhosts=* --http.corsdomain=* --http.api=admin,engine,net,eth,web3,debug,txpool --authrpc.vhosts=* --authrpc.addr=0.0.0.0 --authrpc.port=8552 --rpc.allow-unprotected-txs --authrpc.jwtsecret=/root/node/data/jwtsecret --allow-insecure-unlock --unlock=0xfEe2882b7d75FadDcebD002E7e3bEf7B19Eed14E --password=/root/password.txt --mine --gcmode archive entrypoint: geth --datadir /root/node/data --http --nodiscover --miner.gaslimit=10000000000 --http --http.addr=0.0.0.0 --http.vhosts=* --http.corsdomain=* --http.api=admin,engine,net,eth,web3,debug,txpool --authrpc.vhosts=* --authrpc.addr=0.0.0.0 --authrpc.port=8552 --rpc.allow-unprotected-txs --authrpc.jwtsecret=/root/node/data/jwtsecret --allow-insecure-unlock --unlock=0xfEe2882b7d75FadDcebD002E7e3bEf7B19Eed14E --password=/root/password.txt --mine --miner.etherbase=0xfEe2882b7d75FadDcebD002E7e3bEf7B19Eed14E
volumes: volumes:
- "./data/layer1:/root/node/data" - "./data/layer1:/root/node/data"
- "./layer1/keystore:/root/node/data/keystore" - "./layer1/keystore:/root/node/data/keystore"
...@@ -99,6 +101,8 @@ services: ...@@ -99,6 +101,8 @@ services:
- "./data/layer2:/root/node" - "./data/layer2:/root/node"
- "./deployer:/root/deployments" - "./deployer:/root/deployments"
entrypoint: /root/start.sh entrypoint: /root/start.sh
ports:
- "7790:7790"
depends_on: depends_on:
- layer1 - layer1
......
This diff is collapsed.
...@@ -153,8 +153,8 @@ cat << EOL >> tmp_config.json ...@@ -153,8 +153,8 @@ cat << EOL >> tmp_config.json
"daResolveWindow": 100, "daResolveWindow": 100,
"daBondSize": 1000, "daBondSize": 1000,
"daResolverRefundPercentage": 50, "daResolverRefundPercentage": 50,
"useCustomGasToken": false, "useCustomGasToken": true,
"customGasTokenAddress": "0x88395111AB1586a4030dAC62a183542762929bbC" "customGasTokenAddress": "0x9c4bd341cf7134a53b1f34cfa9f3dea4fde61c9c"
} }
EOL EOL
......
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
source /root/.envrc source /root/.envrc
op-proposer \ op-proposer \
--data-dir=/root/node \
--poll-interval=12s \ --poll-interval=12s \
--rpc.port=8560 \ --rpc.port=8560 \
--rollup-rpc=http://layer2:9545 \ --rollup-rpc=http://layer2:9545 \
--l2oo-address=$(cat /root/deployments/artifact.json | grep "L2OutputOracleProxy" | grep -Eo "0x[a-fA-F0-9]+") \ --l2oo-address=$(cat /root/deployments/artifact.json | grep "L2OutputOracleProxy" | grep -Eo "0x[a-fA-F0-9]+") \
--portal-address=$(cat /root/deployments/artifact.json | grep -w "OptimismPortal" | grep -Eo "0x[a-fA-F0-9]+") \
--private-key=$GS_PROPOSER_PRIVATE_KEY \ --private-key=$GS_PROPOSER_PRIVATE_KEY \
--l1-eth-rpc=$L1_RPC_URL --l1-eth-rpc=$L1_RPC_URL
\ No newline at end of file
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