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

Support monikers in solana-tokens #29693

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

CriesofCarrots
Copy link
Contributor

Problem

Confusing error:

$ solana-tokens distribute-spl-tokens --db-path db.db --fee-payer payer.json --input-csv /dist.csv  --from <TOKEN_ACCOUNT> --owner payer.json --url mainnet-beta
Error: ProgramError(InvalidAccountData)

This is being thrown because solana-tokens doesn't know about monikers, and is trying to query account states from a non-existent cluster. Arguably, the error should be more descriptive, but also, it would be nice to support monikers, and the short -u for url.

Summary of Changes

Add short flag for url and config
Support parsing monikers in url parameter

cc @danpaul000

@CriesofCarrots CriesofCarrots merged commit 055c6a5 into solana-labs:master Jan 13, 2023
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

Successfully merging this pull request may close these issues.

1 participant