diff --git a/types/src/lib.rs b/types/src/lib.rs index d20541d19..b7c87fb7d 100644 --- a/types/src/lib.rs +++ b/types/src/lib.rs @@ -1,7 +1,6 @@ #![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] -mod bit_array; pub mod blob; mod block; mod byzantine; diff --git a/types/src/state.rs b/types/src/state.rs index e584d1f5a..f5593d5c5 100644 --- a/types/src/state.rs +++ b/types/src/state.rs @@ -1,5 +1,6 @@ //! Types and interfaces for accessing Celestia's state-relevant information. +mod bit_array; mod address; pub mod auth; mod balance; diff --git a/types/src/bit_array.rs b/types/src/state/bit_array.rs similarity index 100% rename from types/src/bit_array.rs rename to types/src/state/bit_array.rs diff --git a/types/src/state/tx.rs b/types/src/state/tx.rs index 0a32b1d1b..a4491538f 100644 --- a/types/src/state/tx.rs +++ b/types/src/state/tx.rs @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize}; use celestia_proto::cosmos::base::abci::v1beta1::AbciMessageLog; use celestia_tendermint_proto::v0_34::abci::Event; -use crate::bit_array::BitVector; +use crate::state::bit_array::BitVector; use crate::Error; use crate::Height;