This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Configurable storage hasher #5040
Closed
Description
I am updating the storage hasher for our ORML open-web3-stack/open-runtime-module-library#101
For the oracle module, I am using twox64_concat
for T::OracleKey
, which is an enum for Acala and LamianrChain, so it is safe as there will be only < 10 possible values.
However this may cause issue if someone is using u128
as T::OracleKey
.
Without the ability to configure hasher, it is not possible to implement efficient and reusable pallet.