Skip to content

Remove method overloads #61

@dtbuchholz

Description

@dtbuchholz

This isn't necessarily essential, but viem tends to struggle with heavily overloaded methods and type inference. We can either:

  • Keep things as-is, and better understand if there are ways to resolve this easily with viem (it's possible the JS SDK didn't manage this optimally)
  • Remove overloads from only the ABI (manually or scripts) when it's used in external libs, e.g., the JS SDK or Studio
  • Remove the overloads entirely so that every method has a single function signature

Overloads were created to help facilitate a better DX for Solidity-first developers. However, the only user for the foreseeable future is internal client tooling (JS SDK, Studio, etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions