RPC response error
giface opened this issue · 8 comments
$ metaboss sign all --keypair [Key Pair JSON PATH] --creator [CANDY MACHINE ID V2] --v2
Error: RPC response error -32602: Invalid params: unknown variant base58
, expected binary
.
Caused by:
RPC response error -32602: Invalid params: unknown variant base58
, expected binary
.
$ metaboss sign all --keypair [Key Pair JSON PATH] --creator [CANDY MACHINE ID V2] --v2
Error: RPC response error -32602: Invalid params: unknown variant
base58
, expectedbinary
.Caused by: RPC response error -32602: Invalid params: unknown variant
base58
, expectedbinary
.
What version of Metaboss and what format is you keypair file?
I'm running:
$ metaboss --version
Metaboss 0.10.0
Keypair file is in JSON Array.
Also, the same RPC error occur in snapshots function without using the keypair which I never experience before:
$ metaboss snapshot mints --creator [CANDY MACHINE ID V2] --v2 --output .
Error: RPC response error -32602: Invalid params: unknown variant base58
, expected binary
.
Caused by:
RPC response error -32602: Invalid params: unknown variant base58
, expected binary
.
I'm running: $ metaboss --version Metaboss 0.10.0
Keypair file is in JSON Array.
Also, the same RPC error occur in snapshots function without using the keypair which I never experience before:
$ metaboss snapshot mints --creator [CANDY MACHINE ID V2] --v2 --output . Error: RPC response error -32602: Invalid params: unknown variant
base58
, expectedbinary
.Caused by: RPC response error -32602: Invalid params: unknown variant
base58
, expectedbinary
.
What RPC provider?
I tried both :
RPC URL: https://api.devnet.solana.com
and
Quicknode
$ solana --version
solana-cli 1.9.29 (src:0c54340a; feat:462418899)
But both return the same error.
I have also re-created a new wallet but no luck.
Anywhere I can look for the log?
Just found out that I can do "metaboss sign one" at a time but cannot "sign all"
I have tried my Quicknode RPC but same error.
I tried both : RPC URL: https://api.devnet.solana.com and Quicknode $ solana --version solana-cli 1.9.29 (src:0c54340a; feat:462418899)
But both return the same error. I have also re-created a new wallet but no luck. Anywhere I can look for the log?
Just found out that I can do "metaboss sign one" at a time but cannot "sign all"
I have tried my Quicknode RPC but same error.
I was able to duplicate this error so I will look into it later today.
Upgrade to Metaboss v0.10.1 and see if it fixes the issue.
YES !! That was the problem MemcmpEncodedBytes Base58 variant was deprecated. Change from Base58 to Byte definitely helps now. Thank you again for your help. Please keep up with the great work of Metaboss.
Please Close this issue.
YES !! That was the problem MemcmpEncodedBytes Base58 variant was deprecated. Change from Base58 to Byte definitely helps now. Thank you again for your help. Please keep up with the great work of Metaboss.
Please Close this issue.
What's weird is it's not deprecated in the docs and the variant it tells you to use is deprecated. I've opened an issue with Solana but glad that this is working again.