Determine how to handle the 'proof' parameter for queries to the private store #205
Labels
A: question
Admin: further information is requested
I: CLI
Internal: related to the relayer's CLI
I: logic
Internal: related to the relaying logic
Milestone
In a discussion in #196, it was brought up the fact that some queries such as
clients/{identifier}/connections
that target the private store allows theproof
parameter to be specified. The discussion was that if we need to set (hardcode) this parameter to false since we know that is the only valid value or if we should allow users to specify an invalid value (e.g. true) and get an error message (right now an errorclient connections query error store error: requested proof for privateStore path
is shown). This is affects other queries too e.g.clients/{identifier}/clientState
.This is a UX decision too, need to think the best way to refactor the code for this. Hardcoding the value to false in these use cases is the quick solution, but there might be a need eventually some architecture decisions (e.g. know if the query targets a private or provable store and handle accordingly).
Reference: https://github.com/cosmos/ics/tree/master/spec/ics-024-host-requirements
The text was updated successfully, but these errors were encountered: