Skip to content

Commit 7107f8a

Browse files
committed
docs
1 parent 01c1dd2 commit 7107f8a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/guides/create-genesis.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,15 @@ For example, start the simple ignite chain with the following command:
116116
gmd start --evnode.node.aggregator
117117
```
118118

119+
## Share the genesis file
120+
121+
Once the sequencer is running, share the genesis file with your peers. You can find the genesis file at `~/.${CHAIN_ID}/config/genesis.json`.
122+
Before doing so, add a `da_start_height` field to the genesis file, that corresponds to the height at which the first height was included on the DA layer. This height can be fetched directly from the [sequencer RPC](https://github.com/evstack/ev-node/blob/v1.0.0-beta.5/proto/evnode/v1/state_rpc.proto).
123+
124+
```sh
125+
jq '.da_start_height = 1' ~/.$CHAIN_ID/config/genesis.json > temp.json && mv temp.json ~/.$CHAIN_ID/config/genesis.json
126+
```
127+
119128
## Summary
120129

121130
By following these steps, you will set up the genesis for your chain, initialize the validator, add a genesis account, and start the chain. This guide provides a basic framework for configuring and starting your chain using the gm-world binary. Make sure you initialized your chain correctly, and use the `gmd` command for all operations.

0 commit comments

Comments
 (0)