Expand description
Subsystem benchmark for the dispute coordinator and dispute distribution subsystems.
Scenarios:
- Dispute participation.
- Dispute distribution receives a DisputeRequest message from Validator 1 with votes:
- valid (Validator 1).
- invalid (Validator 3) <- malicious.
- Dispute distribution sends DisputeCoordinatorMessage::ImportStatements.
- Dispute coordinator imports the votes and participate in the dispute.
- Dispute coordinator sends DisputeDistributionMessage::SendDispute.
- Dispute distribution sends DisputeRequest to all validators.
- TODO: Dispute confirmed: we need 1/3+1 votes per candidate.
- TODO: Dispute concluded: we need 2/3+1 votes per candidate. Here we can test db population
- TODO: Spamming: a combination of scenario 3 + multiple of scenario 1
Structs§
- Disputes
Options - Parameters specific to the approvals benchmark
- Test
State