Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant