This repository has been archived by the owner on Jul 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Witness hash storage tests, with repeated block
Repeated persistence with the same block should not consume history slots. I tested the test by patching into line 59 of trinity/protocol/wit/db.py: + if True or block_hash not in recent_blocks_with_witnesses: The test fails with that change, as expected. Also, explicitly check that DB eviction works after a block repeat is persisted.
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters