Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(common,service): make receipt_max_value u128 #230

Merged
merged 1 commit into from
Jul 1, 2024
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
2 changes: 1 addition & 1 deletion common/src/indexer_service/http/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
2 changes: 1 addition & 1 deletion common/src/indexer_service/http/indexer_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ impl IndexerService {
escrow_accounts,
domain_separator.clone(),
timestamp_error_tolerance,
receipt_max_value.into(),
receipt_max_value,
)
.await;

Expand Down
2 changes: 1 addition & 1 deletion service/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl From<MainConfig> 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(),
},
})
}
Expand Down