Skip to content

Add state getter in TimelockController using OperationState enum #4316

@ernestognw

Description

@ernestognw

Description

We introduced an enum of OperationStates for custom errors in #4261. However, it feels weird that such enum is only used for custom errors.

We should use the same enum for retrieving the state. We might also want to replace the state getters with this new state(bytes32 id) getter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeChanges that break backwards compatibility of the public API.featureNew contracts, functions, or helpers.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions