Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(gateway): change inner modules to be private #404

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading