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

E2E Test: Validator Punishment and Early Epoch End #116

Open
2 tasks
SurfingNerd opened this issue Nov 7, 2024 · 0 comments
Open
2 tasks

E2E Test: Validator Punishment and Early Epoch End #116

SurfingNerd opened this issue Nov 7, 2024 · 0 comments

Comments

@SurfingNerd
Copy link
Collaborator

SurfingNerd commented Nov 7, 2024

covered topics

Tests Unavailability Reporting of the Nodes for the new time based logic (DMDcoin/diamond-contracts-core#245)
Tests the correct inclusion of Event Logs and their Blooms for System Transactions (DMDcoin/diamond-node#125)
Improve the evaluation of E2E tests for a future integration for the CI Pipeline (#100)

Test Design

  • Create a network with 15 Nodes with fast Epochs (1 Minute ?) 15 Nodes means 13 Nodes as sweet spot and 2 reserve nodes that are able to gather bonus scores. With the static early epoch end fault tolerance of 2, early epoch ends wont get triggered if 1 nodes passes out, but it triggers if 2 nodes pass out.

  • Nodes will gather Bonus Score fast.

  • After some Epochs, a node with a Bonus Score will get into the validator set.

  • Shutdown 1 Node for this Epoch, verify if

    • The Validator looses the defined Bonus Score
    • The Validator does not get rewards
  • Following Epoch, 13 Nodes out of the remaining 14 are chosen.

  • Shutdown 1 Node: no Early Epoch should trigger

  • Shutdown second Node: Early Epoch End should trigger.

@SurfingNerd SurfingNerd removed this from Alpha4 Nov 21, 2024
SurfingNerd added a commit to SurfingNerd/honey-badger-testing that referenced this issue Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant