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
a837d358
Commit
a837d358
authored
Apr 18, 2025
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update customGasToken
parent
6b9e6161
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
7 deletions
+14
-7
docker-compose.yml
docker-compose.yml
+7
-3
forgeinit.sh
layer1/forgeinit.sh
+2
-1
config.sh
layer2/contracts-bedrock/scripts/getting-started/config.sh
+2
-2
proposer.sh
layer2/proposer.sh
+3
-1
No files found.
docker-compose.yml
View file @
a837d358
...
@@ -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
...
...
layer1/forgeinit.sh
100644 → 100755
View file @
a837d358
This diff is collapsed.
Click to expand it.
layer2/contracts-bedrock/scripts/getting-started/config.sh
View file @
a837d358
...
@@ -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":
fals
e,
"useCustomGasToken":
tru
e,
"customGasTokenAddress": "0x
88395111AB1586a4030dAC62a183542762929bbC
"
"customGasTokenAddress": "0x
9c4bd341cf7134a53b1f34cfa9f3dea4fde61c9c
"
}
}
EOL
EOL
...
...
layer2/proposer.sh
View file @
a837d358
...
@@ -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
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