Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + Gno.land: a blockchain for timeless code and fair open-source
The validator subcommand should manage validators in the genesis.json.
Flags
--genesis-path - the path to the genesis.json
validator add
The validator add subcommand should add a new validator to the genesis.json. The command should fail if the validator already exists in the genesis.json.
Flags
--address - the string address of the validator
--pub-key - the hex representation of the validator's public key
--name - the name of the validator (must be unique)
--power - the voting power of the validator
validator remove
The validator remove subcommand should remove a validator from the genesis.json. The command should fail if the validator does not exist in the genesis.json.
Description
Task copied from the master issue: https://github.com/gnolang/gno/issues/1203
PR against branch: feat/genesis