This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
Refactor: alleviate painful AsHashDB impls with macro (or magic) #9022
Labels
F6-refactor 📚
Code needs refactoring.
M4-core ⛓
Core client code / Rust.
P7-nicetohave 🐕
Issue is worth doing eventually.
Q2-easy 💃
Can be fixed by copy and pasting from StackOverflow.
Milestone
In the course of Make HashDB generic changes were made to the
HashDB
trait that made it impossible to keep the generic impls ofAsHashDB
we had before. To work around this concrete impls forAsHashDB
were added in many places. Find a more elegant way to deal with the issue, e.g. by adding aimpl_as_hash_db!
macro.See the
NOTE
in the code for more details.The text was updated successfully, but these errors were encountered: