Skip to content

Commit f8120db

Browse files
committed
fix(tap-agent): Use subgraph service address in last_rav query
1 parent be58818 commit f8120db

File tree

1 file changed

+2
-1
lines changed
  • crates/tap-agent/src/tap/context

1 file changed

+2
-1
lines changed

crates/tap-agent/src/tap/context/rav.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ impl RavRead<tap_graph::v2::ReceiptAggregateVoucher> for TapAgentContext<Horizon
173173
"#,
174174
CollectionId::from(self.allocation_id).encode_hex(),
175175
self.sender.encode_hex(),
176-
self.indexer_address.encode_hex(),
176+
// For Horizon (V2): data_service is the SubgraphService address, service_provider is the indexer
177+
self.subgraph_service_address.encode_hex(),
177178
self.indexer_address.encode_hex()
178179
)
179180
.fetch_optional(&self.pgpool)

0 commit comments

Comments
 (0)