From 019022149d94afb3c0ed3f75490dd777d60bad1c Mon Sep 17 00:00:00 2001 From: Martin Stefcek <35243812+Cifko@users.noreply.github.com> Date: Fri, 19 Jan 2024 09:33:11 +0100 Subject: [PATCH] feat: add search kernels method to nodejs client (#6082) Description --- We want to add this feature to tari explorer. Motivation and Context --- How Has This Been Tested? --- What process can a PR reviewer use to test or verify this change? --- Breaking Changes --- - [x] None - [ ] Requires data directory on base node to be deleted - [ ] Requires hard fork - [ ] Other - Please specify --- clients/nodejs/base_node_grpc_client/src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/nodejs/base_node_grpc_client/src/index.js b/clients/nodejs/base_node_grpc_client/src/index.js index 61a11ccbe2..814031517f 100644 --- a/clients/nodejs/base_node_grpc_client/src/index.js +++ b/clients/nodejs/base_node_grpc_client/src/index.js @@ -44,7 +44,8 @@ function Client(address = "127.0.0.1:18142") { "getTokens", "getNetworkDifficulty", "getActiveValidatorNodes", - "getHeaderByHash" + "getHeaderByHash", + "searchKernels", ]; methods.forEach((method) => { this[method] = (arg) => this.inner[method]().sendMessage(arg);