Skip to content

Commit eb31981

Browse files
authored
fix: disable value check (#429)
1 parent edc1d2c commit eb31981

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

common/src/tap.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::tap::checks::deny_list_check::DenyListCheck;
66
use crate::tap::checks::receipt_max_val_check::ReceiptMaxValueCheck;
77
use crate::tap::checks::sender_balance_check::SenderBalanceCheck;
88
use crate::tap::checks::timestamp_check::TimestampCheck;
9-
use crate::tap::checks::value_check::MinimumValue;
9+
// use crate::tap::checks::value_check::MinimumValue;
1010
use crate::{escrow_accounts::EscrowAccounts, prelude::Allocation};
1111
use alloy::dyn_abi::Eip712Domain;
1212
use alloy::primitives::Address;
@@ -58,7 +58,7 @@ impl IndexerTapContext {
5858
Arc::new(TimestampCheck::new(timestamp_error_tolerance)),
5959
Arc::new(DenyListCheck::new(pgpool.clone(), escrow_accounts, domain_separator).await),
6060
Arc::new(ReceiptMaxValueCheck::new(receipt_max_value)),
61-
Arc::new(MinimumValue::new(pgpool).await),
61+
// Arc::new(MinimumValue::new(pgpool).await),
6262
]
6363
}
6464

common/src/tap/checks/value_check.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ struct CostModelWatcher {
5757
global_model: GlobalModel,
5858
}
5959

60+
#[allow(dead_code)]
6061
impl CostModelWatcher {
6162
async fn cost_models_watcher(
6263
pgpool: PgPool,
@@ -169,6 +170,7 @@ impl Drop for MinimumValue {
169170
}
170171
}
171172

173+
#[allow(dead_code)]
172174
impl MinimumValue {
173175
pub async fn new(pgpool: PgPool) -> Self {
174176
let cost_model_map: CostModelMap = Default::default();

0 commit comments

Comments
 (0)