From 5b2f80bf18bc72f615e17ba4fbc0f53efa16d9fa Mon Sep 17 00:00:00 2001 From: Juan Girini Date: Mon, 16 Dec 2024 16:45:54 +0100 Subject: [PATCH] feat: use drand QuicknetVerifier --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- runtime/Cargo.toml | 2 +- runtime/src/configs/mod.rs | 2 +- runtime/src/lib.rs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0d39334..756eb9a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4353,7 +4353,7 @@ dependencies = [ [[package]] name = "ideal-nw-runtime" -version = "0.1.3" +version = "0.1.4" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -6955,7 +6955,7 @@ dependencies = [ [[package]] name = "pallet-drand" version = "0.0.1" -source = "git+https://github.com/ideal-lab5/idn-sdk#7ea5ef08cf138cb571304f21bb389fbdcd05bd41" +source = "git+https://github.com/ideal-lab5/idn-sdk#e1739dfef54f8126624afee1a6b988fa51e6cb89" dependencies = [ "anyhow", "ark-bls12-381", diff --git a/Cargo.toml b/Cargo.toml index 5973d4a..f992a84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ authors = ["Ideal Labs "] repository = "https://github.com/ideal-lab5/ideal-network" homepage = "https://idealabs.network" license = "Apache-2.0" -version = "0.1.3" +version = "0.1.4" [workspace.lints.rust] suspicious_double_ref_op = { level = "allow", priority = 2 } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 50951bb..9402e14 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ideal-nw-runtime" description = "Ideal Network Runtime" -version = "0.1.3" +version = "0.1.4" license.workspace = true authors.workspace = true homepage.workspace = true diff --git a/runtime/src/configs/mod.rs b/runtime/src/configs/mod.rs index c56e8f2..6566d70 100644 --- a/runtime/src/configs/mod.rs +++ b/runtime/src/configs/mod.rs @@ -309,7 +309,7 @@ impl pallet_drand::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = pallet_drand::weights::SubstrateWeight; type AuthorityId = pallet_drand::crypto::TestAuthId; - type Verifier = pallet_drand::verifier::UnsafeSkipVerifier; + type Verifier = pallet_drand::verifier::QuicknetVerifier; type UnsignedPriority = UnsignedPriority; type HttpFetchTimeout = HttpFetchTimeout; type ApiEndpoint = ApiEndpoint; diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 871f526..0d027e3 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -175,7 +175,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("ideal-nw-runtime"), impl_name: create_runtime_str!("ideal-nw-runtime"), authoring_version: 1, - spec_version: 3, + spec_version: 4, impl_version: 0, apis: apis::RUNTIME_API_VERSIONS, transaction_version: 1,