File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ starts Teku:
2020``` bash
2121teku --eth1-endpoint=http://localhost:8545 \
2222--validator-keys=/Users/me/mainnet/validator/keys:/Users/me/mainnet/validator/passwords \
23- --initial-state=http://other-node:5051/eth/v1 /debug/beacon/states/finalized
23+ --initial-state=http://other-node:5051/eth/v2 /debug/beacon/states/finalized
2424```
2525
2626The command uses the [ ` --initial-state ` ] ( ../../Reference/CLI/CLI-Syntax.md#initial-state ) option
2727to download the finalized checkpoint state from the
28- [ ` /eth/v1 /debug/beacon/states/ ` ] ( https://consensys.github.io/teku/#operation/getEthV1DebugBeaconStatesWithState_id ) endpoint
28+ [ ` /eth/v2 /debug/beacon/states/ ` ] ( https://consensys.github.io/teku/#operation/getEthV1DebugBeaconStatesWithState_id ) endpoint
2929on the beacon chain client (for example Teku).
3030
3131!!! note
@@ -35,7 +35,7 @@ on the beacon chain client (for example Teku).
3535 download the file and name it `state.ssz` run:
3636
3737 ```bash
38- curl -o state.ssz -H 'Accept: application/octet-stream' http://other-node:5051/eth/v1 /debug/beacon/states/finalized
38+ curl -o state.ssz -H 'Accept: application/octet-stream' http://other-node:5051/eth/v2 /debug/beacon/states/finalized
3939 ```
4040 [Infura](https://infura.io/) provides initial state endpoints for free.
4141 Registration to Infura services is required.
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ To migrate a RocksDB database in [prune mode] to a LevelDB2 database:
80801 . [ Download the latest finalized state] from a beacon chain node:
8181
8282 ``` bash
83- curl -o state.ssz -H ' Accept: application/octet-stream' http://other-node:5051/eth/v1 /debug/beacon/states/finalized
83+ curl -o state.ssz -H ' Accept: application/octet-stream' http://other-node:5051/eth/v2 /debug/beacon/states/finalized
8484 ```
8585
8686 !!! note
Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ using the [`--network`](#network) option.
406406!!! tip
407407
408408 [Infura](https://infura.io/) can be used as the source of initial states with
409- `--initial-state https://{projectid}:{secret}@eth2-beacon-mainnet.infura.io/eth/v1 /debug/beacon/states/finalized`
409+ `--initial-state https://{projectid}:{secret}@eth2-beacon-mainnet.infura.io/eth/v2 /debug/beacon/states/finalized`
410410
411411### logging
412412
You can’t perform that action at this time.
0 commit comments