- NAME
-
- gcloud alpha blockchain-validator blockchain-validator-configs update - update the configuration of a single blockchain validator
- SYNOPSIS
-
-
gcloud alpha blockchain-validator blockchain-validator-configs update(BLOCKCHAIN_VALIDATOR_CONFIG:--location=LOCATION) [--async] [--blockchain-node-id=BLOCKCHAIN_NODE_ID] [--request-id=REQUEST_ID] [--[no-]validation-work-enabled] [--clear-ethereum-protocol-details--ethereum-protocol-details-graffiti=ETHEREUM_PROTOCOL_DETAILS_GRAFFITI] [--clear-remote-web3-signer--remote-web3-signer-timeout-duration=REMOTE_WEB3_SIGNER_TIMEOUT_DURATION--remote-web3-signer-web3signer-uri=REMOTE_WEB3_SIGNER_WEB3SIGNER_URI] [--labels=[LABELS,…] |--update-labels=[UPDATE_LABELS,…]--clear-labels|--remove-labels=REMOVE_LABELS] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Update the configuration of a single blockchain validator. - EXAMPLES
-
To enable validation work on a previously disabled blockchain validator
my-validatorin the projectmy-projectand locationus-central1run:$ gcloud alpha blockchain-validator blockchain-validator-configs \
update my-validator --location=us-central1 \ --project=my-project --validation-work-enabled=true
- POSITIONAL ARGUMENTS
-
-
BlockchainValidatorConfig resource - Identifier. The name of the validator. It
must have the format
"projects/{project}/locations/{location}/blockchainValidatorConfigs/{validator}".{validator}must contain only letters ([A-Za-z]), numbers ([0-9]), dashes (-), underscores (BLOCKCHAIN_VALIDATOR_CONFIG), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with"goog". The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.To set the
projectattribute:-
provide the argument
blockchain_validator_configon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
-
provide the argument
-
ID of the blockchainValidatorConfig or fully qualified identifier for the
blockchainValidatorConfig.
To set the
blockchain_validator_configattribute:-
provide the argument
blockchain_validator_configon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location=LOCATION-
The location id of the blockchainValidatorConfig resource.
To set the
locationattribute:-
provide the argument
blockchain_validator_configon the command line with a fully specified name; -
provide the argument
--locationon the command line.
-
provide the argument
-
BlockchainValidatorConfig resource - Identifier. The name of the validator. It
must have the format
--async- Return immediately, without waiting for the operation in progress to complete.
-
Arguments for the blockchain node.
--blockchain-node-id=BLOCKCHAIN_NODE_ID- The fully qualified name of the blockchain node which carries out work on behalf of the validator. If not set, the validator must either be operated outside of Blockchain Validator Manager, or it will be offline (no attestations or blocks will be produced). If this node is offline or deleted, the validator will be offline.
--request-id=REQUEST_ID-
An optional request ID to identify requests. Specify a unique request ID so that
if you must retry your request, the server will know to ignore the request if it
has already been completed. The server will guarantee that for at least 60
minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
--[no-]validation-work-enabled-
True if the blockchain node requests and signs attestations and blocks on behalf
of this validator, false if not. This does NOT define whether the blockchain
expects work to occur, only whether the blockchain node specified above is
carrying out validation tasks. This should be enabled under normal conditions,
but may be useful when migrating validators to/from Blockchain Node Engine,
where the validator may be paused during the migration. Use
--validation-work-enabledto enable and--no-validation-work-enabledto disable. -
Arguments for the blockchain type details.
-
Blockchain validator configuration unique to Ethereum blockchains.
--clear-ethereum-protocol-details- Set blockchainValidatorConfig.ethereumProtocolDetails back to default value.
-
Arguments for the graffiti.
--ethereum-protocol-details-graffiti=ETHEREUM_PROTOCOL_DETAILS_GRAFFITI- Graffiti is a custom string published in blocks proposed by the validator. This can only be written, as the current value cannot be read back from the validator client API. See https://lighthouse-book.sigmaprime.io/graffiti.html for an example of how this is used. If not set, the validator client's default is used. If no blockchain node is specified, this has no effect as no validator client is run.
-
Blockchain validator configuration unique to Ethereum blockchains.
-
Arguments for the key source config.
-
Configuration to use an external key signing service, such as the service
endpoint. The external key signer is expected to be managed entirely by the
customer. For reference see https://docs.web3signer.consensys.net/
for details on Web3Signer and https://docs.web3signer.consensys.net/reference/api/json-rpc
for the API exposed by the external service.
--clear-remote-web3-signer- Set blockchainValidatorConfig.remoteWeb3Signer back to default value.
-
Arguments for the timeout duration.
--remote-web3-signer-timeout-duration=REMOTE_WEB3_SIGNER_TIMEOUT_DURATION- Timeout for requests to the Web3Signer service. If not set, a default timeout of 12 seconds is used.
--remote-web3-signer-web3signer-uri=REMOTE_WEB3_SIGNER_WEB3SIGNER_URI- URI of the Web3Signer service the validator client connects to, to request signing of attestations, blocks, etc.
-
Configuration to use an external key signing service, such as the service
endpoint. The external key signer is expected to be managed entirely by the
customer. For reference see https://docs.web3signer.consensys.net/
for details on Web3Signer and https://docs.web3signer.consensys.net/reference/api/json-rpc
for the API exposed by the external service.
-
Update labels.
At most one of these can be specified:
--labels=[LABELS,…]-
Set labels to new value. Labels as key value pairs.
KEY-
Keys must start with a lowercase character and contain only hyphens
(
-), underscores (_), lowercase characters, and numbers. VALUE-
Values must contain only hyphens (
-), underscores (_), lowercase characters, and numbers.
Shorthand Example:--labels=string=string
JSON Example:--labels='{"string": "string"}'
File Example:--labels=path_to_file.(yaml|json)
--update-labels=[UPDATE_LABELS,…]-
Update labels value or add key value pair. Labels as key value pairs.
KEY-
Keys must start with a lowercase character and contain only hyphens
(
-), underscores (_), lowercase characters, and numbers. VALUE-
Values must contain only hyphens (
-), underscores (_), lowercase characters, and numbers.
Shorthand Example:--update-labels=string=string
JSON Example:--update-labels='{"string": "string"}'
File Example:--update-labels=path_to_file.(yaml|json)
-
At most one of these can be specified:
--clear-labels- Clear labels value and set to empty map.
--remove-labels=REMOVE_LABELS-
Remove existing value from map labels. Sets
remove_labelsvalue.Shorthand Example:--remove-labels=string,stringJSON Example:--remove-labels=["string"]
File Example:--remove-labels=path_to_file.(yaml|json)
--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
blockchainvalidatormanager/v1 API. The full
documentation for this API can be found at: https://cloud.google.com/blockchain-node-engine/docs/create-node-ethereum#validator_configuration