Skip to content

Commit

Permalink
Reorganize memory_state to avoid giant test module (#1258)
Browse files Browse the repository at this point in the history
Prior to this PR `memory_state` defined and implemented functionality for three different types, `Chain`, `NonFinalizedState`, and `QueuedBlocks`. Each of these components will need a fair number of unit tests, and I realized that as its currently organized it would be difficult to organize the tests or at a glance figure out which tests are testing which components.

This PR changes the organization of `memory_state` such that each component it exports is defined in its own module. In follow up PRs each module will get its own test module, which will focus exclusively on unit tests for the item defined there-in.

- [Tracking Issue](#1250)
  • Loading branch information
yaahc authored Nov 9, 2020
1 parent e40c7b5 commit 818fede
Show file tree
Hide file tree
Showing 4 changed files with 888 additions and 867 deletions.
Loading

0 comments on commit 818fede

Please sign in to comment.