Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(base_node_grpc_client): add getActiveValidatorNodes method #4719

Merged
merged 2 commits into from
Sep 23, 2022

Conversation

mrnaveira
Copy link
Contributor

@mrnaveira mrnaveira commented Sep 21, 2022

Description

Adding the getActiveValidatorNodes method to base_node_grpc_client JS client.

Motivation and Context

For the tari-explorer web app (and other future usages, like cucumber integration tests), we want to retrieve a list of the active validator nodes from the base node JS client.

The method is already implemented in the base node itself, this PR is only to allow calling it from the client.

How Has This Been Tested?

Manually from a modified version of the tari-explorer web app

@sdbondi sdbondi merged commit cfa05be into tari-project:feature-dan Sep 23, 2022
stringhandler pushed a commit to tari-project/tari-explorer that referenced this pull request Sep 27, 2022
Description
---
* Fixing dependency path of base node and wallet clients. Right now the `tari-explorer` project must be in the same directory as the main `tari` project.
* New section with a table for active validator nodes. For each one shows the `public_key` and the `shard_key`
* It needs to call the `getActiveValidatorNodes` method from the base node client, so this PR depends on [a main repo PR](tari-project/tari#4719) that includes that method in the client.

Motivation and Context
---
The text explorer should show a list of registered vns and corresponding shards.

How Has This Been Tested?
---
Manually running the `tari-explorer` alongside a base node build from the [feature-dan](https://github.com/tari-project/tari/tree/feature-dan) branch.
sdbondi added a commit to sdbondi/tari that referenced this pull request Nov 14, 2022
* feature-dan: (21 commits)
  fix(core)!: remove unused get_committees call from base node (tari-project#4880)
  fix: correct value for validator_node_timeout consensus constant in localnet (tari-project#4879)
  feat: add block height to input request to get network consensus constants (tari-project#4856)
  fix: remove unused config for validator node (tari-project#4849)
  feat: add missing fields to grpc consensus constants interface (tari-project#4845)
  chore: merge development into feature-dan (tari-project#4815)
  refactor: split tari_base_node and tari_console_wallet into a lib component (tari-project#4818)
  fix(core)!: adds utxo and block info to get_template_registrations request (tari-project#4789)
  fix: computation of vn mmr (tari-project#4772)
  fix(wallet/grpc): add transaction id and template_address to template_reg response (tari-project#4788)
  fix: fix get shard key (tari-project#4744)
  feat(core): store and fetch templates from lmdb (tari-project#4726)
  fix: fix validator node registration logic (tari-project#4718)
  feat(base_node_grpc_client): add getActiveValidatorNodes method (tari-project#4719)
  fix after merge
  fix(core): bring validator node MR inline with other merkle root code (tari-project#4692)
  feat(core): add validator registration sidechain feature (tari-project#4690)
  fix merge issues
  feat: add grpc to get shard key for public key (tari-project#4654)
  feat: add validator node registration (tari-project#4507)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants