Name | Lookup | Parameters | |
|---|---|---|---|
| change_validators | 0c00 | 3 | |
| set_ban_config | 0c01 | 4 | |
| ban_from_committee | 0c02 | 2 | |
| cancel_ban | 0c03 | 1 | |
| set_elections_openness | 0c04 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ChangeValidators | 0c00 | ["Vec<AccountId>","Vec<AccountId>","CommitteeSeats"] | |
| SetBanConfig | 0c01 | ["BanConfigStruct"] | |
| BanValidators | 0c02 | ["Vec<(AccountId, BanInfo)>"] |
Name | Type | |
|---|---|---|
| CommitteeSize | {"origin":"PlainType","plain_type":"primitives:CommitteeSeats","PlainTypeValue":50} | |
| NextEraCommitteeSize | {"origin":"PlainType","plain_type":"primitives:CommitteeSeats","PlainTypeValue":50} | |
| NextEraReservedValidators | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":49} | |
| CurrentEraValidators | {"origin":"PlainType","plain_type":"primitives:EraValidators","PlainTypeValue":238} | |
| NextEraNonReservedValidators | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":49} | |
| 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":239} | |
| BanConfig | {"origin":"PlainType","plain_type":"primitives:BanConfig","PlainTypeValue":51} | |
| 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":54}} | |
| Openness | {"origin":"PlainType","plain_type":"primitives:ElectionOpenness","PlainTypeValue":125} |
Name | Type | Value | |
|---|---|---|---|
| SessionPeriod | U32 | 84030000 | |
| MaximumBanReasonLength | U32 | 2c010000 | |
| MaxWinners | U32 | ffffffff |
Name | Docs |
|---|---|
| NotEnoughValidators | |
| NotEnoughReservedValidators | |
| NotEnoughNonReservedValidators | |
| NonUniqueListOfValidators | |
| 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[`Config::MaximumBanReasonLength`] |