onflow / onflow/flow-cli

Improve error messaging: Invalid argument: address f8d6e0586b0a20c7 is invalid for chain flow-mainnet

Open
#1,139 0 comments 1 reaction 1 assignee View on GitHub

@devbugging is already working on this.

Since Jul 25, 2023.

Feature Feedback
Dominant language
Go
Stars
209
Forks
87
Avg merge
1d 17h
Merged PRs (30d)
3

Description

Issue To Be Solved

Invalid argument: address f8d6e0586b0a20c7 is invalid for chain flow-mainnet

Improve error messaging in this case the error occurs because the cli defaults to signing a tx with the emulator-account

This isn't obvious from the error message

(Optional): Suggest A Solution

Add message to say when attempting to use a default signer as none is provided.
If the tx specified to be sent requires a signer and none is provided, warn the user.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.