cli should throw error if --chain-id not provided #810
Closed
Description
opened on Apr 6, 2018
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