From 964c1fa46160e2e95d01a6ca9c9902f9607592a5 Mon Sep 17 00:00:00 2001 From: Hernando Castano Date: Fri, 18 Oct 2024 14:14:13 -0400 Subject: [PATCH] Use published version of `tdx-quote` --- Cargo.lock | 18 ++++-------------- pallets/staking/Cargo.toml | 6 ++---- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2f14bf7d3..32f874e4c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2748,7 +2748,7 @@ dependencies = [ "sp-keyring 34.0.0", "subxt", "synedrion", - "tdx-quote 0.0.1", + "tdx-quote", "tokio", "tracing", "tracing-subscriber 0.3.18", @@ -2807,7 +2807,7 @@ dependencies = [ "subxt", "subxt-signer", "synedrion", - "tdx-quote 0.0.1", + "tdx-quote", "thiserror", "tokio", "tokio-tungstenite", @@ -6706,7 +6706,7 @@ dependencies = [ "sp-runtime 32.0.0", "sp-staking 27.0.0", "sp-std 14.0.0", - "tdx-quote 0.0.1", + "tdx-quote", ] [[package]] @@ -7429,7 +7429,7 @@ dependencies = [ "sp-runtime 32.0.0", "sp-staking 27.0.0", "sp-std 14.0.0", - "tdx-quote 0.1.0", + "tdx-quote", ] [[package]] @@ -14149,16 +14149,6 @@ dependencies = [ "sha2 0.10.8", ] -[[package]] -name = "tdx-quote" -version = "0.1.0" -source = "git+https://github.com/entropyxyz/tdx-quote?rev=cb167f2#cb167f2aef1c7539c91082ee21c764eac60f6bef" -dependencies = [ - "nom", - "p256", - "sha2 0.10.8", -] - [[package]] name = "tempfile" version = "3.13.0" diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 53ac16ef6..6a4967cc8 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -36,9 +36,7 @@ entropy-shared={ version="0.3.0-rc.1", path="../../crates/shared", features=[ # We only use this in benchmarks and tests. Since the benches don't run with the `test` feature we need to # import it here _and_ as a `dev-dependency`. -tdx-quote={ git="https://github.com/entropyxyz/tdx-quote", rev="cb167f2", features=[ - "mock", -], optional=true } +tdx-quote={ version="0.0.1", features=["mock"], optional=true } [dev-dependencies] frame-election-provider-support={ version="29.0.0", default-features=false } @@ -50,7 +48,7 @@ sp-io ={ version="31.0.0", default-features=false } sp-npos-elections ={ version="27.0.0", default-features=false } rand_core="0.6.4" -tdx-quote={ git="https://github.com/entropyxyz/tdx-quote", rev="cb167f2", features=["mock"] } +tdx-quote={ version="0.0.1", features=["mock"] } [features] default=['std']