Skip to content

Commit 6617292

Browse files
update readme and docker-compose
1 parent bff8448 commit 6617292

5 files changed

Lines changed: 149 additions & 74 deletions

File tree

‎apps/evm/single/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The sequencer can be configured using various command-line flags. The most impor
4848
- `--evm.genesis-hash`: Genesis hash of the EVM chain
4949
- `--rollkit.node.block_time`: Block time for the Rollkit node
5050

51-
# Rollkit EVM Full Node
51+
## Rollkit EVM Full Node
5252

5353
1. The sequencer must be running before starting any Full Node. You can run the EVM layer of the Full Node using `docker-compose -f docker-compose-full-node.yml` from <path_to>/execution/evm/docker.
5454

@@ -58,7 +58,7 @@ The sequencer can be configured using various command-line flags. The most impor
5858
```
5959
3. Copy the genesis file from the sequencer node:
6060
```bash
61-
cp ~/.evm-single/config/genesis.json ~/.evm-single-full/config/genesis.json
61+
cp ~/.evm-single/config/genesis.json ~/.evm-single-full-node/config/genesis.json
6262
```
6363
4. Identify the sequencer node's P2P address from its logs. It will look similar to:
6464
```

‎apps/evm/single/docker-compose.yml‎

Lines changed: 48 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
rollkit-reth:
55
container_name: rollkit-reth
66
restart: unless-stopped
7-
image: ghcr.io/rollkit/rollkit-reth:v0.1.1
7+
image: ghcr.io/rollkit/lumen:latest
88
ports:
99
- "9001:9001" # metrics
1010
- "30303:30303" # eth/66 peering
@@ -15,29 +15,54 @@ services:
1515
- ./chain:/root/chain:ro
1616
- ./jwttoken:/root/jwt:ro
1717
- logs:/root/logs
18-
entrypoint: /bin/sh -c
1918
command:
20-
- |
21-
rollkit-reth node \
22-
--chain /root/chain/genesis.json \
23-
--metrics 0.0.0.0:9001 \
24-
--log.file.directory /root/logs \
25-
--authrpc.addr 0.0.0.0 \
26-
--authrpc.port 8551 \
27-
--authrpc.jwtsecret /root/jwt/jwt.hex \
28-
--http --http.addr 0.0.0.0 --http.port 8545 \
29-
--http.api "eth,net,web3,txpool" \
30-
--ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.api eth,net,web3 \
31-
--engine.persistence-threshold 0 \
32-
--engine.memory-block-buffer-target 0 \
33-
--disable-discovery \
34-
--txpool.pending-max-count 200000 \
35-
--txpool.pending-max-size 200 \
36-
--txpool.queued-max-count 200000 \
37-
--txpool.queued-max-size 200 \
38-
--txpool.max-account-slots 2048 \
39-
--txpool.max-new-txns 2048 \
40-
--txpool.additional-validation-tasks 16
19+
- node
20+
- --chain
21+
- /root/chain/genesis.json
22+
- --metrics
23+
- 0.0.0.0:9001
24+
- --log.file.directory
25+
- /root/logs
26+
- --authrpc.addr
27+
- 0.0.0.0
28+
- --authrpc.port
29+
- "8551"
30+
- --authrpc.jwtsecret
31+
- /root/jwt/jwt.hex
32+
- --http
33+
- --http.addr
34+
- 0.0.0.0
35+
- --http.port
36+
- "8545"
37+
- --http.api
38+
- eth,net,web3,txpool
39+
- --ws
40+
- --ws.addr
41+
- 0.0.0.0
42+
- --ws.port
43+
- "8546"
44+
- --ws.api
45+
- eth,net,web3
46+
- --engine.persistence-threshold
47+
- "0"
48+
- --engine.memory-block-buffer-target
49+
- "0"
50+
- --disable-discovery
51+
- --txpool.pending-max-count
52+
- "200000"
53+
- --txpool.pending-max-size
54+
- "200"
55+
- --txpool.queued-max-count
56+
- "200000"
57+
- --txpool.queued-max-size
58+
- "200"
59+
- --txpool.max-account-slots
60+
- "2048"
61+
- --txpool.max-new-txns
62+
- "2048"
63+
- --txpool.additional-validation-tasks
64+
- "16"
65+
- --rollkit.enable
4166
networks:
4267
- rollkit-network
4368

‎execution/evm/docker/docker-compose-full-node.yml‎

