Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/src/tap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::tap::checks::deny_list_check::DenyListCheck;
use crate::tap::checks::receipt_max_val_check::ReceiptMaxValueCheck;
use crate::tap::checks::sender_balance_check::SenderBalanceCheck;
use crate::tap::checks::timestamp_check::TimestampCheck;
use crate::tap::checks::value_check::MinimumValue;
// use crate::tap::checks::value_check::MinimumValue;
use crate::{escrow_accounts::EscrowAccounts, prelude::Allocation};
use alloy::dyn_abi::Eip712Domain;
use alloy::primitives::Address;
Expand Down Expand Up @@ -58,7 +58,7 @@ impl IndexerTapContext {
Arc::new(TimestampCheck::new(timestamp_error_tolerance)),
Arc::new(DenyListCheck::new(pgpool.clone(), escrow_accounts, domain_separator).await),
Arc::new(ReceiptMaxValueCheck::new(receipt_max_value)),
Arc::new(MinimumValue::new(pgpool).await),
// Arc::new(MinimumValue::new(pgpool).await),
]
}

Expand Down
2 changes: 2 additions & 0 deletions common/src/tap/checks/value_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ struct CostModelWatcher {
global_model: GlobalModel,
}

#[allow(dead_code)]
impl CostModelWatcher {
async fn cost_models_watcher(
pgpool: PgPool,
Expand Down Expand Up @@ -169,6 +170,7 @@ impl Drop for MinimumValue {
}
}

#[allow(dead_code)]
impl MinimumValue {
pub async fn new(pgpool: PgPool) -> Self {
let cost_model_map: CostModelMap = Default::default();
Expand Down
Loading