Skip to content

Comments

Fix mainnet key error msg#2729

Merged
sukantoraymond merged 2 commits intomainfrom
fix-mainnet-ledger-err
Apr 8, 2025
Merged

Fix mainnet key error msg#2729
sukantoraymond merged 2 commits intomainfrom
fix-mainnet-ledger-err

Conversation

@sukantoraymond
Copy link
Contributor

Clarifies error message to use ledger on mainnet

ErrMutuallyExlusiveKeySource = errors.New("key source flags --key, --ewoq, --ledger/--ledger-addrs are mutually exclusive")
ErrStoredKeyOrEwoqOnMainnet = errors.New("key sources --key, --ewoq are not available for mainnet operations")
ErrStoredKeyOnMainnet = errors.New("--key flag is not supported for mainnet operations, please use ledger instead")
ErrNonEwoqKeyOnMainnet = errors.New("key source --ewoq is not available for mainnet operations")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can also advice to use ledger here

@github-project-automation github-project-automation bot moved this from Backlog 🗄️ to In Review 👀 in avalanchego Apr 8, 2025
@sukantoraymond sukantoraymond merged commit c258859 into main Apr 8, 2025
37 checks passed
@sukantoraymond sukantoraymond deleted the fix-mainnet-ledger-err branch April 8, 2025 17:08
@github-project-automation github-project-automation bot moved this from In Review 👀 to Done ✅ in avalanchego Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants