Create new base-app instead of setting it in existing base-app #572
Labels
blocked
C:light-client
C:state-fraud-proofs
Component: State Fraud Proofs (generation and validation)
A rollmint light client does not start with a Cosmos-SDK app. In
server/start.go
, there is a notion of anappCreator
which is how a cosmos-sdk app is initially initialized. We'd like to combineSetupBaseAppFromFraudProof
described in the fraudproof prototype here with thisappCreator
.After this is done, a rollmint light client should be able to spin up a new Cosmos SDK app and initialize its store with Deep Subtrees constructed using merkle inclusion proofs in the
FraudProof
. After this initialization, the app hash representing the state of the app should match theappHash
inside theFraudProof
. Also, this store should now contain all the key/value pairs and underlying tree structure necessary to execute the fraudulent state transition contained in theFraudProof
.This issue should also resolve this comment: https://github.com/celestiaorg/cosmos-sdk-rollmint/pull/1/files#r997083032
The text was updated successfully, but these errors were encountered: