Skip to content

Commit 84ba34c

Browse files
committed
Add method to get executiond data client
1 parent ec08850 commit 84ba34c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

access/grpc/client.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ func (c *Client) RPCClient() RPCClient {
117117
return c.grpc.RPCClient()
118118
}
119119

120+
func (c *Client) ExecutionDataRPCClient() ExecutionDataRPCClient {
121+
return c.grpc.ExecutionDataRPCClient()
122+
}
123+
120124
func (c *Client) Ping(ctx context.Context) error {
121125
return c.grpc.Ping(ctx)
122126
}

access/grpc/grpc.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ func (c *BaseClient) RPCClient() RPCClient {
134134
return c.rpcClient
135135
}
136136

137+
func (c *BaseClient) ExecutionDataRPCClient() ExecutionDataRPCClient {
138+
return c.executionDataClient
139+
}
140+
137141
// Close closes the client connection.
138142
func (c *BaseClient) Close() error {
139143
return c.close()

0 commit comments

Comments
 (0)