Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
4543: Add tests for validation of rewarded finality signatures r=fizyk20 a=fizyk20

This PR adds new tests to the `BlockValidator`, verifying that it correctly validates rewarded finality signatures.

It also contains a big rework of the framework for testing the `BlockValidator`, adding a `ValidationContext` that holds the details of the case being tested and is used to simulate specific responses to `BlockValidator`'s requests.

Closes casper-network#3914 


Co-authored-by: Bartłomiej Kamiński <[email protected]>
  • Loading branch information
casperlabs-bors-ng[bot] and fizyk20 authored Feb 22, 2024
2 parents ce92a85 + 0385d4f commit 210208c
Show file tree
Hide file tree
Showing 2 changed files with 749 additions and 178 deletions.
Loading

0 comments on commit 210208c

Please sign in to comment.