Skip to content

Commit

Permalink
Add method to get executiond data client
Browse files Browse the repository at this point in the history
  • Loading branch information
peterargue committed Sep 12, 2024
1 parent ec08850 commit 84ba34c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions access/grpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ func (c *Client) RPCClient() RPCClient {
return c.grpc.RPCClient()
}

func (c *Client) ExecutionDataRPCClient() ExecutionDataRPCClient {
return c.grpc.ExecutionDataRPCClient()
}

func (c *Client) Ping(ctx context.Context) error {
return c.grpc.Ping(ctx)
}
Expand Down
4 changes: 4 additions & 0 deletions access/grpc/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ func (c *BaseClient) RPCClient() RPCClient {
return c.rpcClient
}

func (c *BaseClient) ExecutionDataRPCClient() ExecutionDataRPCClient {
return c.executionDataClient
}

// Close closes the client connection.
func (c *BaseClient) Close() error {
return c.close()
Expand Down

0 comments on commit 84ba34c

Please sign in to comment.