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 generic structs/enums from the JSON ABI #402

Closed
LuizAsFight opened this issue Jul 13, 2022 · 0 comments · Fixed by #418
Closed

Add support for generic structs/enums from the JSON ABI #402

LuizAsFight opened this issue Jul 13, 2022 · 0 comments · Fixed by #418
Assignees
Labels
feat Issue is a feature

Comments

@LuizAsFight
Copy link
Contributor

LuizAsFight commented Jul 13, 2022

Motivation

The JSON ABI now includes a field typeArguments alongside with components for supporting dynamic structs/enums.

We should implement these changes on the ABI parser and also on typechain if needed.

Refs:
FuelLabs/fuel-specs#381
FuelLabs/sway#1993
It was released in sway 0.18.0
https://github.com/FuelLabs/sway/releases/tag/v0.18.0
FuelLabs/sway#2218

@LuizAsFight LuizAsFight added feat Issue is a feature package:ABI labels Jul 13, 2022
@luizstacio luizstacio moved this to Todo in Fuel Network Jul 14, 2022
@luizstacio luizstacio changed the title Support typeArguments in ABI Add support for generic structs/enums from the JSON ABI Jul 15, 2022
@LuizAsFight LuizAsFight self-assigned this Jul 19, 2022
Repository owner moved this from Todo to Done in Fuel Network Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants