Consolidate ChainEndpoint::proven_*()
functions with their analogous query_*()
version
#2223
Milestone
ChainEndpoint::proven_*()
functions with their analogous query_*()
version
#2223
I just noticed that the
ChainEndpoint::proven_*()
methods each have an analogousquery_*()
method which performs the same query except that they don't return a proof.I suggest we remove the
proven_*()
methods fromChainEndpoint
andChainHandle
, and change the provablequery_*()
functions as follows:I introduced
PerformQuery
to avoid boolean blindness.Example calls:
An alternative name for
PerformQuery
I thought of:I personally prefer merging the two functions into one, as we expose fewer methods while preserving the same functionality.
Originally posted by @plafer in #2200 (comment)
The text was updated successfully, but these errors were encountered: