Skip to content
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
19f93f5
complete flow
May 30, 2024
fcdc70f
convert fendermint to cometbft genesis
Jun 3, 2024
3d8f00f
remove deprecated fields
Jun 3, 2024
8a8efd6
fix cursor
Jun 3, 2024
3890de4
fix genesis app bytes
Jun 3, 2024
14e6dea
fmt
Jun 3, 2024
4dc0482
minor changes
Jun 4, 2024
02b183f
Fix cicd (#1023)
cryptoAtwill Jun 5, 2024
d88face
Fix cicd (#1025)
cryptoAtwill Jun 6, 2024
2a4d428
Fix cicd (#1027)
cryptoAtwill Jun 10, 2024
0e31699
Merge branch 'main' of protocol-github:consensus-shipyard/ipc into si…
Jun 10, 2024
0d1c55c
Merge branch 'simple-genesis' of protocol-github:consensus-shipyard/i…
Jun 10, 2024
d551aed
Merge branch 'main' into simple-genesis
cryptoAtwill Aug 5, 2024
22219f1
Update fendermint/vm/interpreter/src/genesis.rs
cryptoAtwill Aug 7, 2024
6a1b4dd
Update fendermint/vm/interpreter/src/genesis.rs
cryptoAtwill Aug 7, 2024
7c6276b
review feedbacks
Aug 7, 2024
c4b7e66
Merge branch 'simple-genesis' of protocol-github:consensus-shipyard/i…
Aug 7, 2024
fa0f330
add genesis app state schema
Aug 7, 2024
b0038cc
update infra and simplify genesis
Aug 8, 2024
22e5958
fmt
Aug 8, 2024
0319141
fix infra
Aug 8, 2024
7a86832
Merge branch 'main' of protocol-github:consensus-shipyard/ipc into si…
Aug 13, 2024
79d1264
merge with main
Aug 13, 2024
0ae95c8
Update fevm-contract-tests.yaml
cryptoAtwill Aug 14, 2024
fa372d6
Update fevm-contract-tests.yaml
cryptoAtwill Aug 14, 2024
5332a31
Update testnode.toml
cryptoAtwill Aug 14, 2024
ed66780
skip fendermint build
Aug 14, 2024
272c29c
remove pull
Aug 14, 2024
0db23d2
Merge branch 'main' into simple-genesis
raulk Aug 16, 2024
ef2740c
rename to genesis builder
Aug 19, 2024
4ba0219
Merge branch 'simple-genesis' of protocol-github:consensus-shipyard/i…
Aug 19, 2024
47556e9
fix(node): remove genesis interpreter (#1118)
cryptoAtwill Aug 21, 2024
37a5522
Merge branch 'main' into simple-genesis
raulk Aug 23, 2024
38fbeed
Merge branch 'main' into simple-genesis
raulk Aug 26, 2024
86d1cf9
clean up read_genesis_car.
raulk Aug 26, 2024
707060b
size Vec with capacity.
raulk Aug 26, 2024
0ebe60f
rust fmt.
raulk Aug 26, 2024
29099f1
fix clippy.
raulk Aug 27, 2024
a3b3c4a
fix version; allocate enough vec capacity.
raulk Aug 29, 2024
501a256
Merge branch 'main' into simple-genesis
cryptoAtwill Aug 29, 2024
53b7265
update doc in fendermint
Aug 29, 2024
65e7ebc
Merge branch 'main' into simple-genesis-doc
raulk Aug 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion docs/fendermint/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,19 @@ $ cat test-network/genesis.json | jq .ipc
}
```

### Seal Genesis State
After the genesis file has been created, seal the genesis state and dump to a car file.

```shell
cargo run -p fendermint_app --release -- \
genesis --genesis-file test-network/genesis.json \
ipc \
seal-genesis \
--builtin-actors-path fendermint/builtin-actors/output/bundle.car \
--custom-actors-path fendermint/actors/output/custom_actors_bundle.car \
--output-path test-network/sealed.car
```

### Configure CometBFT

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

Check the contents of the created Comet BFT Genesis file:
Expand Down