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

Add fast-runtime feature for faster time constants for local testing #2822

Open
dastansam opened this issue Jun 4, 2024 · 2 comments
Open

Comments

@dastansam
Copy link
Contributor

This came up when testing upgrade_domain_runtime in a local network. In addition to RuntimeUpgradeDelay, we could set other timing constants to faster values as well

@NingLin-P
Copy link
Member

Make sense, I usually update these constants manually before building the binary for the local test network.

An alternative is to move these constants to pallet-runtime-config and export extrinsic to update these values, though extract effort is required to ensure the update will take effect as expected.

@nazar-pc
Copy link
Member

nazar-pc commented Jun 5, 2024

I usually just update the things I need and often store in chain spec so it doesn't change between recompilations when many restarts are needed. Not sure about the feature though.

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