Closed TilakMaddy closed 2 hours ago
Hard to tell what's going on without a minimal reproducible example, but likely your ABI expects an input
for the "mint"
function.
Hello @TilakMaddy.
Please provide a minimal reproduction using StackBlitz, TypeScript Playground (for type issues), or a separate minimal GitHub repository.
Minimal reproductions are required as they save us a lot of time reproducing your config/environment and issue, and allow us to help you faster.
Once a minimal reproduction is added, a team member will confirm it works, then re-open the issue.
No, the mint function has no parameters. I'll try to create a minimal reproducible example tomorrow and link it here
Thanks
Check existing issues
Viem Version
2.21.40
Current Behavior
Code
Expected Behavior
I'm unable to make sense of how 4 bytes is too small data size for an empty parametered function.
AbiDecodingDataSizeTooSmallError: Data size of 4 bytes is too small for given parameters.
Steps To Reproduce
No response
Link to Minimal Reproducible Example
No response
Anything else?
No response