From ed8a4c29bbed5012509cc898c6e6621059bc149f Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Wed, 29 Jan 2020 14:03:31 +0100 Subject: [PATCH] Fix weights (#807) --- polkadot/runtime/common/src/claims.rs | 2 +- polkadot/runtime/kusama/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/polkadot/runtime/common/src/claims.rs b/polkadot/runtime/common/src/claims.rs index 45f31fe934..5efdf6abaf 100644 --- a/polkadot/runtime/common/src/claims.rs +++ b/polkadot/runtime/common/src/claims.rs @@ -178,7 +178,7 @@ decl_module! { } /// Add a new claim, if you are root. - #[weight = SimpleDispatchInfo::FreeOperational] + #[weight = SimpleDispatchInfo::FixedNormal(30_000)] fn mint_claim(origin, who: EthereumAddress, value: BalanceOf, diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 4a0b76fda3..b604c479d0 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -77,7 +77,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 1043, + spec_version: 1044, impl_version: 0, apis: RUNTIME_API_VERSIONS, };