Skip to content

feat: add pausable hook implementation for cosmosnative#170

Open
damiannolan wants to merge 1 commit intodamian/rate-limiting-hookfrom
damian/circuit-breaker-pausable-hook
Open

feat: add pausable hook implementation for cosmosnative#170
damiannolan wants to merge 1 commit intodamian/rate-limiting-hookfrom
damian/circuit-breaker-pausable-hook

Conversation

@damiannolan
Copy link
Copy Markdown
Collaborator

Description

The following PR adds PausableHook, a mailbox-scoped hard circuit breaker for outbound dispatch. Owners can toggle a paused flag; when paused, the hook rejects dispatches for its configured mailbox and otherwise charges no fee or mutates no state.

Builds on the aggregation/rate-limit hook (#168 and #169) work by adding the emergency stop control to be composed in an aggregation hook. Includes proto/query/tx/genesis support, keeper/router wiring, CLI commands, events, and tests for owner toggling, mailbox checks, aggregation behavior, and genesis round-trip.

@damiannolan damiannolan self-assigned this Apr 28, 2026
@damiannolan damiannolan marked this pull request as ready for review April 28, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant