Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

feat: struct support #14

Closed
antazoey opened this issue Jun 3, 2022 · 1 comment · Fixed by #82
Closed

feat: struct support #14

antazoey opened this issue Jun 3, 2022 · 1 comment · Fixed by #82

Comments

@antazoey
Copy link
Contributor

antazoey commented Jun 3, 2022

Environment information

When interacting with a contract that accepts structs as inputs, I am unable to properly provide the values

What went wrong?

An example: use acc.transfer().. The result us a Uint256 struct. The failure causes transfer() (and normal contract methods) to not work.

How can it be fixed?

something something Starknet(EcosystemAPI).decode_calldata()

@antazoey
Copy link
Contributor Author

antazoey commented Jun 17, 2022

Note: it seems like dicts work for structs! So this issue might not be an issue anymore :)
But will keep open until we added tests

Edit: issue updated to reflect that we just need tests

@antazoey antazoey changed the title bug: Struct inputs do not work test: add more testing for structs Jun 22, 2022
@antazoey antazoey changed the title test: add more testing for structs feat: struct support Jul 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant