diff --git a/crates/gateway/src/lib.rs b/crates/gateway/src/lib.rs index 59f79bf8..ec8052af 100644 --- a/crates/gateway/src/lib.rs +++ b/crates/gateway/src/lib.rs @@ -1,16 +1,16 @@ pub mod communication; -pub mod compilation; -pub mod compiler_version; +mod compilation; +mod compiler_version; pub mod config; pub mod errors; pub mod gateway; -pub mod rpc_objects; -pub mod rpc_state_reader; -pub mod state_reader; +mod rpc_objects; +mod rpc_state_reader; +mod state_reader; #[cfg(test)] -pub mod state_reader_test_utils; -pub mod stateful_transaction_validator; -pub mod stateless_transaction_validator; +mod state_reader_test_utils; +mod stateful_transaction_validator; +mod stateless_transaction_validator; #[cfg(test)] -pub mod test_utils; -pub mod utils; +mod test_utils; +mod utils; diff --git a/crates/gateway/src/utils.rs b/crates/gateway/src/utils.rs index 6cebd08d..10af9340 100644 --- a/crates/gateway/src/utils.rs +++ b/crates/gateway/src/utils.rs @@ -70,6 +70,7 @@ pub fn get_sender_address(tx: &RPCTransaction) -> ContractAddress { } // TODO(Mohammad): Remove this trait once it is implemented in StarkNet API. +#[allow(dead_code)] pub trait RPCTransactionExt { fn nonce(&self) -> &Nonce; fn tip(&self) -> &Tip;