Currently we implement a couple of From imlps in unit tests for Target, this is strange because it begs the question of why we use the From trait in test code only and not for real.
- Add a test specific function that is explicitly for converting a test case
u64 to a u256 (or Target / Work).
- Remove the
From and Into impls from the tests module
Currently we implement a couple of
Fromimlps in unit tests forTarget, this is strange because it begs the question of why we use theFromtrait in test code only and not for real.u64to au256(orTarget/Work).FromandIntoimpls from thetestsmodule