Skip to content
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

Automated Dispute Load Test #746

Open
eskimor opened this issue Dec 21, 2022 · 1 comment
Open

Automated Dispute Load Test #746

eskimor opened this issue Dec 21, 2022 · 1 comment

Comments

@eskimor
Copy link
Member

eskimor commented Dec 21, 2022

One automated test I would like to have some point soon is the following:

  1. Dispute lots of valid candidates
  2. Also create garbage candidates

Make sure that no block including a garbage candidate gets ever finalized, even under heavy load. This would involve some tracking

Related: Track the order of disputes resolving. Would be good to see, that disputes are resolving in the right order (oldest first).

Both of these should probably be checked in the same test. The ordering does not have to be perfect: If disputes are raised roughly at the same time, then the order in which they resolve is not defined. The ordering is only enforced when dispute participations start to queue up.

In practice this should mean that, assuming nodes are not too much out of sync, it should not happen that a dispute for a candidate on block X + 1 resolves before a dispute for a candidate on block X.

@eskimor eskimor changed the title More dispute tests Automated Dispute Load Test Dec 21, 2022
@eskimor
Copy link
Member Author

eskimor commented Dec 21, 2022

Implied: The network should not break under heavy load.

@Sophia-Gold Sophia-Gold transferred this issue from paritytech/polkadot Aug 24, 2023
helin6 pushed a commit to boolnetwork/polkadot-sdk that referenced this issue Feb 5, 2024
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 10, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 10, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
bkchr pushed a commit that referenced this issue Apr 10, 2024
* add document

* Send message documentation

* Apply review

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>

Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Status: No status
Development

No branches or pull requests

2 participants