Skip to content

abi file with solidity function overloading not supported #22

@xmxanuel

Description

@xmxanuel

I recognize if an abi file for a contract contains two functions with the same name (function overloading) the first function can't be called.

eth-js throws an error because it is using only the second function definition in the abi file. (Therefore a types/values mismatch error is thrown if the first function with the same name is called.)

Reordering the functions in the abi file results in the opposite behaviour.

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