Skip to content

Commit bf92ee4

Browse files
authored
Merge pull request #2134 from opentensor/fix-typo-nonfungibile
Fix typo nonfungibile
2 parents 0b7ff00 + 8c7d14b commit bf92ee4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

common/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ pub enum ProxyType {
147147
NonCritical,
148148
NonTransfer,
149149
Senate,
150-
NonFungibile, // Nothing involving moving TAO
150+
NonFungible, // Nothing involving moving TAO
151151
Triumvirate,
152152
Governance, // Both above governance
153153
Staking,

runtime/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
220220
// `spec_version`, and `authoring_version` are the same between Wasm and native.
221221
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
222222
// the compatible custom types.
223-
spec_version: 329,
223+
spec_version: 330,
224224
impl_version: 1,
225225
apis: RUNTIME_API_VERSIONS,
226226
transaction_version: 1,
@@ -542,7 +542,7 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
542542
)
543543
| RuntimeCall::SubtensorModule(pallet_subtensor::Call::swap_coldkey { .. })
544544
),
545-
ProxyType::NonFungibile => !matches!(
545+
ProxyType::NonFungible => !matches!(
546546
c,
547547
RuntimeCall::Balances(..)
548548
| RuntimeCall::SubtensorModule(pallet_subtensor::Call::add_stake { .. })

runtime/tests/pallet_proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ fn test_proxy_pallet() {
168168
ProxyType::Owner,
169169
ProxyType::NonCritical,
170170
ProxyType::NonTransfer,
171-
ProxyType::NonFungibile,
171+
ProxyType::NonFungible,
172172
ProxyType::Staking,
173173
ProxyType::Registration,
174174
];

0 commit comments

Comments
 (0)