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

Governance parachain fallback #41

Closed
burdges opened this issue Oct 24, 2023 · 2 comments
Closed

Governance parachain fallback #41

burdges opened this issue Oct 24, 2023 · 2 comments

Comments

@burdges
Copy link

burdges commented Oct 24, 2023

I think #32 makes sense for Kusama as written, but we've always envisioned Polkadot holding up even when finality stalls, just using longest chain. Approvals depends upon grandpa however, so parachains become completely insecure under longest chain, so even system parachains like governance cannot be trusted.

@AlistairStewart and I have discussed a few fallback models for this, but one simple-ish model goes like:

  • Governance depends upon beefy self proofs for relay parent, and hence messaging, not merely relay chain state. If grandpa stalls, then governance can still message the relay chain, but not anybody else.
  • We add a "manual execute" option by which governance can order 2+ full parachain blocks to be executed within the relay chain block, one of which itself communicates the "manual execute" command. This can advance the state of the governance chain, even without beefy proofs.

We do not imho require this complexity to deploy on Kusama, but we'd ideally do something along these lines before Polkadot, and supersedes paritytech/polkadot-sdk#1963

@burdges burdges changed the title System parachain fallback Governance parachain fallback Oct 24, 2023
@bkchr
Copy link
Contributor

bkchr commented Oct 24, 2023

We already talked about this, we can just keep the governance configured on the relay chain. Just as some fallback when something breaks. We probably only need a way to proof the holding of coins for voting. To make this secure we may should have a way to keep the latest finalized parachain state to use this as the proofing point.

@burdges
Copy link
Author

burdges commented Oct 25, 2023

You mean: There are only voting and locks in the governance chain state, and they do not live forever. We'll need to reference staked accounts elsewhere anyways from the locks. We can therefore run a vote on the relay chain state too, if we can reference the locks elsewhere, or not use the locks. And the relay chain can send the result back as a message.

Yeah okay this sound fine. And the extra generality of what I wrote above sounds not worth the trouble.

@burdges burdges closed this as completed Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants