Skip to content

Invalid encode of string #16

@PavelVesnin

Description

@PavelVesnin

Invalid encoding result.
ABI.encode("getVerificationContract(string)", ["test"]) |> Base.encode16(case: :lower)
Expected:

0x8575e5a5000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000047465737400000000000000000000000000000000000000000000000000000000

Returned

8575e5a500000000000000000000000000000000000000000000000000000000000000047465737400000000000000000000000000000000000000000000000000000000

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