Skip to content

Commit

Permalink
doc infura tip for --initial-state (Consensys#288)
Browse files Browse the repository at this point in the history
* doc infura tip for --initial-state

* updating submodule to latest
  • Loading branch information
alexandratran authored May 19, 2021
1 parent 96cf286 commit d3a8637
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common
11 changes: 8 additions & 3 deletions docs/Reference/CLI/CLI-Syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,13 +366,18 @@ Show the help message and exit.
Path or URL to an SSZ-encoded state file. The state file can be used to specify the genesis state,
or a [recent finalized checkpoint state from which to sync].

This option does not need to be specified if the genesis state is provided by the network specified
using the [`--network`](#network) option.

!!! note

If overriding the initial state in a custom network. You will need to supply the initial state
If overriding the initial state in a custom network, you must supply the initial state
file at each restart.

This option does not need to be specified if the genesis state is provided by the network specified
using the [`--network`](#network) option.
!!! tip

[Infura](https://infura.io/) can be used as the source of initial states with
`--initial-state https://{projectid}:{secret}@eth2-beacon-mainnet.infura.io/eth/v1/debug/beacon/states/finalized`

### logging

Expand Down

0 comments on commit d3a8637

Please sign in to comment.