File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,19 @@ $ cat test-network/genesis.json | jq .ipc
211
211
}
212
212
```
213
213
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
+
214
227
### Configure CometBFT
215
228
216
229
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
238
251
mv ~ /.cometbft/config/genesis.json ~ /.cometbft/config/genesis.json.orig
239
252
cargo run -p fendermint_app --release -- \
240
253
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
242
256
```
243
257
244
258
Check the contents of the created Comet BFT Genesis file:
You can’t perform that action at this time.
0 commit comments