From ce5d58517951dd80b7f13e6487bc12f0dd329acc Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Wed, 6 Nov 2024 23:59:12 +0700 Subject: [PATCH 1/3] update to specific detail on circuit module --- x/circuit/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/circuit/README.md b/x/circuit/README.md index 0a8d3ee95547..1802240bea36 100644 --- a/x/circuit/README.md +++ b/x/circuit/README.md @@ -79,7 +79,7 @@ Authorize, is called by the module authority (default governance module account) ### Trip -Trip, is called by an authorized account to disable message execution for a specific msgURL. If empty, all the msgs will be disabled. +Trip, is called by an authorized account to disable message execution for a specific msgURL. If empty, depending on the permission level of the sender, the corresponding messages all the will be disabled. For example: if the sender permission level `LEVEL_SOME_MSGS` will disable all messages that sender has permission. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all msgs will be disabled. ```protobuf // TripCircuitBreaker pauses processing of Msg's in the state machine. @@ -88,7 +88,7 @@ Trip, is called by an authorized account to disable message execution for a spec ### Reset -Reset is called by an authorized account to enable execution for a specific msgURL of previously disabled message. If empty, all the disabled messages will be enabled. +Reset is called by an authorized account to enable execution for a specific msgURL of previously disabled message. If empty, depending on the permission level of the sender, the corresponding disabled messages will be enabled. For example: if the sender permission level `LEVEL_SOME_MSGS` then re-enable all messages that sender has permission. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all messages will be re-enable. ```protobuf // ResetCircuitBreaker resumes processing of Msg's in the state machine that From 759cbb353f8f3d2ab1a5cfbb3fce1bb33a2fe49f Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Thu, 7 Nov 2024 00:12:24 +0700 Subject: [PATCH 2/3] nit --- x/circuit/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/circuit/README.md b/x/circuit/README.md index 1802240bea36..fecfb7a5f46a 100644 --- a/x/circuit/README.md +++ b/x/circuit/README.md @@ -79,7 +79,7 @@ Authorize, is called by the module authority (default governance module account) ### Trip -Trip, is called by an authorized account to disable message execution for a specific msgURL. If empty, depending on the permission level of the sender, the corresponding messages all the will be disabled. For example: if the sender permission level `LEVEL_SOME_MSGS` will disable all messages that sender has permission. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all msgs will be disabled. +Trip, is called by an authorized account to disable message execution for a specific msgURL. If empty, depending on the permission level of the sender, the corresponding messages all the will be disabled. For example: if the sender permission level is `LEVEL_SOME_MSGS` then all messages that sender has permission will be disabled. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all msgs will be disabled. ```protobuf // TripCircuitBreaker pauses processing of Msg's in the state machine. @@ -88,7 +88,7 @@ Trip, is called by an authorized account to disable message execution for a spec ### Reset -Reset is called by an authorized account to enable execution for a specific msgURL of previously disabled message. If empty, depending on the permission level of the sender, the corresponding disabled messages will be enabled. For example: if the sender permission level `LEVEL_SOME_MSGS` then re-enable all messages that sender has permission. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all messages will be re-enable. +Reset is called by an authorized account to enable execution for a specific msgURL of previously disabled message. If empty, depending on the permission level of the sender, the corresponding disabled messages will be enabled. For example: if the sender permission level is `LEVEL_SOME_MSGS` all messages that sender has permission will be re-enabled. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all messages will be re-enabled. ```protobuf // ResetCircuitBreaker resumes processing of Msg's in the state machine that From 2ca603c0b3c53eaaf301bdc8e371d0da991472a2 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Thu, 7 Nov 2024 00:13:16 +0700 Subject: [PATCH 3/3] nit --- x/circuit/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/circuit/README.md b/x/circuit/README.md index fecfb7a5f46a..4b70367df328 100644 --- a/x/circuit/README.md +++ b/x/circuit/README.md @@ -79,7 +79,7 @@ Authorize, is called by the module authority (default governance module account) ### Trip -Trip, is called by an authorized account to disable message execution for a specific msgURL. If empty, depending on the permission level of the sender, the corresponding messages all the will be disabled. For example: if the sender permission level is `LEVEL_SOME_MSGS` then all messages that sender has permission will be disabled. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all msgs will be disabled. +Trip, is called by an authorized account to disable message execution for a specific msgURL. If empty, depending on the permission level of the sender, the corresponding messages will be disabled. For example: if the sender permission level is `LEVEL_SOME_MSGS` then all messages that sender has permission will be disabled. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all msgs will be disabled. ```protobuf // TripCircuitBreaker pauses processing of Msg's in the state machine. @@ -88,7 +88,7 @@ Trip, is called by an authorized account to disable message execution for a spec ### Reset -Reset is called by an authorized account to enable execution for a specific msgURL of previously disabled message. If empty, depending on the permission level of the sender, the corresponding disabled messages will be enabled. For example: if the sender permission level is `LEVEL_SOME_MSGS` all messages that sender has permission will be re-enabled. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all messages will be re-enabled. +Reset is called by an authorized account to enable execution for a specific msgURL of previously disabled message. If empty, depending on the permission level of the sender, the corresponding disabled messages will be re-enabled. For example: if the sender permission level is `LEVEL_SOME_MSGS` all messages that sender has permission will be re-enabled. If the sender is `LEVEL_SUPER_ADMIN` or `LEVEL_ALL_MSGS` then all messages will be re-enabled. ```protobuf // ResetCircuitBreaker resumes processing of Msg's in the state machine that