You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
sr_io just import Blake2Hasher in to wasm, which is blake2_256
But in our project, we need blake2_512 to do the ss58 check for generating checksum
I have read the file core/primitives/src/hashing.rs
ext_blake2_256 in implemented in ./core/executor/src/wasm_executor.rs:523
to implement blake2_512 for std and no_std in a similar way to blake2_256, you need to modifie sr-io/with_std, sr-io/without_std and core/executor/src/wasm_executor
is the question solved ? you can open it again if you need more details or if you want it to be implemented in substrate. But currently it seems question is anwsered :-)
is the question solved ? you can open it again if you need more details or if you want it to be implemented in substrate. But currently it seems question is anwsered :-)
thank you very much again for I have implemented it for our project! :-)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
sr_io
just importBlake2Hasher
in to wasm, which isblake2_256
But in our project, we need
blake2_512
to do the ss58 check for generating checksumI have read the file
core/primitives/src/hashing.rs
and I just find for wasm like
But I don't know where is
ext_blake2_256
impl?And how the implementation link to
extern "C"
So could you tell me how can I impl
std
andno_std
blake2_512
for our project?thank you very much!
The text was updated successfully, but these errors were encountered: