A set of libraries and tools for the Vocdoni decentralized backend infrastructure, the main ground of our universally verifiable, privacy-centric and scalable digital voting protocol
create a "fork" on block 2000000 (miners will stop vocdoni/LTS/1.2 at that height)
genesis for vocdoni/LTS/1.3:
InitialHeight: 2000001
AppHash: cafecafe...(the actual AppHash of vocdoni/LTS/1.2 at height 2000000)
Validators: GenesisValidatorsFromState(app.State)
AppState: {} or {txcosts} or whatever
this needs a nice refactor of the genesis package
undo most of the wrapping of current genesis package, use comet genesis types directly
(wdyt @p4u? there's a comment from you)
// The genesis app state types are copied from
// github.com/cometbft/cometbft/types, for the sake of making this package
// lightweight and not have it import heavy indirect dependencies like grpc or
// crypto/*.
but i think that's outdated since there's anyway a import github.com/cometbft/cometbft/types
notably, i'm also moving the AutoUpdateGenesis concept out of genesis.go, and turn this into a flag, since i believe this should be handled via env vars on each deployment
roadmap towards being able to create a chain "on top" of another chain:
vocdoni/LTS/1.2
vocdoni/LTS/1.3
create a "fork" on block 2000000 (miners will stop vocdoni/LTS/1.2 at that height)
genesis for vocdoni/LTS/1.3:
this needs a nice refactor of the genesis package
but i think that's outdated since there's anyway a
import github.com/cometbft/cometbft/types