Skip to content

cli should throw error if --chain-id not provided #810

Closed
@ebuchman

Description

Txs require --chain-id to be provided so it can be signed.

Note the chainid is not included in the tx itself, but it is part of the bytes that get signed to prevent cross-chain replay attacks.

Unfortunately, it means the error message just comes up as "signature verification failed" and we can't really detect why.

Thus, if the --chain-id is not provided, we should throw an error and tell the user it must be provided.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions