Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Changed Bonding & SlashDefer Duration in Westend #5634

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

Imod7
Copy link
Contributor

@Imod7 Imod7 commented Jun 3, 2022

Description

Kindly suggesting to reduce the Bonding Duration (and hence also the SlashDefer Duration slightly less) in Westend so that teams can execute their tests faster.

The new proposed time frames are the following :

  • Bonding Duration to 12 hours (= 2 eras) and
  • Slash Defer Duration to 6 hours (= 1 era)

Why 12 and 6 (or 2 and 1) ?

The specific values are suggested since I realised (from testing locally and trying out different bonding values) that I could not insert anything less than a whole era (6h in westend) or positive integer multiples of an era. So based on this assumption, the shortest time frame for Bonding Duration would be 2 eras since SlashDefer needs to be slightly less so 1 era. Please do correct me if I am wrong but I think this is related to the fact that these constants are of type EraIndex which is a u32.

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Jun 3, 2022
@joepetrowski joepetrowski added B7-runtimenoteworthy C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels Jun 3, 2022
@Imod7
Copy link
Contributor Author

Imod7 commented Jun 7, 2022

bot merge

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants