Hello,
Can someone remind me what is “mustRotateKeysBefore” in authorityMembers.members pallet ?
Thanks
1 Like
expire_on_session
is the authority membership expiration. It is updated as well as must_rotate_keys_before
when session keys are updated.
However I don’t understand expire_on_session
:
-
set_session_keys
sets it tocurrent + MaxOfflineSessions
- when an authority is outgoing, when the next session begins,
expire_on_session
is set tocurrent + MaxOfflineSessions
, but only when there is no incoming authority. - I can’t find any other update: I guess it should be updated on
ImOnline
or at every session when the authority is active.
1 Like