Skip to content

Add validator flag groups #2783

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

Draft
wants to merge 3 commits into
base: more-groups
Choose a base branch
from

Conversation

sukantoraymond
Copy link
Collaborator

@sukantoraymond sukantoraymond commented May 1, 2025

Add validator flag groups

AVL-7H2W7V:avalanche-cli raymondsukanto$ ./bin/avalanche blockchain addValidator --help
Usage:
  avalanche blockchain addValidator [blockchainName] [flags]

Flags:
      --aggregator-log-level string      log level to use with signature aggregator (default "Debug")
      --aggregator-log-to-stdout         use stdout for signature aggregator logs
      --balance float                    set the AVAX balance of the validator that will be used for continuous fee on P-Chain
      --bls-proof-of-possession string   set the BLS proof of possession of the validator to add
      --bls-public-key string            set the BLS public key of the validator to add
      --disable-owner string             P-Chain address that will able to disable the validator with a P-Chain transaction
  -e, --ewoq                             use ewoq key [fuji/devnet only]
  -h, --help                             help for addValidator
  -k, --key string                       select the key to use [fuji/devnet only]
  -g, --ledger                           use ledger instead of key (always true on mainnet, defaults to false on fuji/devnet)
      --ledger-addrs strings             use the given ledger addresses
      --node-endpoint string             gather node id/bls from publicly available avalanchego apis on the given endpoint
      --node-id string                   node-id of the validator to add
      --remaining-balance-owner string   P-Chain address that will receive any leftover AVAX from the validator when it is removed from Subnet
      --rpc string                       blockchain rpc endpoint
      --validator-manager-owner string   force using this address to issue transactions to the validator manager
      --weight uint                      set the weight of the validator (default 20)

Global Flags:
      --config string       config file (default is $HOME/.avalanche-cli/config.json)
      --log-level string    log level for the application (default "ERROR")
      --skip-update-check   skip check for new versions

Network Flags (Select One):
  --cluster string   operate on the given cluster
  --devnet           operate on a devnet network
  --endpoint string  use the given endpoint for network operations
  --fuji             operate on fuji (alias to `testnet`)
  --local            operate on a local network
  --mainnet          operate on mainnet
  --testnet          operate on testnet (alias to `fuji`)

External EVM Signature Flags (For EVM Multisig and Ledger Signing):
  --external-evm-signature   set this value to true when signing validator manager tx outside of cli (for multisig or ledger)
  --initiate-tx-hash string  initiate tx is already issued, with the given hash

Add Validator To Remote Blockchain Flags (Blockchain config is not in local machine):
  --subnet-id string  subnet ID (only if blockchain name is not provided)

Local Machine Flags (Use local machine as a validator):
  (hidden) Use --show-local-machine-flags to show these options

Proof Of Stake Flags:
  (hidden) Use --show-pos-flags to show these options

Non Subnet-Only-Validators (Non-SOV) Flags:
  (hidden) Use --show-non-sov-flags to show these options

@sukantoraymond sukantoraymond requested a review from a team as a code owner May 1, 2025 17:48
@github-project-automation github-project-automation bot moved this to Backlog 🧊 in avalanchego May 1, 2025
@sukantoraymond sukantoraymond changed the base branch from main to more-groups May 1, 2025 17:48
@sukantoraymond sukantoraymond marked this pull request as draft May 1, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog 🧊
Development

Successfully merging this pull request may close these issues.

1 participant