Skip to content

Add Authority Config Note for Managing freeze / unfreeze Actions #3854

Description

@onurinanc

After #3853 is merged, we need to add the configuration notes respectively.

Authority needs to get its own AuthorityConfig note rather than new selectors on PauseConfig.

It also closes an existing gap that freeze and unfreeze have no standard notes, so a network account has no way to reach the emergency switch without a hand-written script. All four actions share the same assert_sender_is_emergency_authority gate, so they belong in one note:

pub enum AuthorityConfig {
    Freeze,
    Unfreeze,
    PauseProcedure { procedure_root: AccountProcedureRoot },
    UnpauseProcedure { procedure_root: AccountProcedureRoot },
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    standardsRelated to standard note scripts or account components

    Fields

    Priority

    None yet

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions