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

[Enhancement] Include output address as part of Node object #108

Closed
nodiesBlade opened this issue Apr 4, 2024 · 1 comment · Fixed by #109
Closed

[Enhancement] Include output address as part of Node object #108

nodiesBlade opened this issue Apr 4, 2024 · 1 comment · Fixed by #109
Assignees
Labels
enhancement New feature or request

Comments

@nodiesBlade
Copy link
Contributor

https://github.com/pokt-network/pocket-js/blob/main/packages/types/src/index.ts#L177 doesn't include output address. This must've been missed whenever non custodial was activated. The Pocket RPC node returns this metadata, so it should be as simple as:

  1. adding the new field
  2. https://github.com/pokt-network/pocket-js/blob/main/packages/provider/src/json-rpc-provider.ts#L453, parsing and mapping it here.

(Similarly, we can do this for GetNode and GetNodes)

@msmania msmania self-assigned this Apr 4, 2024
@msmania msmania added the enhancement New feature or request label Apr 4, 2024
@nodiesBlade
Copy link
Contributor Author

Spoke to @msmania and it should keep all fields of the network including rewards delegators as well.

@msmania msmania linked a pull request Apr 5, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this to In Progress in V0 Dashboard Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants