-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Zombienet: BFT threshold dispute test #5020
Conversation
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
…/malus_improvement Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
…lkadot into sandreim/more_dispute_tests_2 Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
#4711 Co-authored-by: Lldenaurois <Ljdenaurois@gmail.com> Co-authored-by: Andrei Sandu <andrei-mihail@parity.io> Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
…/malus_improvement Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
…lkadot into sandreim/more_dispute_tests_2
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
…lkadot into sandreim/more_dispute_tests_2
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
…lkadot into sandreim/more_dispute_tests_2
| malus-validator-2: reports node_roles is 4 | ||
|
|
||
|
|
||
| honest-validator-0: parachain 2000 block height is at least 4 within 180 seconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 blocks after 180 is a safeguard for cascaded startup delay, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup
| honest-validator-8: reports parachain_disputes_finality_lag is lower than 4 | ||
| honest-validator-9: reports parachain_disputes_finality_lag is lower than 4 | ||
|
|
||
| honest-validator-0: reports parachain_candidate_disputes_total is at least 4 within 15 seconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We expect all 4 blocks produced to be disputed. ✔️
| honest-validator-2: parachain 2002 block height is at least 4 within 180 seconds | ||
| honest-validator-3: parachain 2003 block height is at least 4 within 180 seconds | ||
|
|
||
| honest-validator-3: log line contains "reverted due to a bad parachain block" within 180 seconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should be the case for all honest validators
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
drahnr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The assertion file requires some additional comments.
There is also one integration test being deleted - was that intentional?
| honest-validator-6: reports parachain_disputes_finality_lag is lower than 4 | ||
| honest-validator-7: reports parachain_disputes_finality_lag is lower than 4 | ||
| honest-validator-8: reports parachain_disputes_finality_lag is lower than 4 | ||
| honest-validator-9: reports parachain_disputes_finality_lag is lower than 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you elaborate what this verifies? I don't quite understand.
Related to paritytech/polkadot-sdk#874