diff --git a/evm-tests/src/subtensor.ts b/evm-tests/src/subtensor.ts index a2e5d49083..b1ff818038 100644 --- a/evm-tests/src/subtensor.ts +++ b/evm-tests/src/subtensor.ts @@ -32,7 +32,7 @@ export async function addNewSubnetwork(api: TypedApi, hotkey: Key // force set balance for a ss58 address export async function forceSetBalanceToSs58Address(api: TypedApi, ss58Address: string) { const alice = getAliceSigner() - const balance = tao(1e8) + const balance = tao(1e10) const internalCall = api.tx.Balances.force_set_balance({ who: MultiAddress.Id(ss58Address), new_free: balance }) const tx = api.tx.Sudo.sudo({ call: internalCall.decodedCall }) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 120987a00a..d7097b605c 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: 303, + spec_version: 304, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -1144,7 +1144,7 @@ parameter_types! { pub const SubtensorInitialSenateRequiredStakePercentage: u64 = 1; // 1 percent of total stake pub const SubtensorInitialNetworkImmunity: u64 = 7 * 7200; pub const SubtensorInitialMinAllowedUids: u16 = 128; - pub const SubtensorInitialMinLockCost: u64 = 1_000_000_000_000; // 1000 TAO + pub const SubtensorInitialMinLockCost: u64 = prod_or_fast!(1_000_000_000_000, 100_000_000_000); // 1000 TAO for prod, 100 TAO for fast pub const SubtensorInitialSubnetOwnerCut: u16 = 11_796; // 18 percent // pub const SubtensorInitialSubnetLimit: u16 = 12; // (DEPRECATED) pub const SubtensorInitialNetworkLockReductionInterval: u64 = 14 * 7200;