Refactor blockchain reactor for better testability #2897
Labels
C:sync
Component: Fast Sync, State Sync
T:enhancement
Type: Enhancement
T:test
Type: Tests that need love
Milestone
Tests are "hard to read, hard to modify, hard to debug" (@melekes). One idea how tests can be improved is splitting business (algorithm) logic in a function and separate it from a real message sending. This logic should capture core algorithm, i.e., for a given state, what messages we should send and how we should react upon message reception.
The text was updated successfully, but these errors were encountered: