@@ -89,41 +89,42 @@ The following settings are a security risk in production environments:
89
89
90
90
:::
91
91
92
- ## Start Hildr node to sync L2 state
92
+ ## Start op- node to sync L2 state
93
93
94
- After starting the Op-Besu node, you can start the Hildr node to sync state.
94
+ After starting the Op-Besu node, you can start the op- node to sync state.
95
95
96
96
Pull docker image of hildr:
97
97
98
98
``` shell
99
- docker pull ghcr.io/optimism-java/hildr:latest
99
+ docker pull us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.12.2
100
100
```
101
101
102
- Get IP of the op-besu container, and hildr container will use it to connect to op-besu via the docker bridge:
102
+ Get IP of the op-besu container, and op-node container will use it to connect to op-besu via the docker bridge:
103
103
104
104
``` shell
105
105
docker inspect -f ' {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' op-besu
106
106
```
107
107
108
- Start Hildr node:
108
+ Start op-node node:
109
109
110
110
``` shell
111
- docker run -d -it --name hildr -p 11545:11545 \
112
- -v ./jwt.txt:/jwt/jwtsecret \
113
- ghcr.io/optimism-java/hildr:latest \
114
- --network optimism-sepolia \
115
- --jwt-file /jwt/jwtsecret \
116
- --l1-rpc-url < l1_sepolia_rpc_url> \
117
- --l1-ws-rpc-url < l1_sepolia_ws_rpc_url> \
118
- --l1-beacon-url < l1_beacon_chain_sepolia_rpc_url> \
119
- --l2-rpc-url < op_besu_rpc> \
120
- --l2-engine-url < op_besu_engine_rpc> \
121
- --rpc-port 11545 \
122
- --log-level INFO \
123
- --sync-mode full
111
+ docker run -d -it --name op-node -p 11545:11545 \
112
+ -v ./jwt.txt:/jwt/jwt.txt \
113
+ --entrypoint op-node \
114
+ us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.12.2 \
115
+ --network op-sepolia \
116
+ --l1.rpckind=basic \
117
+ --l1=< l1-rpc-url> \
118
+ --l2=< op-besu-engine-rpc-url> \
119
+ --rpc.addr=0.0.0.0 \
120
+ --rpc.port=11545 \
121
+ --l2.jwt-secret=/jwt/jwt.txt \
122
+ --l1.trustrpc \
123
+ --l1.beacon=< l1-beacon-sepolia-rpc-url> \
124
+ --syncmode=consensus-layer
124
125
```
125
126
126
- The synchronization needs to handle empty messages at the beginning, and the actual block synchronization will take place about 10 minutes later.
127
+ The synchronization needs to handle empty messages at the beginning, and the actual block synchronization will take place about 15 minutes later.
127
128
128
129
For example, use curl get block data from op-besu:
129
130
0 commit comments