Skip to content

Commit 244d089

Browse files
cryptoAtwillcryptoAtwill
and
cryptoAtwill
authored
feat(node): update simple genesis doc (#1128)
Co-authored-by: cryptoAtwill <willes.lau@protocol.ai>
1 parent dd73ac2 commit 244d089

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/fendermint/running.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,19 @@ $ cat test-network/genesis.json | jq .ipc
211211
}
212212
```
213213

214+
### Seal Genesis State
215+
After the genesis file has been created, seal the genesis state and dump to a car file.
216+
217+
```shell
218+
cargo run -p fendermint_app --release -- \
219+
genesis --genesis-file test-network/genesis.json \
220+
ipc \
221+
seal-genesis \
222+
--builtin-actors-path fendermint/builtin-actors/output/bundle.car \
223+
--custom-actors-path fendermint/actors/output/custom_actors_bundle.car \
224+
--output-path test-network/sealed.car
225+
```
226+
214227
### Configure CometBFT
215228

216229
First, follow the instructions in [getting started with CometBFT](./tendermint.md) to install the binary,
@@ -238,7 +251,8 @@ file we created earlier to the format CometBFT accepts. Start with the genesis f
238251
mv ~/.cometbft/config/genesis.json ~/.cometbft/config/genesis.json.orig
239252
cargo run -p fendermint_app --release -- \
240253
genesis --genesis-file test-network/genesis.json \
241-
into-tendermint --out ~/.cometbft/config/genesis.json
254+
into-tendermint --out ~/.cometbft/config/genesis.json \
255+
--app-state test-network/sealed.car
242256
```
243257

244258
Check the contents of the created Comet BFT Genesis file:

0 commit comments

Comments
 (0)