mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
[Collator Selection] Fix weight refund for set_candidacy_bond (#3643)
Fixes #3642 This PR implements the weight refund of `pallet_collator_selection::set_candidacy_bond` to account for no iterations when the bond is decreased. --------- Signed-off-by: georgepisaltu <george.pisaltu@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
|
||||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
|
||||
|
||||
title: Fix weight refund for `pallet_collator_selection::set_candidacy_bond`
|
||||
|
||||
doc:
|
||||
- audience: Runtime Dev
|
||||
description: |
|
||||
This PR implements the weight refund of `pallet_collator_selection::set_candidacy_bond` to
|
||||
account for no iterations over the candidate list when the candidacy bond is decreased.
|
||||
crates:
|
||||
- name: pallet-collator-selection
|
||||
Reference in New Issue
Block a user