Skip to content

Commit 6ab0cd8

Browse files
committed
chore: remove TODOs
1 parent 2b51bb9 commit 6ab0cd8

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

crates/tap-agent/src/agent.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,10 @@ pub async fn start_agent(
103103
},
104104
},
105105
},
106-
tap:
107-
TapConfig {
108-
// TODO: replace with a proper implementation once the gateway registry contract is ready
109-
sender_aggregator_endpoints,
110-
..
111-
},
106+
tap: TapConfig {
107+
sender_aggregator_endpoints,
108+
..
109+
},
112110
..
113111
} = &*CONFIG;
114112
let pgpool = database::connect(database.clone()).await;

crates/tap-agent/src/tap/context/checks/allocation_id.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ impl Check<TapReceipt> for AllocationId {
7373
"Receipt does not have an allocation_id or collection_id"
7474
)));
7575
};
76-
// TODO: Remove the if block below? Each TAP Monitor is specific to an allocation
77-
// ID. So the receipts that are received here should already have been filtered by
78-
// allocation ID.
76+
7977
tracing::debug!(
8078
"Checking allocation_id: {:?} against expected_allocation_id: {}",
8179
allocation_id,

0 commit comments

Comments
 (0)