We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a728d1 commit c380944Copy full SHA for c380944
2 files changed
…/proof_aggregator/src/backend/helpers.rs …mode/proof_aggregator/src/backend/eth.rsaggregation_mode/proof_aggregator/src/backend/helpers.rs renamed to aggregation_mode/proof_aggregator/src/backend/eth.rs
aggregation_mode/proof_aggregator/src/backend/mod.rs
@@ -1,7 +1,7 @@
1
pub mod config;
2
mod db;
3
+mod eth;
4
pub mod fetcher;
-mod helpers;
5
mod merkle_tree;
6
mod retry;
7
mod types;
@@ -343,7 +343,7 @@ impl ProofAggregator {
343
344
info!("Fetched gas price from network: {gas_price}");
345
346
- if helpers::should_send_proof_to_verify_on_chain(
+ if eth::should_send_proof_to_verify_on_chain(
347
time_elapsed,
348
monthly_budget_eth,
349
U256::from(gas_price),
@@ -469,7 +469,7 @@ mod tests {
469
use super::*;
470
471
use alloy::primitives::U256;
472
- use helpers::should_send_proof_to_verify_on_chain;
+ use eth::should_send_proof_to_verify_on_chain;
473
use std::time::Duration;
474
475
#[test]
0 commit comments