Skip to content

Commit

Permalink
Move test components to new cosmos-test-components crate
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed Nov 16, 2023
1 parent c64a134 commit e534c93
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion crates/cosmos-client-components/src/components/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ pub mod query_write_ack_event;
pub mod receive_packet_message;
pub mod receive_packet_payload;
pub mod send_messages_as_tx;
pub mod tests;
pub mod timeout_packet_message;
pub mod timeout_packet_payload;
pub mod types;
Expand Down
1 change: 0 additions & 1 deletion crates/cosmos-client-components/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ pub mod messages;
pub mod packet_lock;
pub mod payloads;
pub mod tendermint;
pub mod tests;
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use ibc_test_components::traits::chain::types::amount::AmountTypeProvider;
use ibc_test_components::traits::chain::types::denom::HasDenomType;

use crate::types::tests::amount::Amount;
use crate::types::tests::denom::Denom;
use crate::types::amount::Amount;
use crate::types::denom::Denom;

pub struct ProvideIbcAmount;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use cgp_core::Async;
use ibc_test_components::traits::chain::types::denom::DenomTypeProvider;

use crate::types::tests::denom::Denom;
use crate::types::denom::Denom;

pub struct ProvideIbcDenom;

Expand Down
3 changes: 2 additions & 1 deletion crates/cosmos-test-components/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@

pub mod components;
pub mod types;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use core::cmp::Ordering;
use core::fmt::{self, Display};

use crate::types::tests::denom::Denom;
use crate::types::denom::Denom;

#[derive(Debug, PartialEq, Eq)]
pub struct Amount {
Expand Down

0 comments on commit e534c93

Please sign in to comment.