Describe the feature you'd likeexecuteLocalStateQueryExpr currently sets localTxSubmissionClient = Nothing so there is no way to submit transactions over the same connection as the state query monad
the short-term solution i can see, is to just expose the 2 Maybe's for localTxSubmissionClient and localTxMonitoringClient, and just make those into arguments for executeLocalStateQueryExpr
the call-site can then either Nothing Nothing those args to maintain the old behaviour, or they can Just submissionClient to supply a client
Internal
Describe the feature you'd like
executeLocalStateQueryExpr
currently setslocalTxSubmissionClient = Nothing
so there is no way to submit transactions over the same connection as the state query monadthe short-term solution i can see, is to just expose the 2
Maybe
's forlocalTxSubmissionClient
andlocalTxMonitoringClient
, and just make those into arguments forexecuteLocalStateQueryExpr
the call-site can then eitherNothing Nothing
those args to maintain the old behaviour, or they canJust submissionClient
to supply a clientthe long-term solution i can see, is for the
localTxSubmissionClient
to also support a monad based interface, like howexecuteLocalStateQueryExpr
adds tolocalStateQueryClient
: https://github.com/input-output-hk/cardano-node/issues/4357