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

WIP: Fast Runtime Configuration #4894

Closed
bedeho opened this issue Sep 28, 2023 · 1 comment
Closed

WIP: Fast Runtime Configuration #4894

bedeho opened this issue Sep 28, 2023 · 1 comment
Assignees
Labels

Comments

@bedeho
Copy link
Member

bedeho commented Sep 28, 2023

WIP: Mokhtar will compelet spec., freakstatic executes

┆Issue is synchronized with this Asana task by Unito

@mnaamani
Copy link
Member

mnaamani commented Oct 6, 2023

The idea here was to introduce a runtime configuration that could be used to run a test/staging network for QA testing where runtime and storage based configuration would match the "production" runtime, with one key difference. The block production interval would be 1s instead of 6s, but any period lengths (defined in blocks) (provided they are not hard coded but actually use helper macros (days!, minutes!, hours!) for council/election periods, proposal voting/gracing periods etc would still be computed based on 6s blocks. This would mean time would be accelerated or "warped" .

I've implemented this in #4913

Note there is already a way to run a local development chain with production runtime settings if all that is needed is to verify/confirm constants are as expected by running node with the following arguments:

joystream-node --chain prod-test --tmp --alice --rpc-cors=all --pruning=archive

@sync-by-unito sync-by-unito bot assigned mnaamani and unassigned freakstatic Oct 9, 2023
@sync-by-unito sync-by-unito bot closed this as completed Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants