You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the validators page, add to the list pending validators which are the ones that will join next epoch.
Context of the system-state information:
/// List of new validator candidates added during the current epoch.
/// They will be processed at the end of the epoch.
pending_active_validators: TableVec<ValidatorV1>,
/// Mapping from a staking pool ID to the inactive validator that has that pool as its staking pool.
/// When a validator is deactivated the validator is removed from `active_validators` it
/// is added to this table so that stakers can continue to withdraw their stake from it.
inactive_validators: Table<ID, Validator>,
/// Table storing preactive/candidate validators, mapping their addresses to their `ValidatorV1 ` structs.
/// When an address calls `request_add_validator_candidate`, they get added to this table and become a preactive
/// validator.
/// When the candidate has met the min stake requirement, they can call `request_add_validator` to
/// officially add them to the active validator set `active_validators` next epoch.
validator_candidates: Table<address, Validator>,
the pendingActiveValidatorId that is returned is what we want. We would get the information on the validators through iotax_getDynamicFields if the pendingActiveValidatorSize > 0. Fun fact the Id is the objecd-id of the Table wrapped inside the TableVec.
The rest inactive, candidates do not have more information than the one you get from iotax_getDynamicFields
The text was updated successfully, but these errors were encountered:
In the validators page, add to the list
pending
validators which are the ones that will join next epoch.Context of the system-state information:
the
pendingActiveValidatorId
that is returned is what we want. We would get the information on the validators throughiotax_getDynamicFields
if thependingActiveValidatorSize > 0
. Fun fact theId
is the objecd-id of theTable
wrapped inside theTableVec
.The rest
inactive, candidates
do not have more information than the one you get fromiotax_getDynamicFields
The text was updated successfully, but these errors were encountered: