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: Add node AccountId to timeout/max attempt errors #2631

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

ivaylogarnev-limechain
Copy link
Contributor

Description:
This PR enhances error handling by including the consensus node ID in error messages related to connection issues, such as timeouts and max attempts, during transaction processing.

Related issue(s):
#2597

Checklist

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

Copy link

codecov bot commented Nov 1, 2024

Codecov Report

Attention: Patch coverage is 99.04306% with 2 lines in your changes missing coverage. Please review.

Project coverage is 84.89%. Comparing base (e44cdf8) to head (7e1a6fd).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/channel/WebChannel.js 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2631      +/-   ##
==========================================
+ Coverage   84.81%   84.89%   +0.08%     
==========================================
  Files         284      285       +1     
  Lines       71281    71486     +205     
==========================================
+ Hits        60457    60690     +233     
+ Misses      10824    10796      -28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ivaylogarnev-limechain ivaylogarnev-limechain marked this pull request as ready for review November 7, 2024 15:59
@0xivanov 0xivanov changed the title feat: Add AccountNodeId to timeout/max attempt errors feat: Add node AccountId to timeout/max attempt errors Nov 12, 2024
Copy link
Contributor

@0xivanov 0xivanov 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 overall, reminding to revert the changes for the demo.

src/NodeInfoError.js Outdated Show resolved Hide resolved
src/NodeInfoError.js Outdated Show resolved Hide resolved
0xivanov
0xivanov previously approved these changes Nov 12, 2024
Copy link
Contributor

@0xivanov 0xivanov left a comment

Choose a reason for hiding this comment

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

LGTM

agadzhalov
agadzhalov previously approved these changes Nov 15, 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

Copy link

sonarcloud bot commented Nov 15, 2024

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.

3 participants