sudo_set_owner_hparam_rate_limit

Call v320 → current #75

Sets how often subnet owners can change hyperparameters .

View calls on chain

Click items to navigate. Pan and zoom to explore.

Used by: subnet owners

The Big Picture

Prevents subnet owners from rapidly changing parameters, which could destabilize their subnet.

Use Cases

  • Preventing rapid parameter changes
  • Stability guarantees

From Chain Metadata

Sets the owner hyperparameter rate limit in epochs (global multiplier). Only callable by root.

Input Parameters

#NameTypeDescription
0
epochs
u16 epochs (u16)

Permissions

Origin
Root
Required Role

Permission data inferred from metadata. May be incomplete.

Requirements

  • Caller is root account

Effects

Storage Modified

Postconditions

  • OwnerHparamRateLimit updated

Side Effects

  • Limits owner hyperparameter change frequency

Code Examples

import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Build sudo_set_owner_hparam_rate_limit call (typed, named args)
const epochs = 0;

const tx = api.tx.AdminUtils.sudo_set_owner_hparam_rate_limit({
  epochs,
});

Runtime Info

View Source
Pallet Index
19
Call Index
75
First Version
v320
Current Version
v411