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

Streamline Msg trait and rename to ToProto #995

Merged
merged 9 commits into from
Nov 30, 2023
Merged

Conversation

seanchen1991
Copy link
Contributor

Closes: #993

Description


PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests.
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).
  • Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (f306667) 70.63% compared to head (82c4ce4) 70.86%.

Files Patch % Lines
ibc-primitives/src/traits/proto.rs 0.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #995      +/-   ##
==========================================
+ Coverage   70.63%   70.86%   +0.22%     
==========================================
  Files         178      178              
  Lines       17976    17918      -58     
==========================================
  Hits        12698    12698              
+ Misses       5278     5220      -58     

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

@Farhad-Shabani Farhad-Shabani added this to the v0.49.0 milestone Nov 30, 2023
@Farhad-Shabani Farhad-Shabani merged commit 6c7d719 into main Nov 30, 2023
14 checks passed
@Farhad-Shabani Farhad-Shabani deleted the sean/streamline-msg branch November 30, 2023 21:45
Farhad-Shabani added a commit that referenced this pull request Sep 9, 2024
* Remove Msg::get_sign_bytes method

* Update bounds on Msg trait

* Rename Msg trait to ToProto

* Import prost::Name in ToProto::to_any fn

* Change `impl Msg` implementations

* Define blanket implementation of ToProto

* Rename msg.rs to proto.rs

* Remove `impl ToProto` blocks

* chore: add unclog

---------

Co-authored-by: Farhad Shabani <farhad.shabani@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Streamline Msg trait definition
2 participants