celestiaorg / celestia-app

Celestia consensus node
https://celestiaorg.github.io/celestia-app/
Apache License 2.0
345 stars 292 forks source link

Multiplexed app next steps #3991

Open rootulp opened 1 month ago

rootulp commented 1 month ago

Context

See prototype in https://github.com/celestiaorg/celestia-app/pull/3729

Problem

The way celestia-app supports multiple app versions in a single binary is error-prone. Currently it relies on conditionals littered throughout the code-base.

Proposal

Refactor how celestia-app supports multiple app versions by introducing an ABCI multiplexer that communicates with CometBFT and delegates to the appropriate version of celestia-app.

Next steps

Possible next steps