Skip to content

Move ExactLengthBytesEncoder to eth-abi #1455

@kclowes

Description

@kclowes
  • Version: 5.x

What was wrong?

In order to support ABI encoding of bytes types of a specific length, a new encoder class had to be added. This class really belongs in the eth-abi library but was placed in web3 for the time being so that new eth-abi releases aren't needed for small changes. Once some time has passed, and we haven't seen issues raised with the API, it can be moved over.

How can it be fixed?

We should be able to pretty much copy/paste the whole class over to eth-abi. We will also need a new exact bytes length specific decoder, like was added in PR #1419.

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