Skip to content

Update based on hexbytes.hex() changes #1543

@trentmc

Description

@trentmc

Background / motivation

"If you're a Python dev doing web3 stuff, beware of the breaking change introduced in hexbytes v1.0. The hex() method no longer prepends '0x' to the hex string, so if you're doing keccak hashing be aware that it'll be all screwed up. The new method to_0x_hex() preserves the behavior.

Wasted the better part of a day debugging why my bundles were being rejected."

Ref: https://x.com/bowtieddevil/status/1809795540517023842?s=46

TODO

  • Identify if this affects us
  • Make necessary changes

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