Skip to content

FRAME: should export hash function that uses the host functions instead of pure-wasm implementation #12727

Description

@gui1117

In this PR #12158 I see frame-support is re-exporting some hash function with sp_crypto_hashing, I guess it should re-export hash function that uses the host function as they are faster.

Or maybe sp_crypto_hashing should automatically use the host function as an optimization when running inside the runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions