-
Notifications
You must be signed in to change notification settings - Fork 51
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
fix: make empty array the default function argument #84
Conversation
@ChaoticTempest indeed, should be fixed now. Do you want me to convert these examples to be tests and add them to CI in a separate PR? |
it be cool if we had a test that tests for optional args specifically, so don't need to pull all of the example in to tests. Either in this PR or another one is fine. Whichever works better for you |
@ChaoticTempest added. PTAL when you can. |
.deposit(1) | ||
.transact() | ||
.await; | ||
assert!(format!("{:?}", res.unwrap_err()).contains("Failed to deserialize input from JSON")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah this error message is pretty unintuitive, so best for us to change this on the SDK side in the future
Fixes #36