Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fold the validator roots into the state tree #7

Open
liamsi opened this issue Jan 4, 2021 · 5 comments
Open

Fold the validator roots into the state tree #7

liamsi opened this issue Jan 4, 2021 · 5 comments
Labels
C:ORU This issue will be necessary for both ORUs and the LL-abci app

Comments

@liamsi
Copy link
Member

liamsi commented Jan 4, 2021

ref: celestiaorg/celestia-core#66

@liamsi liamsi added the C:ORU This issue will be necessary for both ORUs and the LL-abci app label Jan 4, 2021
@liamsi
Copy link
Member Author

liamsi commented Feb 3, 2021

Essentially the same work (minus removing the additional validator roots in the header), need to happen in optimint. @tzdybal I'd open a separate issue there and link to this and celestiaorg/celestia-core#66 in there.

@adlerjohn
Copy link
Member

Have we decided we're not doing this anymore?

@liamsi
Copy link
Member Author

liamsi commented Sep 10, 2021

I'm not sure tbh. If we can keep the current mechanism and have the validator sets as part of the sub-trees in the SMT as in the specs, that could be preferable (as we won't change anything in tendermint per se). But this approach should be validated first.

@adlerjohn
Copy link
Member

I think we discussed today (correct me if I'm wrong @liamsi) that we should include the validator set root in both the header and folded into the state. Which would make this issue no longer needed until we eventually remove the validator set root from the header way down the line.

@liamsi
Copy link
Member Author

liamsi commented Oct 5, 2021

Exactly, we would include the validator set root in both the header and folded into the state.

Which would make this issue no longer needed until we eventually remove the validator set root from the header way down the line.

That means no changes are required on the tendermint side but we still need to make sure that the valsets show up in the state-tree. So while this issue is not really needed as a whole, we still need to make sure that a) the valsetes are part of the abci-app state and b) (less relevant for the main chain, but important for sdk-based rollups imo) that all state-transitions touching that state can result in succinct state fraud-proofs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:ORU This issue will be necessary for both ORUs and the LL-abci app
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants