astriaorg / astria

A monorepo containing all the custom components of the Astria network, a decentralized system that replaces traditional sequencers, offering a shared, permissionless sequencer network.
https://www.astria.org/
Apache License 2.0
116 stars 75 forks source link

Sequencer should run init-chain with only a genesis state and no other inputs #1348

Open SuperFluffy opened 3 months ago

SuperFluffy commented 3 months ago

The Sequencer ABCI consensus service is currently passing in a chain ID and initial validator set in addition to the genesis state.

The genesis state should be a closed collection of settings needed to initialize a new chain without extra external input.

┆Issue Number: ENG-691

noot commented 1 month ago

the chain ID and initial validator set are from the genesis file and passed in to the app in the request::InitChain, the genesis state is the initial additional application state. there's no reason why we should disregard parameters passed in the InitiChain request.