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(ibc): add missing dependencies for feature flags across multiple crates #1060

Merged
merged 6 commits into from
Jan 26, 2024

Conversation

Farhad-Shabani
Copy link
Member

@Farhad-Shabani Farhad-Shabani commented Jan 25, 2024

Closes: #1059

Integration tests: informalsystems/basecoin-rs#151

Remark

Along with this PR:

  • Eased serde derive on ICS-20 and ICS-721 domain types
  • Fixed the name of v0.50.0 directory under the changelog

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 Jan 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (24a09d0) 67.05% compared to head (284ee76) 67.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1060   +/-   ##
=======================================
  Coverage   67.05%   67.05%           
=======================================
  Files         204      204           
  Lines       20552    20552           
=======================================
  Hits        13782    13782           
  Misses       6770     6770           

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

@Farhad-Shabani Farhad-Shabani marked this pull request as ready for review January 25, 2024 05:22
@Farhad-Shabani Farhad-Shabani requested a review from rnbguy January 25, 2024 05:22
Copy link
Collaborator

@rnbguy rnbguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Comment on lines +94 to 95
#[cfg(feature = "serde")]
impl FromStr for Ics721Data {
Copy link
Collaborator

@rnbguy rnbguy Jan 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this interesting as this general FromStr trait is only implemented with serde. I would expect this to be implemented with borsh or any other similar features - or is this necessary?

@rnbguy rnbguy merged commit 4718ca6 into main Jan 26, 2024
15 checks passed
@rnbguy rnbguy deleted the farhad/add-missing-deps-for-feature-flags branch January 26, 2024 12:15
@Farhad-Shabani Farhad-Shabani added this to the 0.51.0 milestone Feb 6, 2024
Farhad-Shabani added a commit that referenced this pull request Sep 9, 2024
…crates (#1060)

* fix: add missing dependencies for some feature flags

* fix: derive serde attr on ics20 serializer imports

* ease serde derive on ICS20 & ICS721 types

* imp: ease serde derive on ics20 and ics721 types

* nit: fix the name of v0.50.0 dir under changelog

* nit
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.

Missing some dependency inclusion for feature flags
2 participants