Skip to content

Commit 3a2e160

Browse files
committed
fix(common,service): make receipt_max_value u128
Signed-off-by: Alexis Asseman <[email protected]>
1 parent ad1605b commit 3a2e160

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

common/src/indexer_service/http/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ pub struct TapConfig {
6666
pub chain_id: u64,
6767
pub receipts_verifier_address: Address,
6868
pub timestamp_error_tolerance: u64,
69-
pub receipt_max_value: u64,
69+
pub receipt_max_value: u128,
7070
}

common/src/indexer_service/http/indexer_service.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ impl IndexerService {
296296
escrow_accounts,
297297
domain_separator.clone(),
298298
timestamp_error_tolerance,
299-
receipt_max_value.into(),
299+
receipt_max_value,
300300
)
301301
.await;
302302

service/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl From<MainConfig> for Config {
7373
chain_id: value.blockchain.chain_id as u64,
7474
receipts_verifier_address: value.blockchain.receipts_verifier_address,
7575
timestamp_error_tolerance: value.tap.rav_request.timestamp_buffer_secs.as_secs(),
76-
receipt_max_value: value.service.tap.max_receipt_value_grt.get_value() as u64,
76+
receipt_max_value: value.service.tap.max_receipt_value_grt.get_value(),
7777
},
7878
})
7979
}

0 commit comments

Comments
 (0)