MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / makeABCIQueryFunc

Function makeABCIQueryFunc

light/proxy/routes.go:260–269  ·  view source on GitHub ↗
(c *lrpc.Client)

Source from the content-addressed store, hash-verified

258 data bytes.HexBytes, height int64, prove bool) (*ctypes.ResultABCIQuery, error)
259
260func makeABCIQueryFunc(c *lrpc.Client) rpcABCIQueryFunc {
261 return func(ctx *rpctypes.Context, path string, data bytes.HexBytes,
262 height int64, prove bool,
263 ) (*ctypes.ResultABCIQuery, error) {
264 return c.ABCIQueryWithOptions(ctx.Context(), path, data, rpcclient.ABCIQueryOptions{
265 Height: height,
266 Prove: prove,
267 })
268 }
269}
270
271type rpcABCIInfoFunc func(ctx *rpctypes.Context) (*ctypes.ResultABCIInfo, error)
272

Callers 1

RPCRoutesFunction · 0.85

Calls 2

ABCIQueryWithOptionsMethod · 0.65
ContextMethod · 0.65

Tested by

no test coverage detected