-
Notifications
You must be signed in to change notification settings - Fork 101
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
Enable 6 second block times for people
chain
#308
Enable 6 second block times for people
chain
#308
Conversation
Review required! Latest push from author must always be reviewed |
/// Maximum number of blocks simultaneously accepted by the Runtime, not yet included | ||
/// into the relay chain. | ||
pub const UNINCLUDED_SEGMENT_CAPACITY: u32 = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems pretty conservative. What is the tradeoff with higher values? More forks?
IMO in general we should on Kusama be a little more aggressive with parameterization. If that doesn't apply to this value, ignore :).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC higher values don't make real sense if we're targeting 6 seconds with velocity == 1. I mean, we can set it higher, but we'll still be getting 6 seconds %)
…-blocktime-people
Co-authored-by: joe petrowski <[email protected]>
…ople' into s0me0ne/enable-6sec-blocktime-people
/merge |
Enabled Available commands
For more information see the documentation |
bd1759c
into
polkadot-fellows:main
Encointer communities could benefit from 6s block time because the network is used for IRL point-of-sale or person-to-person transactions Encointer is unaffected by paritytech/polkadot-sdk#3268 as its pallets have since ever based time on block timestamps The parameters are copy-paste from people, as introduced by #308 --------- Co-authored-by: joe petrowski <[email protected]>
This is an excerpt from #266. It aims to enable 6-second block times for
people
parachain only.If I'm not missing anything, the
people
parachain is the only parachain not affected by paritytech/polkadot-sdk#3268, and thus, 6-second block times may be enabled without breaking something.This PR was tested locally using the
kusama-local
relay chain. The time of the session within which the runtime upgrade was enacted expectedly deviated, but other than that, no problems were observed.