Skip to content

Commit

Permalink
fix(CosmosFullNode): Allow 0 halt height (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNix authored Jun 23, 2023
1 parent 56b7b09 commit dcd70ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1/cosmosfullnode_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ type SDKAppConfig struct {

// If set, block height at which to gracefully halt the chain and shutdown the node.
// Useful for testing or upgrades.
// +kubebuilder:validation:Minimum:=1
// +kubebuilder:validation:Minimum:=0
// +optional
HaltHeight *uint64 `json:"haltHeight"`

Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/cosmos.strange.love_cosmosfullnodes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
description: If set, block height at which to gracefully halt
the chain and shutdown the node. Useful for testing or upgrades.
format: int64
minimum: 1
minimum: 0
type: integer
minGasPrice:
description: The minimum gas prices a validator is willing
Expand Down

0 comments on commit dcd70ff

Please sign in to comment.