This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
BEEFY: Simplify hashing for pallet-beefy-mmr
#12387
Labels
pallet-beefy-mmr
#12387
Right now
pallet-beefy-mmr
Declares a newHasher
trait and a newKeccak256
struct which implements it. I was wondering if this is needed.I was thinking of 2 possible simplifications:
Keccak256
struct that's already present insp_runtime
, doing something like:Or we could do even something more generic:
Hasher
trait completely and usesp_runtime::traits::Hash
instead ? And maybe in the end we could also remove this.@acatangiu WDYT ? If this issue makes sense I would be happy to implement it.
The text was updated successfully, but these errors were encountered: