@@ -80,7 +80,7 @@ mod tests {
8080 info ! ( "this test is running in HW mode" ) ;
8181 }
8282
83- let ( qe_target_info, _) = remote_attestation:: init_quote ( QEType :: QE ) ?;
83+ let ( qe_target_info, _) = remote_attestation:: get_target_qe_info ( QEType :: QE ) ?;
8484 let operator = Address :: from_hex_string ( "0x396e1ccc2f11cd6d2114c2449dad7751357e413e" ) ?;
8585 let op_ek_addr = match enclave. generate_enclave_key (
8686 GenerateEnclaveKeyInput {
@@ -192,7 +192,7 @@ mod tests {
192192 use remote_attestation:: zkvm:: prover:: Risc0ProverMode ;
193193 use zkdcap_risc0:: DCAP_QUOTE_VERIFIER_ELF ;
194194
195- let target_info = remote_attestation:: init_quote ( QEType :: QE3SIM ) ?. 0 ;
195+ let target_info = remote_attestation:: get_target_qe_info ( QEType :: QE3SIM ) ?. 0 ;
196196 let zkdcap_ek_addr = match enclave. generate_enclave_key (
197197 GenerateEnclaveKeyInput {
198198 operator : Some ( operator) ,
@@ -230,7 +230,7 @@ mod tests {
230230 use remote_attestation:: zkvm:: prover:: Risc0ProverMode ;
231231 use zkdcap_risc0:: DCAP_QUOTE_VERIFIER_ELF ;
232232
233- let target_info = remote_attestation:: init_quote ( QEType :: QE3 ) ?. 0 ;
233+ let target_info = remote_attestation:: get_target_qe_info ( QEType :: QE3 ) ?. 0 ;
234234 let zkdcap_ek_addr = match enclave. generate_enclave_key (
235235 GenerateEnclaveKeyInput {
236236 operator : Some ( operator) ,
@@ -296,7 +296,7 @@ mod tests {
296296 enclave : & Enclave < store:: memory:: MemStore > ,
297297 ) -> Result < ( ) , anyhow:: Error > {
298298 let operator = Address :: from_hex_string ( "0x396e1ccc2f11cd6d2114c2449dad7751357e413e" ) ?;
299- let ( target_info, _) = remote_attestation:: init_quote ( QEType :: QE ) ?;
299+ let ( target_info, _) = remote_attestation:: get_target_qe_info ( QEType :: QE ) ?;
300300 let signer = match enclave. generate_enclave_key (
301301 GenerateEnclaveKeyInput {
302302 operator : Some ( operator) ,
0 commit comments