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

improve encoding error message to include jsonParsed option #4686

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DmitriDmitriDmitri
Copy link

When base58 data exceeds the size limit, the error message now suggests both base64 and its equally valid friend jsonParsed.

Also fix base64 casing to match enum because we're not savages here.

When base58 data exceeds the size limit, the error message now 
suggests both base64 and its equally valid friend jsonParsed.

Also fix base64 casing to match enum because we're not
savages here.
@mergify mergify bot requested a review from a team January 29, 2025 15:40
Copy link

mergify bot commented Jan 29, 2025

If this PR represents a change to the public RPC API:

  1. Make sure it includes a complementary update to rpc-client/ (example)
  2. Open a follow-up PR to update the JavaScript client @solana/web3.js (example)

Thank you for keeping the RPC clients in sync with the server API @DmitriDmitriDmitri.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant