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

Add outputAddress and rewardDelegators to the Node type #109

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

msmania
Copy link
Contributor

@msmania msmania commented Apr 5, 2024

This patch adds the new fields outputAddress and rewardDelegators to the type Node so that JsonRpcProvider.getNode and JsonRpcProvider.getNodes return all fields recorded in the blockchain.

Since JsonRpcProvider.getNodes was implemented by 95f6cd3, there has been a bug that getNodes returns the list of apps instead of nodes because the target path was wrong. This patch also fixes that bug too.

@msmania msmania self-assigned this Apr 5, 2024
@msmania msmania linked an issue Apr 5, 2024 that may be closed by this pull request
@msmania msmania requested a review from nodiesBlade April 5, 2024 08:12
@msmania msmania added bug Something isn't working enhancement New feature or request labels Apr 5, 2024
Copy link
Contributor

@nodiesBlade nodiesBlade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@msmania msmania merged commit 6bdbef4 into pokt-network:main Apr 5, 2024
2 of 3 checks passed
@msmania msmania deleted the toshi/new-fields-in-node branch April 5, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[Enhancement] Include output address as part of Node object
2 participants