Skip to content

Commit

Permalink
Add context for what to do next with comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchTurner committed Jan 8, 2025
1 parent 5ea9ed7 commit 684226c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions crates/services/gas_price_service/simulation/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ async fn simulation(
) -> anyhow::Result<SimulationResults> {
let res = SimulationResults {};
for (block, maybe_costs) in data.get_iter() {
service_controller
.advance_one_l2_block(block, maybe_costs)
.await?
service_controller.advance(block, maybe_costs).await?
// GET GAS PRICE

// MODIFY WITH GAS PRICE FACTOR

// RECORD LATEST VALUES
}
Ok(res)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pub struct ServiceController {
}

impl ServiceController {
pub async fn advance_one_l2_block(
pub async fn advance(
&mut self,
l2_block: BlockInfo,
da_costs: Option<DaBlockCosts>,
Expand Down

0 comments on commit 684226c

Please sign in to comment.