Skip to content

Allow encodeArrayKey function to receive plain key name as first argument #485

@CJ42

Description

@CJ42

I'm submitting a...

  • bug report
  • feature request
  • question about the decisions made in the repository
  • question about how to use this project

Summary

The function encodeArrayKey currently behaves incorrectly and does not throw an error when the input is the data key name.
Instead, it expects a hex string to be passed but this is not enforced by the typings. See screenshots below:

image

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions