Refactor tests to use is_mainnet()
to look up test vectors using new functions in zebra-test
#8325
Labels
A-consensus
Area: Consensus rule updates
A-network
Area: Network protocol updates or fixes
C-enhancement
Category: This is an improvement
C-testing
Category: These are tests
good first issue
Motivation
We want to add an
is_mainnet()
method toNetwork
and refactor tests to use it instead of matching onTestnet
to minimize the changes in following PRs that add parameters to theTestnet
variant.See step 1 in #7967 (comment)
The text was updated successfully, but these errors were encountered: