-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imp(types): refactor Default implementations with concrete names (#1099)
* 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
- Loading branch information
1 parent
d0511b7
commit 04520a8
Showing
55 changed files
with
352 additions
and
358 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/improvements/1074-refactor-default-implemetation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [types] Refactor `Default` implementations with concrete names | ||
([\#1074](https://github.com/cosmos/ibc-rs/issues/1074)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.