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

Missing support for fixed-size arrays #93

Open
alexdupre opened this issue Mar 31, 2022 · 1 comment
Open

Missing support for fixed-size arrays #93

alexdupre opened this issue Mar 31, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@alexdupre
Copy link

Running mars on a contract with a fixed-size array function parameter (e.g. address[2]) generates the following error:

Unknown type address[2]

Related code: https://github.com/TrueFiEng/Mars/blob/master/packages/mars/src/generate/generator.ts#L82-L107

@marcin-trust
Copy link
Contributor

Thx for reporting this and details! Marking this bug as we do support dynamic-size arrays so fixed-size should be first-class citizen too.

@marcin-trust marcin-trust added the bug Something isn't working label Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants