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

[experimental] Error decoder, doesn't quite on Mac OS #2339

Closed
steveluscher opened this issue Mar 18, 2024 · 1 comment · Fixed by #2358
Closed

[experimental] Error decoder, doesn't quite on Mac OS #2339

steveluscher opened this issue Mar 18, 2024 · 1 comment · Fixed by #2358
Labels
bug Something isn't working

Comments

@steveluscher
Copy link
Collaborator

Repro

workspace git:(master) ✗ npx @solana/errors decode 8078011 $"codecDescription=u8&max=255&min=0&value=-1"

[Decoded] Solana error code #8078011
    - Codec [$codecDescription] expected number to be in the range [0, 255], got -1.

[Context]
    {
        "$codecDescription": "u8",
        "max": "255",
        "min": "0",
        "value": "-1"
    }

Terminal string escaping is hard.

@steveluscher steveluscher added the bug Something isn't working label Mar 18, 2024
@steveluscher steveluscher changed the title [experimental] Error decoder, doesn't quite [experimental] Error decoder, doesn't quite on Mac OS Mar 21, 2024
@steveluscher steveluscher linked a pull request Mar 21, 2024 that will close this issue
Copy link
Contributor

github-actions bot commented Apr 1, 2024

Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant