Skip to content

Enhancement: TwapOracle pause/unpause require full Admin, unlike DripGovernor's dedicated Pauser role #307

Description

@Jaydbrown

DripGovernor has a dedicated Role::Pauser gating governor_pause/governor_unpause/pause_factory/unpause_factory, so pause authority can be delegated to an operational wallet without granting full Admin. TwapOracle::pause/unpause (contracts/oracle/src/lib.rs) are gated with require_role_or_admin(&env, &caller, Role::Admin) — there is no Role::Pauser (or equivalent) in the oracle's Role enum at all, so halting price submission during an incident requires a full Admin key. This is the same delegation gap closed issue #203 addressed for the governor, just not carried over to the oracle contract.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions