Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Dec 6, 2023
1 parent 743dead commit da62ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/circuit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.50.1/baseapp/msg_service_router.go#
```

:::note
The `CircuitBreakerDecorator` works for most use cases, but does not check the inner messages of a transaction. This means `x/authz` transaction or `x/gov` transactions may pass the ante handler. **This does not affect the circuit breaker** as the message router check will still fail the transaction.
The `CircuitBreakerDecorator` works for most use cases, but does not check the inner messages of a transaction. This some transactions (such as `x/authz` transactions or some `x/gov` transactions) may pass the ante handler. **This does not affect the circuit breaker** as the message router check will still fail the transaction.
This tradeoff is to avoid introducing more dependencies in the `x/circuit` module. Chains can re-define the `CircuitBreakerDecorator` to check for inner messages if they wish to do so.
:::

Expand Down

0 comments on commit da62ffb

Please sign in to comment.