Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the internalType (Solidity 0.5.11+) of the abi #230

Closed
mattsse opened this issue Aug 11, 2021 · 0 comments · Fixed by #231
Closed

Add support for the internalType (Solidity 0.5.11+) of the abi #230

mattsse opened this issue Aug 11, 2021 · 0 comments · Fixed by #231

Comments

@mattsse
Copy link
Contributor

mattsse commented Aug 11, 2021

Solidity compiler at version 0.5.11 added a internalType field in the abi inputs/outputs.

This field contains the type as declared in the solidity code, this is useful to determine the actually struct type of a tuple.
for exmaple:

{
  "components": [
    {
      "components": [..]
      "internalType": "struct Pairing.G1Point",
      "name": "A",
      "type": "tuple"
    }
  ],
  "internalType": "struct Verifier.Proof",
  "name": "proof",
  "type": "tuple"
}
nlordell pushed a commit that referenced this issue Aug 17, 2021
Add `internalType` field to `Param`.

- Closes #230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant