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

Reduce block time for subzero parachain runtime #168

Closed
vovacha opened this issue Oct 20, 2022 · 6 comments
Closed

Reduce block time for subzero parachain runtime #168

vovacha opened this issue Oct 20, 2022 · 6 comments
Assignees

Comments

@vovacha
Copy link
Contributor

vovacha commented Oct 20, 2022

New block time is 6 sec.

@2075
Copy link
Member

2075 commented Oct 20, 2022

thanks for that, so will we do something like
dev 3s
test, stage 6s
live tbd ?s

@vovacha
Copy link
Contributor Author

vovacha commented Oct 20, 2022

thanks for that, so will we do something like dev 3s test, stage 6s live tbd ?s

Doing this way, we need different runtimes for each env.
We already have 3 to support: standalone, subzero, zero. Adding more runtimes to support will increase complexity.

@2075
Copy link
Member

2075 commented Oct 20, 2022

that's why we discussed a setup with nodes and runtimes separated, but yes, let's stick to 63 for dev up to staging and discuss later if we want/need 12s for prod.

@vovacha
Copy link
Contributor Author

vovacha commented Oct 21, 2022

@2075 The block time for all parachains is currently restricted to 12 sec because of consensus implementation in the relay chain. So, for prod 12 sec is not even a discussion. But from the recent news I read that soon, the block time will be reduced to 6 sec.
That's also why I thought that even for dev env we could have some issues with changing it. Maybe rococo-local runtime should be changed as well.
@vayesy WDYT?

@vayesy
Copy link
Member

vayesy commented Oct 24, 2022

@vovacha looks you are right - with current consensus implementation parachain block is included after 2 blocks in the relay chain, which is 12 seconds. There's no easy way to change that for dev environment even if we'll manage to update block time constant on the forked relay chain source code, it will still require additional changes in regards to consensus algorithm.
Additional links:

@vovacha
Copy link
Contributor Author

vovacha commented Oct 25, 2022

I am closing the issue since it's not possible to change the block time at the moment.

@vovacha vovacha closed this as completed Oct 25, 2022
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

3 participants