From 8c15035e936424f1fd274b216f8fa7fa2ded8b08 Mon Sep 17 00:00:00 2001 From: peg Date: Thu, 3 Oct 2024 16:58:24 +0200 Subject: [PATCH] Rm commented code in test --- pallets/staking/src/tests.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pallets/staking/src/tests.rs b/pallets/staking/src/tests.rs index d0a78c531..82290e1cb 100644 --- a/pallets/staking/src/tests.rs +++ b/pallets/staking/src/tests.rs @@ -610,15 +610,6 @@ fn it_requires_attestation_before_validate_is_succesful() { pallet_staking::RewardDestination::Account(alice), )); - // /// This is a randomly generated secret p256 ECDSA key - for mocking the provisioning certification - // /// key - // const PCK: [u8; 32] = [ - // 117, 153, 212, 7, 220, 16, 181, 32, 110, 138, 4, 68, 208, 37, 104, 54, 1, 110, 232, - // 207, 100, 168, 16, 99, 66, 83, 21, 178, 81, 155, 132, 37, - // ]; - // let pck = tdx_quote::SigningKey::from_bytes(&PCK.into()).unwrap(); - // let pck_encoded = tdx_quote::encode_verifying_key(pck.verifying_key()).unwrap(); - let joining_server_info = JoiningServerInfo { tss_account: bob, x25519_public_key: NULL_ARR,