From 71b106f8864b7918ab2c425987717c0f466123d8 Mon Sep 17 00:00:00 2001 From: open-junius Date: Thu, 16 Oct 2025 11:24:51 +0800 Subject: [PATCH 1/2] fix type nonfungibile --- common/src/lib.rs | 2 +- runtime/src/lib.rs | 2 +- runtime/tests/pallet_proxy.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/lib.rs b/common/src/lib.rs index 590eb7fee3..392e8f8080 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -147,7 +147,7 @@ pub enum ProxyType { NonCritical, NonTransfer, Senate, - NonFungibile, // Nothing involving moving TAO + NonFungible, // Nothing involving moving TAO Triumvirate, Governance, // Both above governance Staking, diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 5654def01c..d71bc6a9b4 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -688,7 +688,7 @@ impl InstanceFilter for ProxyType { ) | RuntimeCall::SubtensorModule(pallet_subtensor::Call::swap_coldkey { .. }) ), - ProxyType::NonFungibile => !matches!( + ProxyType::NonFungible => !matches!( c, RuntimeCall::Balances(..) | RuntimeCall::SubtensorModule(pallet_subtensor::Call::add_stake { .. }) diff --git a/runtime/tests/pallet_proxy.rs b/runtime/tests/pallet_proxy.rs index e2a9fea415..ee2b552b4c 100644 --- a/runtime/tests/pallet_proxy.rs +++ b/runtime/tests/pallet_proxy.rs @@ -206,7 +206,7 @@ fn test_proxy_pallet() { ProxyType::NonCritical, ProxyType::NonTransfer, ProxyType::Senate, - ProxyType::NonFungibile, + ProxyType::NonFungible, ProxyType::Triumvirate, ProxyType::Governance, ProxyType::Staking, From c26d9889ed9c07bacf93067f7671c4cea8531713 Mon Sep 17 00:00:00 2001 From: open-junius Date: Thu, 16 Oct 2025 11:25:14 +0800 Subject: [PATCH 2/2] bump version --- 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 d71bc6a9b4..ba379ee9b7 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -223,7 +223,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: 329, + spec_version: 330, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,