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

Instant seal consensus for better development experience #968

Open
3 tasks
h4x3rotab opened this issue Sep 23, 2022 · 0 comments
Open
3 tasks

Instant seal consensus for better development experience #968

h4x3rotab opened this issue Sep 23, 2022 · 0 comments

Comments

@h4x3rotab
Copy link
Contributor

h4x3rotab commented Sep 23, 2022

Nowadays the local dev testnet is configured to produce one block per 3 seconds. When doing local e2e test, it may slow down the test a lot since a lot of integration tests must be done sequentially. Substrate offers ManualSeal, an alternative consensus engine that allows to produce block instantly for testing. If we can adopt that, we can run test much faster.

However it turns out only a replacement of the consensu engine is not enough. We should do at least the followings:

  1. Replace the Grandpa consensus by ManualSeal in phala-blockchain (phala-blockchain is for dev while khala-parachain is for production)
  2. Allow to bypass grandpa block justification validation in pruntime for dev testnet
  3. Allow to bypass block justification transmission logic in pherry for dev testnet

TODO

  • A clear bounty definition
  • Resources
  • Post to Gitcoin.co
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant