-
Notifications
You must be signed in to change notification settings - Fork 94
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
imp(types): refactor Default implementations with concrete names #1099
imp(types): refactor Default implementations with concrete names #1099
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1099 +/- ##
==========================================
+ Coverage 66.54% 66.57% +0.03%
==========================================
Files 209 209
Lines 20617 20636 +19
==========================================
+ Hits 13719 13738 +19
Misses 6898 6898 ☔ View full report in Codecov by Sentry. |
Hi @rnbguy, I am working on this issue and want to ask if I am heading in the right direction or not. At what extent should I refactor/remove these |
That |
@rnbguy Can you take a look at why the no_std substrate check is falling, I don't have much experience in that. Thanks! |
Keep working on your PR. We will take care of this in a separate issue. |
you can now merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Thanks so much for taking care of this PR. ✨
I added some suggestions. 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvements through this PR. Thanks @tropicaldog!
I did request a couple more tweaks. Hope that's not too much of a hassle for you. Thanks!
60a9943
to
6aba54f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tropicaldog ! I gave my last PR review and then we merge 🎉
I would have resolved this by myself, but I don't have permission on your branch.
.changelog/unreleased/improvements/1074-refactor-default-implemetation.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work ! ✨
Thanks for the contribution. 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
* use concrete channel order enum * refactor(ics04): remove Version::default() * refactor(ics04): remove TimeoutHeight::default() * refactor: remove channelId::default() * fix: Version::default() to Version::empty() * remove derive default from Timestamp * refactor default builder * remove Sequence::default() * remove Memo::default() * refactor: add ChannelId::zero() * add From<&str> implmentation * refactor(ibccore): remove ClientId::default() * refactor(ibccore): remove version::Default() * refactor(ibccore): remove ConnectionEnd::default() * refactor(ibc-apps): remove TracePath::default() * refactor(ibc-core): remove ProofSpecs::default() * fix(ibc-app): remove upgrade path default * remove trust threshold default * refactor(ibc-testkit): remove Default from client_state initialization * refactor(ibc-testkit): remove Default() of ClientId, ConnectionId,... * chore: add unclog * refactor: add Connection::zero() * use into() instead of ::from() * refactor: add Version::compatibles() * refactor(ics24-host): make 07-tendermint-0 a constant in tests * chore: remove commented out impl Default * add dummy ClientId * refactor(ics24-host): remove From<&str> to avoid panic on host * remove get_compatible_versions * fix syntax error when import Version * chore: run cargo fmt * revert markdown format * various refactor * chore: update unclog
Closes: #1074
Closes: #552
Closes: #373
Description
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.