Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Make --chain-id flag consistent across commands #9131

Open
przemerr opened this issue Nov 2, 2023 · 0 comments
Open

Make --chain-id flag consistent across commands #9131

przemerr opened this issue Nov 2, 2023 · 0 comments

Comments

@przemerr
Copy link

przemerr commented Nov 2, 2023

Description

The --chainid in:
lisk-core keys:create --chainid <value> --output <path> --add-legacy
requires a decimal value of an actual chainid
i.e if the chain ID is 99000000 you need to input 153

the --chain-id in:
lisk-core transaction:create legacy registerKeys 10000000 --key-derivation-path=legacy --chain-id 99000000 --no-signature --sender-public-key=<pubkey>
requires a full ID of the chain
ie. if the chain ID is 99000000 you need to input 99000000

also one flag has a dash -, other doesn't

Motivation

To introduce less confusion, and avoid potential mistakes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant