ChainSafe / ChainSafe/forest

Forest mint genesis

Open
#7,554 1 comment 0 reactions 0 assignees View on GitHub
Type: Task
Dominant language
Rust
Stars
697
Forks
200
Avg merge
1d 5h
Merged PRs (30d)
65

Description

# Summary

Forest can't bootstrap a new network on its own - aside from some `lotus-seed` (not in the scope of this issue), it lacks Lotus's `lotus daemon --lotus-make-genesis=${LOTUS_DATA_DIR}/devgen.car --genesis-template=${LOTUS_DATA_DIR}/localnet.json --bootstrap=false`. This forces any devnet setup to start the network with Lotus as initializer, even though if later it's only Forest + Lotus-Miner that are driving the chain.

# Completion Criteria

- [ ] Implement missing flags. Note that it might not make sense to do them like Lotus does, inside the daemon. Perhaps a `forest-tool`/`forest-dev` utility would make more sense.

# Additional Links & Resources

Contributor guide

Open the contributing guide

Research direction

Start by examining how Forest currently initializes a devnet and compare it with the referenced Lotus `daemon --lotus-make-genesis` command. Decide whether the functionality belongs in the daemon or a `forest-tool`/`forest-dev` utility, then verify that Forest can bootstrap a new network without Lotus as initializer.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.