Name | Lookup | Parameters | |
|---|---|---|---|
| set_ban_config | 1501 | 4 | |
| ban_from_committee | 1502 | 2 | |
| cancel_ban | 1503 | 1 | |
| set_lenient_threshold | 1504 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| SetBanConfig | 1500 | ["BanConfigStruct"] | |
| BanValidators | 1501 | ["Vec<(AccountId, BanInfo)>"] |
Name | Type | |
|---|---|---|
| LenientThreshold | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":313} | |
| SessionValidatorBlockCount | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}} | |
| ValidatorEraTotalReward | {"origin":"PlainType","plain_type":"Vec<Tuple:AccountIdU32>","PlainTypeValue":314} | |
| BanConfig | {"origin":"PlainType","plain_type":"primitives:BanConfig","PlainTypeValue":69} | |
| UnderperformedValidatorSessionCount | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}} | |
| Banned | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"primitives:BanInfo","keys_id":0,"value_id":72}} | |
| CurrentAndNextSessionValidatorsStorage | {"origin":"PlainType","plain_type":"pallet_committee_management:CurrentAndNextSessionValidators","PlainTypeValue":315} |
Name | Type | Value | |
|---|---|---|---|
| SessionPeriod | U32 | 84030000 |
Name | Docs |
|---|---|
| InvalidBanConfig | Raised in any scenario [`BanConfig`] is invalid* `performance_ratio_threshold` must be a number in range [0; 100]* `underperformed_session_count_threshold` must be a positive number,* `clean_session_counter_delay` must be a positive number. |
| BanReasonTooBig | Ban reason is too big, ie given vector of bytes is greater than[`primitives::DEFAULT_BAN_REASON_LENGTH`] |
| InvalidLenientThreshold | Lenient threshold not in [0-100] range |