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

Remove dead code in snaps-rpc-methods #2050

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

FrederikBolding
Copy link
Member

Remove some dead code in snaps-rpc-methods and increase testing coverage of error cases. Also changes an error to throw using the proper JSON-RPC error code.

@FrederikBolding FrederikBolding requested a review from a team as a code owner December 18, 2023 19:13

Verified

This commit was signed with the committer’s verified signature.
yhakbar Yousif Akbar
@FrederikBolding FrederikBolding force-pushed the fb/remove-rpc-methods-dead-code branch from 8686b82 to 7f72879 Compare January 3, 2024 13:53
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a0a0428) 96.22% compared to head (7f72879) 96.28%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2050      +/-   ##
==========================================
+ Coverage   96.22%   96.28%   +0.05%     
==========================================
  Files         271      270       -1     
  Lines        6310     6300      -10     
  Branches     1019     1017       -2     
==========================================
- Hits         6072     6066       -6     
+ Misses        238      234       -4     

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

@FrederikBolding FrederikBolding merged commit f741fc8 into main Jan 3, 2024
@FrederikBolding FrederikBolding deleted the fb/remove-rpc-methods-dead-code branch January 3, 2024 14:02
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.

None yet

2 participants