Skip to content

Why do we pad uneven length hex numbers with leading zeros? #152

@BelfordZ

Description

@BelfordZ

Can anyone tell me why?
https://github.com/MetaMask/eth-json-rpc-filters/blob/main/hexUtils.js#L55

This is causing tests against https://github.com/ethereum/execution-apis to fail (expects hex number that is not zero-leading)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions