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

feat: restructure mock module and separate its codebase into a new crate #954

Merged
merged 26 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a28253b
imp: separate mock module into a dedicated crate
Farhad-Shabani Nov 8, 2023
1610c90
Merge branch 'main' into farhad/split-organize-mocks
Farhad-Shabani Nov 8, 2023
bd2ea42
fix: clippy, fmt, no-std
Farhad-Shabani Nov 8, 2023
58dc008
imp: restructure second iteration
Farhad-Shabani Nov 8, 2023
8e71b48
chore: add unclogs + update READMEs
Farhad-Shabani Nov 8, 2023
2a8f9c7
deps: bump typed-builder
Farhad-Shabani Nov 8, 2023
815c1d4
fix: move client_ctx under core
Farhad-Shabani Nov 8, 2023
9c5033d
fix: cargo fmt
Farhad-Shabani Nov 8, 2023
94bb143
fix: remove tracing dep from ibc
Farhad-Shabani Nov 9, 2023
39dfed3
deps: remove parking_lot from ibc
Farhad-Shabani Nov 9, 2023
6826dae
deps: remove num-traits from ibc
Farhad-Shabani Nov 9, 2023
5e2b8eb
fix: apply suggestions from code review
Farhad-Shabani Nov 9, 2023
7bd2460
nit: apply feedback
Farhad-Shabani Nov 9, 2023
1ac233b
fix: introduce with_current_timestamp()
Farhad-Shabani Nov 9, 2023
db2a5ee
fix: cargo test
Farhad-Shabani Nov 9, 2023
981883a
imp: move test_utils.rs into utils
Farhad-Shabani Nov 9, 2023
b4c9293
imp: move test-utils + mock into the ibc-testkit
Farhad-Shabani Nov 10, 2023
8c801ca
imp: add deny attr for tests
Farhad-Shabani Nov 10, 2023
1e536e1
chore: cleanups
Farhad-Shabani Nov 10, 2023
ce9d451
chore: add comment for ibc dep in ibc-testkit
Farhad-Shabani Nov 10, 2023
a417910
chore: adjust paths for types imported from ibc_testkit::utils
Farhad-Shabani Nov 10, 2023
2fc222d
chore: adjust paths for types imported from ibc_testkit::utils
Farhad-Shabani Nov 10, 2023
e88452c
chore: move tendermint::client_state::test_utils under the tests module
Farhad-Shabani Nov 10, 2023
15a01d1
imp: replace json files under the src/data dir
Farhad-Shabani Nov 10, 2023
d3964ef
chore: replace data/json under tests
Farhad-Shabani Nov 10, 2023
3f5741e
imp: use concat! for paths
Farhad-Shabani Nov 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Restructure the mock module implementation and separate its codebase into a
new crate named `ibc-testkit`
([\#954](https://github.com/cosmos/ibc-rs/issues/954))
Farhad-Shabani marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Remove the default value and implementation for `PortId`
([\#951](https://github.com/cosmos/ibc-rs/pull/951))
Farhad-Shabani marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Expose domain message types under the `ics04_channel` as public
([\#952](https://github.com/cosmos/ibc-rs/pull/952))
Farhad-Shabani marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ resolver = "2"
members = [
"crates/ibc",
"crates/ibc-derive",
"crates/ibc-testkit",
"crates/ibc-query",
]

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ the `ibc` rust crate which defines the main data structures and on-chain logic f
## Libraries

- [ibc](crates/ibc/README.md) - Data structures and on-chain logic for the IBC protocol.
- [ibc-query](crates/ibc-query/README.md) - Utility traits and implementations for querying the
state of an `ibc-rs` enabled chain.
- [ibc-derive](crates/ibc-derive/README.md) - Derive macros for `ClientState`
and `ConsensusState` traits, reducing boilerplate.
- [ibc-testkit](crates/ibc-testkit/README.md) - Testing toolkit to aid ibc-rs and host chains for writing integration tests
Farhad-Shabani marked this conversation as resolved.
Show resolved Hide resolved
- [ibc-query](crates/ibc-query/README.md) - Utility traits and implementations for querying the
state of an `ibc-rs` enabled chain.

## Contributing

Expand Down
Loading
Loading