Page MenuHomePhabricator

[avalanche] Consistently use the FromHex methods in tests
ClosedPublic

Authored by Fabien on Apr 11 2022, 13:53.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC2af086eb7a6d: [avalanche] Consistently use the FromHex methods in tests
Summary

This has a few benefits:

  • It removes the dependency to streams.h
  • It prevents the tests running into a meaningless exception in the input stream is invalid
  • It makes it easier to update to new format in the future
Test Plan
ninja check-avalanche

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable