[FR] - executeLocalStateQueryExpr allow tx submission, short-term solution #4358
Labels
comp: cardano-api
enhancement
New feature or request
type: enhancement
An improvement on the existing functionality
user type: external
Created by an external user
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 either
Nothing 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
: #4357The text was updated successfully, but these errors were encountered: