Skip to content

Commit

Permalink
Merge pull request #755 from onflow/petera/add-get-execdata-rpc-method
Browse files Browse the repository at this point in the history
Add method to get execution data client
  • Loading branch information
peterargue authored Sep 12, 2024
2 parents ec08850 + 84ba34c commit 160a1bc
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 160a1bc

Please sign in to comment.