Reading ABI encoded bytes with a struct within a struct #2637
-
I am trying to use
Decoding this works in JS. In solidity, my forge script is:
And this just errors with no output, even with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Can you provide some example data/a usage example? I'll check it out. |
Beta Was this translation helpful? Give feedback.
-
I figured it out. In foundry I need to unpack it as a tuple. Not as a top-level struct. |
Beta Was this translation helpful? Give feedback.
I figured it out. In foundry I need to unpack it as a tuple. Not as a top-level struct.