Skip to content

Commit

Permalink
chore(rpc): remove gas_price module
Browse files Browse the repository at this point in the history
It was unused.

Closes #1781
  • Loading branch information
kkovaacs committed Feb 20, 2024
1 parent 896f75c commit 49aaf08
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 94 deletions.
3 changes: 0 additions & 3 deletions crates/rpc/src/context.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use crate::gas_price;
pub use crate::jsonrpc::websocket::WebsocketContext;
use crate::pending::PendingData;
use crate::pending::PendingWatcher;
Expand Down Expand Up @@ -27,7 +26,6 @@ pub struct RpcContext {
pub pending_data: PendingWatcher,
pub sync_status: Arc<SyncState>,
pub chain_id: ChainId,
pub eth_gas_price: gas_price::Cached,
pub sequencer: SequencerClient,
pub websocket: Option<WebsocketContext>,
pub config: RpcConfig,
Expand All @@ -51,7 +49,6 @@ impl RpcContext {
sync_status,
chain_id,
pending_data,
eth_gas_price: gas_price::Cached::new(sequencer.clone()),
sequencer,
websocket: None,
config,
Expand Down
90 changes: 0 additions & 90 deletions crates/rpc/src/gas_price.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ pub mod context;
mod error;
mod executor;
mod felt;
pub mod gas_price;
mod jsonrpc;
pub mod middleware;
mod pathfinder;
Expand Down

0 comments on commit 49aaf08

Please sign in to comment.