Skip to content

Commit c380944

Browse files
rename the helpers module to eth
1 parent 5a728d1 commit c380944

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

aggregation_mode/proof_aggregator/src/backend/helpers.rs renamed to aggregation_mode/proof_aggregator/src/backend/eth.rs

File renamed without changes.

aggregation_mode/proof_aggregator/src/backend/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pub mod config;
22
mod db;
3+
mod eth;
34
pub mod fetcher;
4-
mod helpers;
55
mod merkle_tree;
66
mod retry;
77
mod types;
@@ -343,7 +343,7 @@ impl ProofAggregator {
343343

344344
info!("Fetched gas price from network: {gas_price}");
345345

346-
if helpers::should_send_proof_to_verify_on_chain(
346+
if eth::should_send_proof_to_verify_on_chain(
347347
time_elapsed,
348348
monthly_budget_eth,
349349
U256::from(gas_price),
@@ -469,7 +469,7 @@ mod tests {
469469
use super::*;
470470

471471
use alloy::primitives::U256;
472-
use helpers::should_send_proof_to_verify_on_chain;
472+
use eth::should_send_proof_to_verify_on_chain;
473473
use std::time::Duration;
474474

475475
#[test]

0 commit comments

Comments
 (0)