-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make frequency of invariant checks configurable #4053
Milestone
Comments
See my comment #3914 (comment). I think it should be configured blockly, not timely. |
sure, either sounds positive to me |
alessio
changed the title
Run Invariant checks per timeperiod
Make frequency of invariant checks configurable
Apr 8, 2019
alessio
added a commit
that referenced
this issue
Apr 10, 2019
5 tasks
alessio
added a commit
that referenced
this issue
Apr 10, 2019
alexanderbez
pushed a commit
that referenced
this issue
Apr 24, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
REF #3914 (comment)
Rather than running the invariant checks every block, The node-operator should specify the number of blocks which they wish to run invariants with.
Additionally, each time the invariance is run, the number of block to run all invariants should be logged.
Acceptance Criteria
AC1
Given I run
gaiad --inv-check-freq=N
Given N is strictly greater than 0
When the Nth block is created
Then invariance checks run
Then invariance checks output is logged.
AC2
Given I run
gaiad --inv-check-freq=N
Given N equals 0
When the new blocks are created
Then invariance checks don't run
AC3
Given I run
gaiad --inv-check-freq=N
Given N strictly smaller than 0
When the gaiad start
Then the node fails to start.
The text was updated successfully, but these errors were encountered: