diff --git a/Cargo.lock b/Cargo.lock index e61c876fb..c69c2de9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14414,7 +14414,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tdx-quote" version = "0.0.1" -source = "git+https://github.com/entropyxyz/tdx-quote.git?branch=peg%2Fcert-chain-parse#ae3b869572fc4ff68218570e699a4acc227f833b" +source = "git+https://github.com/entropyxyz/tdx-quote.git?branch=peg%2Fcert-chain-parse#14d3de69028ef33d2cf201a8767fe2d03228109b" dependencies = [ "nom", "p256", diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index 8c21bc3a8..ba0e52092 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -614,15 +614,6 @@ pub mod pallet { ) -> DispatchResult { let who = ensure_signed(origin.clone())?; - // let provisioning_certification_key = - // T::PckCertChainVerifier::verify_pck_certificate_chain( - // joining_server_info.pck_certificate_chain, - // ) - // .map_err(|error| { - // let e: Error = error.into(); - // e - // })?; - ensure!( joining_server_info.endpoint.len() as u32 <= T::MaxEndpointLength::get(), Error::::EndpointTooLong