Reading ABI encoded bytes with a struct within a struct #2637
Answered
by
dino-rodriguez
dino-rodriguez
asked this question in
Help
|
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 |
Answered by
dino-rodriguez
Aug 26, 2022
Replies: 2 comments
|
Can you provide some example data/a usage example? I'll check it out. |
0 replies
|
I figured it out. In foundry I need to unpack it as a tuple. Not as a top-level struct. |
0 replies
Answer selected by
dino-rodriguez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured it out. In foundry I need to unpack it as a tuple. Not as a top-level struct.