Skip to content

Commit 6337236

Browse files
committed
test(integration-tests): use graphtally collector in test rav gen
1 parent 9528ef2 commit 6337236

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

integration-tests/src/rav_tests.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ use thegraph_core::alloy::{primitives::Address, signers::local::PrivateKeySigner
1010

1111
use crate::{
1212
constants::{
13-
ACCOUNT0_SECRET, CHAIN_ID, GATEWAY_API_KEY, GATEWAY_URL, GRAPH_URL, INDEXER_URL,
14-
MAX_RECEIPT_VALUE, SUBGRAPH_ID, TAP_AGENT_METRICS_URL, TAP_VERIFIER_CONTRACT,
13+
ACCOUNT0_SECRET, CHAIN_ID, GATEWAY_API_KEY, GATEWAY_URL, GRAPH_TALLY_COLLECTOR_CONTRACT,
14+
GRAPH_URL, INDEXER_URL, MAX_RECEIPT_VALUE, SUBGRAPH_ID, TAP_AGENT_METRICS_URL,
15+
TAP_VERIFIER_CONTRACT,
1516
},
1617
utils::{
1718
create_request, create_tap_receipt, create_tap_receipt_v2, encode_v2_receipt,
@@ -264,7 +265,7 @@ pub async fn test_tap_rav_v2() -> Result<()> {
264265
let receipt = create_tap_receipt_v2(
265266
MAX_RECEIPT_VALUE,
266267
&allocation_id,
267-
TAP_VERIFIER_CONTRACT,
268+
GRAPH_TALLY_COLLECTOR_CONTRACT,
268269
CHAIN_ID,
269270
&wallet,
270271
&payer,
@@ -336,7 +337,7 @@ pub async fn test_tap_rav_v2() -> Result<()> {
336337
let receipt = create_tap_receipt_v2(
337338
MAX_RECEIPT_VALUE / 10, // Smaller value for trigger receipts
338339
&allocation_id,
339-
TAP_VERIFIER_CONTRACT,
340+
GRAPH_TALLY_COLLECTOR_CONTRACT,
340341
CHAIN_ID,
341342
&wallet,
342343
&payer,

0 commit comments

Comments
 (0)