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

Verify that a sensible error is returned if user has run out of SOL for gas #7

Closed
wphan opened this issue Dec 19, 2023 · 1 comment
Closed

Comments

@wphan
Copy link
Member

wphan commented Dec 19, 2023

probably a good time to test this case while doing #6 too. There should be a somewhat obscure RPC error like "trying to debit an account without a prior credit" if the signing wallet runs out of SOL (common for bot operators not keeping an eye on their account). A sensible error should be returned in this case

@jordy25519
Copy link
Collaborator

jordy25519 commented Dec 20, 2023

is this error different for delegated accounts/different fee payer?
during my testing the error was either insufficient balance for compute fee or insufficient balance for rent

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

No branches or pull requests

2 participants