Skip to content

[Docs] abi_decode_returns_validate is not explicit about what the validation entails #1035

@jmg-duarte

Description

@jmg-duarte

Very much as described by the title.

I'm trying to decode a return from a call, but I'm not sure whether to use abi_decode_returns or abi_decode_returns_validade, I get that the second does validations but which ones? What gets validated and how?

I've looked in the codebase for answers but had some trouble figuring it out.

I went down the rabbit hole in the docs and it keeps moving me deeper, teasing, but never truly answering.
It took me here and now my question becomes: is the validation a type check?

I'm open to make the docs more explicit once this becomes clear

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions