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 subscribeEvents and subcriptionEvent #2254

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

Conversation

IronGauntlets
Copy link
Contributor

No description provided.

@IronGauntlets IronGauntlets force-pushed the IronGauntlets/implement-subscribeEvents branch 4 times, most recently from bf93293 to 26ad026 Compare November 22, 2024 12:23
@IronGauntlets IronGauntlets marked this pull request as ready for review November 22, 2024 12:28
Copy link

codecov bot commented Nov 22, 2024

Codecov Report

Attention: Patch coverage is 70.50360% with 41 lines in your changes missing coverage. Please review.

Project coverage is 75.34%. Comparing base (bccf025) to head (301962d).

Files with missing lines Patch % Lines
rpc/subscriptions.go 68.70% 30 Missing and 11 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2254      +/-   ##
==========================================
- Coverage   75.45%   75.34%   -0.11%     
==========================================
  Files         107      108       +1     
  Lines       11404    11540     +136     
==========================================
+ Hits         8605     8695      +90     
- Misses       2147     2181      +34     
- Partials      652      664      +12     

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

@IronGauntlets IronGauntlets force-pushed the IronGauntlets/implement-subscribeEvents branch 3 times, most recently from ecaaed4 to 6ad3741 Compare November 22, 2024 12:43
@IronGauntlets IronGauntlets enabled auto-merge (rebase) November 22, 2024 12:55
@IronGauntlets IronGauntlets force-pushed the IronGauntlets/implement-subscribeEvents branch 4 times, most recently from 68801c3 to c218d68 Compare November 26, 2024 11:54
The main reason for adding this interface is for testing as it is quite
challenging to find events in a particular order.
Using jsonrpc.Request for subscription response is misleading and by
adding a separate struct for returning responses to subscription events
is more appropriate
@IronGauntlets IronGauntlets force-pushed the IronGauntlets/implement-subscribeEvents branch from c218d68 to 301962d Compare November 26, 2024 12:47
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.

1 participant