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

List the args needed when not provided to aztec-cli #2382

Closed
benesjan opened this issue Sep 18, 2023 · 0 comments · Fixed by #2423
Closed

List the args needed when not provided to aztec-cli #2382

benesjan opened this issue Sep 18, 2023 · 0 comments · Fixed by #2423

Comments

@benesjan
Copy link
Contributor

Currently when args are not provided to send and deploy methods of aztec-cli we get this error:
image

Instead of this error list the required arguments and their types. They can be extracted from ABI so it should be easy to do.

@benesjan benesjan added this to the 📢 Initial Public Sandbox Release milestone Sep 18, 2023
benesjan added a commit that referenced this issue Sep 21, 2023
Fixes
[#2382](#2382)

CLI now lists out what args were expected:

> Error in command execution
> Error: Invalid args provided.
> Expected args: [initial_supply: field, owner: field]
> Received args: 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant