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

chore: remove IllegalStateException when specific node id is not present in address book #2056

Conversation

0xivanov
Copy link
Contributor

@0xivanov 0xivanov commented Nov 1, 2024

Description:

This PR ignores a node when the node is not present in the address book, instead of throwing an exception.
This helps with wallets not having to update the SDK every time the address book gets changed.

Related issue(s):

Fixes #2044

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@0xivanov 0xivanov added the enhancement New feature or request label Nov 1, 2024
@0xivanov 0xivanov self-assigned this Nov 1, 2024
Signed-off-by: Ivan Ivanov <[email protected]>
@0xivanov 0xivanov marked this pull request as ready for review November 5, 2024 15:09
@0xivanov 0xivanov requested a review from a team as a code owner November 5, 2024 15:09
@0xivanov 0xivanov changed the title chore: remove IllegalStateException from executable chore: remove IllegalStateException when a NodeID is not present in address book Nov 5, 2024
@0xivanov 0xivanov changed the title chore: remove IllegalStateException when a NodeID is not present in address book chore: remove IllegalStateException when specific node id is not present in address book Nov 5, 2024
Copy link
Contributor

@agadzhalov agadzhalov left a comment

Choose a reason for hiding this comment

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

LGTM

@0xivanov 0xivanov merged commit 3c1912b into main Nov 6, 2024
11 checks passed
@0xivanov 0xivanov deleted the 2044-Some-node-account-IDs-did-not-map-to-valid-nodes-in-the-client's-network branch November 6, 2024 08:55
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
None yet
Development

Successfully merging this pull request may close these issues.

IllegalStateException: Some node account IDs did not map to valid nodes in the client's network
2 participants