[Docs] abi_decode_returns_validate is not explicit about what the validation entails
Open
- Dominant language
- Rust
- Stars
- 966
- Forks
- 274
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 15
Description
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](https://docs.rs/alloy-sol-types/1.2.1/src/alloy_sol_types/types/ty.rs.html#314-321) and now my question becomes: is the validation a type check?
I'm open to make the docs more explicit once this becomes clear
Contributor guide
Assessment
This issue has not been assessed yet.