Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion evm-tests/src/subtensor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export async function addNewSubnetwork(api: TypedApi<typeof devnet>, hotkey: Key
// force set balance for a ss58 address
export async function forceSetBalanceToSs58Address(api: TypedApi<typeof devnet>, 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 })

Expand Down
4 changes: 2 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down
Loading