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

fix: rpc subscription return types #5374

Merged
merged 1 commit into from
Nov 1, 2024
Merged

fix: rpc subscription return types #5374

merged 1 commit into from
Nov 1, 2024

Conversation

dandanlen
Copy link
Collaborator

@dandanlen dandanlen commented Nov 1, 2024

Fixes the return types in rpc subscriptions.

Used to be wrapped in an additional (unexpected) Result.

@dandanlen dandanlen force-pushed the fix/rpc-subscriptions branch from 5496635 to bb89c41 Compare November 1, 2024 10:23
@dandanlen dandanlen changed the base branch from release/1.7 to main November 1, 2024 10:24
@dandanlen dandanlen changed the title WIP fix: rpc subscription return types Nov 1, 2024
Copy link

codecov bot commented Nov 1, 2024

Codecov Report

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

Project coverage is 71%. Comparing base (99bc666) to head (85a2689).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
state-chain/custom-rpc/src/lib.rs 0% 21 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #5374    +/-   ##
======================================
- Coverage     72%     71%    -0%     
======================================
  Files        497     497            
  Lines      86352   86202   -150     
  Branches   86352   86202   -150     
======================================
- Hits       61757   61559   -198     
- Misses     21817   21858    +41     
- Partials    2778    2785     +7     

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

@dandanlen dandanlen marked this pull request as ready for review November 1, 2024 13:10
@dandanlen dandanlen requested review from kylezs and MxmUrw November 1, 2024 13:10
@dandanlen dandanlen enabled auto-merge November 1, 2024 13:10
@dandanlen dandanlen force-pushed the fix/rpc-subscriptions branch from 2e5dae0 to 85a2689 Compare November 1, 2024 14:04
@dandanlen dandanlen added this pull request to the merge queue Nov 1, 2024
Merged via the queue into main with commit 31e8fa8 Nov 1, 2024
48 of 49 checks passed
@dandanlen dandanlen deleted the fix/rpc-subscriptions branch November 1, 2024 15:29
syan095 added a commit that referenced this pull request Nov 3, 2024
…d-migration

* origin/main:
  fix: retry with search history enabled after some attempts (#5370)
  fix: rpc subscription return types (#5374)
  chore: remove unused stream_utils (#5373)
  fix: always sweep on RPC free balance (#5376)
  fix: make boost detection more accurate (#5369)
  chore: better not contributing error message (#5368)
  chore: rename ElectoralSystemStatus -> ElectionPalletStatus (#5367)
  fix: `request_swap_deposit_address_with_affiliates` refund address is consistent with destination address type (#5360)
  feat: add sol chain tracking metric (#5366)
  fix: remove is_vote_valid (#5363)
  fix: separate lp account for lp api (#5354)
  fix: features for test-externalities (#5365)
  Update localnet polkadot runtime to v1.3.3 (#5337)
dandanlen added a commit that referenced this pull request Nov 6, 2024
fix: subscription return types
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.

2 participants