You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when creating a tx inclusion proof in celestia-core, we have to encode a portion of the block data into rows. This is necessary to create the nmt tree(s) used to create the proof(s). It's problematic not only because we don't want to have any application logic in core, but in order to fully test that code we have to have a lot of other application specific logic (malleated txs, non-interactive defaults/other square layout rules).
To fix this, we'd like to move all share encoding logic to the app, but this means we can't do tx inclusion proofs in core like normal tendermint. We can get around this by creating a custom query route, and calling that route each time we want to create a tx inclusion proof in tendermint.
Currently, when creating a tx inclusion proof in celestia-core, we have to encode a portion of the block data into rows. This is necessary to create the nmt tree(s) used to create the proof(s). It's problematic not only because we don't want to have any application logic in core, but in order to fully test that code we have to have a lot of other application specific logic (malleated txs, non-interactive defaults/other square layout rules).
To fix this, we'd like to move all share encoding logic to the app, but this means we can't do tx inclusion proofs in core like normal tendermint. We can get around this by creating a custom query route, and calling that route each time we want to create a tx inclusion proof in tendermint.
This will involve:
prove
pkg from core to app #699The text was updated successfully, but these errors were encountered: