File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
crates/tap-agent/src/tap/context Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ fn rangebounds_to_pgrange<R: RangeBounds<u64>>(range: R) -> PgRange<BigDecimal>
7070}
7171
7272#[ async_trait:: async_trait]
73- impl < T : Send + Sync > ReceiptRead < TapReceipt > for TapAgentContext < T > {
73+ impl ReceiptRead < TapReceipt > for TapAgentContext < Legacy > {
7474 type AdapterError = AdapterError ;
7575
7676 async fn retrieve_receipts_in_timestamp_range < R : RangeBounds < u64 > + Send > (
@@ -187,6 +187,19 @@ impl ReceiptDelete for TapAgentContext<Legacy> {
187187 }
188188}
189189
190+ #[ async_trait:: async_trait]
191+ impl ReceiptRead < TapReceipt > for TapAgentContext < Horizon > {
192+ type AdapterError = AdapterError ;
193+
194+ async fn retrieve_receipts_in_timestamp_range < R : RangeBounds < u64 > + Send > (
195+ & self ,
196+ _timestamp_range_ns : R ,
197+ _receipts_limit : Option < u64 > ,
198+ ) -> Result < Vec < CheckingReceipt > , Self :: AdapterError > {
199+ unimplemented ! ( )
200+ }
201+ }
202+
190203#[ async_trait:: async_trait]
191204impl ReceiptDelete for TapAgentContext < Horizon > {
192205 type AdapterError = AdapterError ;
You can’t perform that action at this time.
0 commit comments