-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GlobalState: add test where same block is stored twice
Verify that nothing seemingly breaks if the same block is stored as tip twice. This could, theoretically, happen with some weird race conditions. We want to check that nothing breaks if that happens. A better solution to allowing it, though, would maybe be if the `GlobalState` simply ignored the block the 2nd time that it sees it.
- Loading branch information
1 parent
15970eb
commit e7fd919
Showing
2 changed files
with
57 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
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