0xMiden / 0xMiden/protocol

Add Authority Config Note for Managing `freeze` / `unfreeze` and `pause_procedure` and `unpause_procedure` Actions

Aberta
#3,854 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
132
Forks
167
Merge médio
1d 23h
PRs com merge (30d)
110

Descrição

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:

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.