diff --git a/common/src/indexer_service/http/config.rs b/common/src/indexer_service/http/config.rs index b5d43063..59c92646 100644 --- a/common/src/indexer_service/http/config.rs +++ b/common/src/indexer_service/http/config.rs @@ -66,5 +66,5 @@ pub struct TapConfig { pub chain_id: u64, pub receipts_verifier_address: Address, pub timestamp_error_tolerance: u64, - pub receipt_max_value: u64, + pub receipt_max_value: u128, } diff --git a/common/src/indexer_service/http/indexer_service.rs b/common/src/indexer_service/http/indexer_service.rs index 372a391e..dfb1bede 100644 --- a/common/src/indexer_service/http/indexer_service.rs +++ b/common/src/indexer_service/http/indexer_service.rs @@ -296,7 +296,7 @@ impl IndexerService { escrow_accounts, domain_separator.clone(), timestamp_error_tolerance, - receipt_max_value.into(), + receipt_max_value, ) .await; diff --git a/service/src/config.rs b/service/src/config.rs index 66ff6cbb..206a35b3 100644 --- a/service/src/config.rs +++ b/service/src/config.rs @@ -73,7 +73,7 @@ impl From for Config { chain_id: value.blockchain.chain_id as u64, receipts_verifier_address: value.blockchain.receipts_verifier_address, timestamp_error_tolerance: value.tap.rav_request.timestamp_buffer_secs.as_secs(), - receipt_max_value: value.service.tap.max_receipt_value_grt.get_value() as u64, + receipt_max_value: value.service.tap.max_receipt_value_grt.get_value(), }, }) }