You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! The ABI encoder works fantastic for Solidity contracts with functions that receive structs (though error diagnosis and reporting could be better when a field is missing 😅), but I couldn't find much info in using this machinery to manually ABI-encode a struct.
The documentation doesn't provide any examples on how to do this, and while this Google-able comment shows encoding of a tuple, I couldn't find the equivalent for structs.
Given protocols are becoming more complex and configurable, and that a solution for stack-too-deep doesn't seem to be coming anytime soon, memory structs seem like the way to go for most projects, and better support for them would be extremely helpful. Thanks!
The text was updated successfully, but these errors were encountered:
Hi! The ABI encoder works fantastic for Solidity contracts with functions that receive structs (though error diagnosis and reporting could be better when a field is missing 😅), but I couldn't find much info in using this machinery to manually ABI-encode a struct.
The documentation doesn't provide any examples on how to do this, and while this Google-able comment shows encoding of a tuple, I couldn't find the equivalent for structs.
Given protocols are becoming more complex and configurable, and that a solution for stack-too-deep doesn't seem to be coming anytime soon, memory structs seem like the way to go for most projects, and better support for them would be extremely helpful. Thanks!
The text was updated successfully, but these errors were encountered: