We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
contract read
Support passing arrays as method params using zksync-cli contract read.
zksync-cli contract read
Currently not supported. Reported here zkSync-Community-Hub/zksync-developers#646
If applicable, provide mockups or examples of how the feature would work.
Currently fails with the following error:
$ zksync-cli contract read ? Chain to use zkSync Mainnet ? Contract address 0x8....4 ? Contract method to call getPairInfo(address[] path, bool stable) view returns (address tokenA, address tokenB, address pair, uint256 reserveA, uint256 reserveB, uint256 fee) ? Provide method arguments: ? [1/2] path (address[]) [0x5...E,0x0...A] >> Failed to encode provided argument: expected array value (argument="path", value="[0x5...E,0x0...A]", code=INVALID_ARGUMENT, version=abi/5.7.0)
The text was updated successfully, but these errors were encountered:
Hey @uF4No , can you assign this to me, I can work on this
Sorry, something went wrong.
Hi @sleepyqadir I've got a fix incoming for this very shortly!
π This issue has been resolved in version 1.9.0 π
The release is available on:
Your semantic-release bot π¦π
itsacoyote
Successfully merging a pull request may close this issue.
π Feature Request
π Description
Support passing arrays as method params using
zksync-cli contract read
.π€ Rationale
Currently not supported. Reported here zkSync-Community-Hub/zksync-developers#646
πΌοΈ Mockups/Examples
If applicable, provide mockups or examples of how the feature would work.
π Additional Context
Currently fails with the following error:
The text was updated successfully, but these errors were encountered: