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

Block notifications #3805

Merged
merged 5 commits into from
Feb 11, 2025
Merged

Block notifications #3805

merged 5 commits into from
Feb 11, 2025

Conversation

roman-khimov
Copy link
Member

Fixes #3779. Incorporates and replaces #3781.

lock9 and others added 5 commits February 11, 2025 15:40
Add new RPC method to retrieve block notifications organized by trigger type.

Signed-off-by: Ricardo Prado <[email protected]>
Signed-off-by: Roman Khimov <[email protected]>
Unknown fields are not allowed.

Signed-off-by: Roman Khimov <[email protected]>
Ignoring them is not correct. Notice that block-level aers are always present
and if filtering returns nothing the value of the resulting slice still remains
nil, so the behavior is the same.

Signed-off-by: Roman Khimov <[email protected]>
Copy link

codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 74.69880% with 21 lines in your changes missing coverage. Please review.

Project coverage is 82.82%. Comparing base (8d728b4) to head (25e2d80).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/rpcsrv/server.go 68.08% 11 Missing and 4 partials ⚠️
pkg/rpcclient/rpc.go 0.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3805   +/-   ##
=======================================
  Coverage   82.82%   82.82%           
=======================================
  Files         337      338    +1     
  Lines       47351    47434   +83     
=======================================
+ Hits        39219    39288   +69     
- Misses       6522     6535   +13     
- Partials     1610     1611    +1     

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

@roman-khimov roman-khimov merged commit a1db45d into master Feb 11, 2025
33 of 34 checks passed
@roman-khimov roman-khimov deleted the block-notifications branch February 11, 2025 13:28
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.

API to fetch all notifications from a block (with filters)
3 participants