File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
216229First, 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
238251mv ~ /.cometbft/config/genesis.json ~ /.cometbft/config/genesis.json.orig
239252cargo 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
244258Check the contents of the created Comet BFT Genesis file:
You can’t perform that action at this time.
0 commit comments