Support non-verifiable storage keys in the pcli query key
interface
#4359
Labels
A-telemetry
Area: Metrics, logging, and other observability-related features
C-enhancement
Category: an enhancement to the codebase
E-day
E-easy
Effort: Easy
Milestone
Is your feature request related to a problem? Please describe.
While writing testing instructions for the migration described in #4341 I noticed that the current cnidarium query interfaces
pcli query key
does not support querying from non-verifiable storage. The streaming interface (pcli query watch
) does support it with the--nv-key-regex
parameter, however I was unable to get it to work; the commandcargo run --release --bin pcli -- query watch --nv-key-regex '^dex/ab/.*
showed many other keys passing by but maybe I formatted the regex wrong.Supporting this behavior is extremely useful for debugging running chain state.
Follow-up work on improving the usability of this interface would be nice (currently it prints base64-encoded data only, it would be nice to have a pretty-print option), though that is lower priority.
Describe the solution you'd like
The
pcli query key
command should probably:--jmt
and--non-verifiable
boolean flags.The text was updated successfully, but these errors were encountered: