Closed
Description
Describe the bug
Recently, enum values have been PascalCased. As defined here, NodeStatus
is Trusted/Pending/Retired
. However, /node/network/nodes
still expects full capitalization for the status
filter. Thus, passing status=Trusted
results in an HTTP error "Query parameter 'Trusted' is not a valid node status"
.
Expected behavior
Acceptable values for the filter should match the NodeStatus
enum values.
Environment information
CCF 0.19.2