Lines changed: 48 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
rollkit-reth-full-node:
2222
container_name: rollkit-reth-full-node
2323
restart: unless-stopped
24-
image: ghcr.io/rollkit/rollkit-reth:v0.1.1
24+
image: ghcr.io/rollkit/lumen:latest
2525
depends_on:
2626
jwt-init-full-node:
2727
condition: service_completed_successfully
@@ -35,29 +35,54 @@ services:
3535
- ./chain:/root/chain:ro
3636
- ./jwttoken:/root/jwt:ro
3737
- logs-full-node:/root/logs
38-
entrypoint: /bin/sh -c
3938
command:
40-
- |
41-
rollkit-reth node \
42-
--chain /root/chain/genesis.json \
43-
--metrics 0.0.0.0:9001 \
44-
--log.file.directory /root/logs \
45-
--authrpc.addr 0.0.0.0 \
46-
--authrpc.port 8551 \
47-
--authrpc.jwtsecret /root/jwt/jwt.hex \
48-
--http --http.addr 0.0.0.0 --http.port 8545 \
49-
--http.api "eth,net,web3,txpool" \
50-
--ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.api eth,net,web3 \
51-
--engine.persistence-threshold 0 \
52-
--engine.memory-block-buffer-target 0 \
53-
--disable-discovery \
54-
--txpool.pending-max-count 200000 \
55-
--txpool.pending-max-size 200 \
56-
--txpool.queued-max-count 200000 \
57-
--txpool.queued-max-size 200 \
58-
--txpool.max-account-slots 2048 \
59-
--txpool.max-new-txns 2048 \
60-
--txpool.additional-validation-tasks 16
39+
- node
40+
- --chain
41+
- /root/chain/genesis.json
42+
- --metrics
43+
- 0.0.0.0:9001
44+
- --log.file.directory
45+
- /root/logs
46+
- --authrpc.addr
47+
- 0.0.0.0
48+
- --authrpc.port
49+
- "8551"
50+
- --authrpc.jwtsecret
51+
- /root/jwt/jwt.hex
52+
- --http
53+
- --http.addr
54+
- 0.0.0.0
55+
- --http.port
56+
- "8545"
57+
- --http.api
58+
- eth,net,web3,txpool
59+
- --ws
60+
- --ws.addr
61+
- 0.0.0.0
62+
- --ws.port
63+
- "8546"
64+
- --ws.api
65+
- eth,net,web3
66+
- --engine.persistence-threshold
67+
- "0"
68+
- --engine.memory-block-buffer-target
69+
- "0"
70+
- --disable-discovery
71+
- --txpool.pending-max-count
72+
- "200000"
73+
- --txpool.pending-max-size
74+
- "200"
75+
- --txpool.queued-max-count
76+
- "200000"
77+
- --txpool.queued-max-size
78+
- "200"
79+
- --txpool.max-account-slots
80+
- "2048"
81+
- --txpool.max-new-txns
82+
- "2048"
83+
- --txpool.additional-validation-tasks
84+
- "16"
85+
- --rollkit.enable
6186

6287
volumes:
6388
logs-full-node:

‎execution/evm/docker/docker-compose.yml‎

Lines changed: 50 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
rollkit-reth:
2222
container_name: rollkit-reth
2323
restart: unless-stopped
24-
image: ghcr.io/rollkit/rollkit-reth:v0.1.1
24+
image: ghcr.io/rollkit/lumen:latest
2525
depends_on:
2626
jwt-init:
2727
condition: service_completed_successfully
@@ -36,32 +36,57 @@ services:
3636
- ./jwttoken:/root/jwt:ro
3737
- logs:/root/logs
3838
# environment:
39-
# - RUST_LOG=info,rollkit_reth=debug,rollkit_payload_builder=debug
39+
# - RUST_LOG=info,lumen=debug,lumen_node=debug,lumen_rollkit=debug
4040
# - RUST_BACKTRACE=1
41-
entrypoint: /bin/sh -c
4241
command:
43-
- |
44-
rollkit-reth node \
45-
--chain /root/chain/genesis.json \
46-
--metrics 0.0.0.0:9001 \
47-
--log.file.directory /root/logs \
48-
--authrpc.addr 0.0.0.0 \
49-
--authrpc.port 8551 \
50-
--authrpc.jwtsecret /root/jwt/jwt.hex \
51-
--http --http.addr 0.0.0.0 --http.port 8545 \
52-
--http.api "eth,net,web3,txpool" \
53-
--ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.api eth,net,web3 \
54-
--engine.persistence-threshold 0 \
55-
--engine.memory-block-buffer-target 0 \
56-
--disable-discovery \
57-
--txpool.pending-max-count 200000 \
58-
--txpool.pending-max-size 200 \
59-
--txpool.queued-max-count 200000 \
60-
--txpool.queued-max-size 200 \
61-
--txpool.max-account-slots 2048 \
62-
--txpool.max-new-txns 2048 \
63-
--txpool.additional-validation-tasks 16
42+
- node
43+
- --chain
44+
- /root/chain/genesis.json
45+
- --metrics
46+
- 0.0.0.0:9001
47+
- --log.file.directory
48+
- /root/logs
49+
- --authrpc.addr
50+
- 0.0.0.0
51+
- --authrpc.port
52+
- "8551"
53+
- --authrpc.jwtsecret
54+
- /root/jwt/jwt.hex
55+
- --http
56+
- --http.addr
57+
- 0.0.0.0
58+
- --http.port
59+
- "8545"
60+
- --http.api
61+
- eth,net,web3,txpool
62+
- --ws
63+
- --ws.addr
64+
- 0.0.0.0
65+
- --ws.port
66+
- "8546"
67+
- --ws.api
68+
- eth,net,web3
69+
- --engine.persistence-threshold
70+
- "0"
71+
- --engine.memory-block-buffer-target
72+
- "0"
73+
- --disable-discovery
74+
- --txpool.pending-max-count
75+
- "200000"
76+
- --txpool.pending-max-size
77+
- "200"
78+
- --txpool.queued-max-count
79+
- "200000"
80+
- --txpool.queued-max-size
81+
- "200"
82+
- --txpool.max-account-slots
83+
- "2048"
84+
- --txpool.max-new-txns
85+
- "2048"
86+
- --txpool.additional-validation-tasks
87+
- "16"
88+
- --rollkit.enable
6489

6590
volumes:
6691
logs:
67-
driver: local
92+
driver: local

‎execution/evm/execution_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ func checkLatestBlock(t *testing.T, ctx context.Context) (uint64, common.Hash, i
262262
}
263263

264264
func TestSubmitTransaction(t *testing.T) {
265-
//t.Skip("Use this test to submit a transaction manually to the Ethereum client")
265+
t.Skip("Use this test to submit a transaction manually to the Ethereum client")
266266
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)
267267
defer cancel()
268268
rpcClient, err := ethclient.Dial(TEST_ETH_URL)

0 commit comments

Comments
 (0)