Skip to content

Commit fe87ba2

Browse files
committed
test: fix integration test rav rpc
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent 4ebf258 commit fe87ba2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tap_integration_tests/tests/indexer_mock.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pub async fn run_server<E>(
135135
domain_separator: Eip712Domain, // EIP712 domain separator
136136
context: E, // context instance
137137
required_checks: CheckList, // Vector of required checks to be performed on each request
138-
threshold: u64, // The count at which a RAV request will be triggered
138+
threshold: u64, // The count at which a RAV request will be triggered
139139
aggregate_server_address: String, // Address of the aggregator server
140140
aggregate_server_api_version: String, // API version of the aggregator server
141141
) -> Result<(ServerHandle, std::net::SocketAddr)>
@@ -187,7 +187,11 @@ where
187187
// To-do: Need to add previous RAV, when tap_manager supports replacing receipts
188188
let params = rpc_params!(
189189
&aggregator_client.1,
190-
&rav_request.valid_receipts,
190+
&rav_request
191+
.valid_receipts
192+
.iter()
193+
.map(|receipt| receipt.signed_receipt())
194+
.collect::<Vec<_>>(),
191195
rav_request.previous_rav
192196
);
193197

0 commit comments

Comments
 (0)