Skip to content

Commit

Permalink
feat: add search kernels method to nodejs client (#6082)
Browse files Browse the repository at this point in the history
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?
---

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->
  • Loading branch information
Cifko authored Jan 19, 2024
1 parent 4677610 commit 0190221
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/nodejs/base_node_grpc_client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0190221

Please sign in to comment.