Skip to content

Commit

Permalink
chore(gateway): change inner modules to be private
Browse files Browse the repository at this point in the history
  • Loading branch information
yair-starkware committed Jul 8, 2024
1 parent 4269f5b commit 974b39f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
20 changes: 10 additions & 10 deletions crates/gateway/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;
1 change: 1 addition & 0 deletions crates/gateway/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 974b39f

Please sign in to comment.