Skip to content

Commit

Permalink
refactor(consensus): move fee_market to concensus (#2977)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeletstarkware authored Dec 29, 2024
1 parent 2bf1acb commit ad6a841
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use std::cmp::max;

#[cfg(test)]
#[path = "fee_market_test.rs"]
pub mod fee_market_test;
mod test;

// This constant is used to calculate the base gas price for the next block according to EIP-1559
// and serves as a sensitivity parameter that limits the maximum rate of change of the gas price
Expand Down
5 changes: 4 additions & 1 deletion crates/sequencing/papyrus_consensus_orchestrator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ pub mod papyrus_consensus_context;
#[allow(missing_docs)]
pub mod sequencer_consensus_context;

/// Centralized and decentralized communication types and functionallity.
/// Centralized and decentralized communication types and functionality.
#[allow(missing_docs)]
pub mod cende;

/// Fee market logic.
pub mod fee_market;
1 change: 0 additions & 1 deletion crates/starknet_batcher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pub mod block_builder;
mod block_builder_test;
pub mod communication;
pub mod config;
pub mod fee_market;
#[cfg(test)]
mod test_utils;
mod transaction_executor;
Expand Down

0 comments on commit ad6a841

Please sign in to comment.