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

Hotfix NIS benchmark #13651

Merged
merged 2 commits into from
Mar 20, 2023
Merged

Hotfix NIS benchmark #13651

merged 2 commits into from
Mar 20, 2023

Conversation

ggwpez
Copy link
Member

@ggwpez ggwpez commented Mar 20, 2023

paritytech/polkadot#6780 is currently stuck because of a rounding error in the NIS pallet / sp-arithmetic.

This MR hot-fixes it by increasing the pot amount to make the benchmark pass. Obviously not a proper fix, but something to unblock the CI for everyone else.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez ggwpez added A0-please_review Pull request needs code review. A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes 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 Mar 20, 2023
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@gavofyork gavofyork merged commit 9795fa3 into master Mar 20, 2023
@gavofyork gavofyork deleted the oty-hotfix-nis branch March 20, 2023 12:34
ggwpez added a commit that referenced this pull request Mar 29, 2023
This reverts #13651 since we merged the
proper fix in #13660

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
breathx pushed a commit to gear-tech/substrate that referenced this pull request Apr 22, 2023
* Hotfix NIS rounding error

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Also fix communal

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
* Hotfix NIS rounding error

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Also fix communal

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
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. A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes 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.

2 participants