From 9965318540aedd6f10bd57976526016472666f3d Mon Sep 17 00:00:00 2001 From: Shamil Gadelshin Date: Thu, 30 Oct 2025 14:04:36 +0300 Subject: [PATCH 1/2] =?UTF-8?q?Put=20faucet=20extrinsic=20behind=20?= =?UTF-8?q?=E2=80=98pow-faucet=E2=80=99=20feature.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pallets/subtensor/src/macros/dispatches.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/subtensor/src/macros/dispatches.rs b/pallets/subtensor/src/macros/dispatches.rs index af497958a..1216e390c 100644 --- a/pallets/subtensor/src/macros/dispatches.rs +++ b/pallets/subtensor/src/macros/dispatches.rs @@ -1243,6 +1243,7 @@ mod dispatches { #[pallet::weight((Weight::from_parts(91_000_000, 0) .saturating_add(T::DbWeight::get().reads(27)) .saturating_add(T::DbWeight::get().writes(22)), DispatchClass::Normal, Pays::No))] + #[cfg(feature = "pow-faucet")] pub fn faucet( origin: OriginFor, block_number: u64, From 51b88852729abfac8f3ef28c08e7f08ca9945b43 Mon Sep 17 00:00:00 2001 From: Shamil Gadelshin Date: Thu, 30 Oct 2025 17:28:56 +0300 Subject: [PATCH 2/2] Spec version 333 -> 334 --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a4ee4a3b9..d8277164e 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 333, + spec_version: 334, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,