From da62ffb848ae0e34d45bf5903b0a76b53930ad6a Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 6 Dec 2023 14:12:03 +0100 Subject: [PATCH] typo --- x/circuit/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/circuit/README.md b/x/circuit/README.md index f485c786fe86..8d1d48ed11b3 100644 --- a/x/circuit/README.md +++ b/x/circuit/README.md @@ -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. :::