Refactor node creation in tests #1648
Labels
T:code-hygiene
General cleanup and restructuring of code to provide clarity, flexibility, and modularity.
T:testing
Related to testing
There are multiple functions to create node instances. Lot of the code is duplicated. We should create single helper (function on struct) for creating nodes.
Configuration / possible inputs:
VoteExtensionsEnableHeight
in particular)DBPath
in particular)For each possible input there should be a reasonable default value.
Possible outputs:
Originally mentioned in: #1641 (comment) and #1641 (comment).
The text was updated successfully, but these errors were encountered: