SDK: When are invariants run? #18
-
This explains what invariants in Cosmos are, what they are used for and how to implement them. However, I am not sure when these are actually checked? Is it after every block? After some time? Only during testing? etc. |
Beta Was this translation helpful? Give feedback.
Answered by
julienrbrt
May 23, 2023
Replies: 1 comment
-
You have to run a node with invariant check enabled (f.e |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alexanderbez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to run a node with invariant check enabled (f.e
simd start --inv-check-period 10
, which will check the invariants every 10 blocks)