WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Test storage key decoding or ask Parity for advice #452

@daniel-savu

Description

@daniel-savu

Is your feature request related to a problem? Please describe.
The decoding of storage keys used in the clients will break if the hasher used by their containing map changes (e.g. switching to BLAKE_2_128 from TWOX_64). That is because the decoding uses hardcoded assumptions, in spite of the hasher info being available in the metadata.

Describe the solution you'd like
Either add tests so the pipeline breaks on such a change, or ask Parity if there is an automatic way of using metadata information to decode storage keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo ⏳

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions