Skip to content

Commit

Permalink
refactor: cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Asseman <[email protected]>
  • Loading branch information
aasseman committed Nov 10, 2023
1 parent 4d95b3f commit c734829
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tap-agent/src/tap/receipt_checks_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl ReceiptChecksAdapterTrait for ReceiptChecksAdapter {
_receipt: &EIP712SignedMessage<Receipt>,
_receipt_id: u64,
) -> Result<bool, Self::AdapterError> {
panic!("Not implemented.");
unimplemented!();
}

async fn is_valid_allocation_id(
Expand Down
4 changes: 2 additions & 2 deletions tap-agent/src/tap/receipt_storage_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl ReceiptStorageAdapterTrait for ReceiptStorageAdapter {

/// We don't need this method in TAP Agent.
async fn store_receipt(&self, _receipt: ReceivedReceipt) -> Result<u64, Self::AdapterError> {
panic!("Not implemented");
unimplemented!();
}

async fn retrieve_receipts_in_timestamp_range<R: RangeBounds<u64> + Send>(
Expand Down Expand Up @@ -131,7 +131,7 @@ impl ReceiptStorageAdapterTrait for ReceiptStorageAdapter {
_receipt_id: u64,
_receipt: ReceivedReceipt,
) -> Result<(), Self::AdapterError> {
panic!("Not implemented");
unimplemented!();
}

async fn remove_receipts_in_timestamp_range<R: RangeBounds<u64> + Send>(
Expand Down
1 change: 0 additions & 1 deletion tap-agent/src/tap/sender_allocation_relationship.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ mod tests {
config: None,
ethereum: config::Ethereum {
indexer_address: INDEXER.1,
..Default::default()
},
tap: config::Tap {
rav_request_trigger_value: 100,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ mod tests {
config: None,
ethereum: config::Ethereum {
indexer_address: INDEXER.1,
..Default::default()
},
tap: config::Tap {
rav_request_trigger_value: 100,
Expand Down

0 comments on commit c734829

Please sign in to comment.