From 72705fe15cd72875345759cf6f48302e132c8a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Florkiewicz?= Date: Fri, 22 Nov 2024 18:53:55 +0100 Subject: [PATCH] move bitvector --- types/src/lib.rs | 1 - types/src/state.rs | 1 + types/src/{ => state}/bit_array.rs | 0 types/src/state/tx.rs | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename types/src/{ => state}/bit_array.rs (100%) 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;