Skip to content
Open
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
5 changes: 0 additions & 5 deletions sdk/python/bittensor/_generated/calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,6 @@ def enable_voting_power_tracking(netuid: 'NetUid') -> Call:
'Enables voting power tracking for a subnet. This function can be called by the subnet owner or root. When enabled, voting power EMA is updated every epoch for all validators. Voting power starts at 0 and increases over epochs. # Arguments * `origin`: The origin of the call, must be subnet owner or root. * `netuid`: The subnet to enable voting power tracking for. # Errors * `SubnetNotExist`: If the subnet does not exist. * `NotSubnetOwner`: If the caller is not the subnet owner or root.'
return Call('SubtensorModule', 'enable_voting_power_tracking', {'netuid': netuid})

@staticmethod
def faucet(block_number: 'u64', nonce: 'u64', work: 'Any') -> Call:
'Facility extrinsic for user to get taken from faucet It is only available when pow-faucet feature enabled Just deployed in testnet and devnet for testing purpose'
return Call('SubtensorModule', 'faucet', {'block_number': block_number, 'nonce': nonce, 'work': work})

@staticmethod
def increase_take(hotkey: 'AccountId32', take: 'PerU16') -> Call:
"Allows delegates to increase its take value. This call is rate-limited. # Arguments * `origin`: The signature of the caller's coldkey. * `hotkey`: The hotkey we are delegating (must be owned by the coldkey). * `take`: The new stake proportion that this hotkey takes from delegations. The new value can be between 0 and 11_796 parts and should be strictly greater than the previous value. T is the new value (rational number), the the parameter is calculated as [65535 * T]. For example, 1% would be [0.01 * 65535] = [655.35] = 655 # Events * `TakeIncreased`: On successfully setting a increased take for this hotkey. # Errors * `NotRegistered`: The hotkey we are delegating is not registered on the network. * `NonAssociatedColdKey`: The hotkey we are delegating is not owned by the calling coldkey. * `DelegateTakeTooHigh`: The delegate is setting a take which is not greater than the previous."
Expand Down
5 changes: 2 additions & 3 deletions sdk/python/codegen/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ def check_drift(endpoint: str) -> int:
"batch_set_weights",
"batch_commit_weights",
"batch_reveal_weights",
# PoW registration — out of scope by design (faucet is testnet-only;
# present on fast-runtime / localnet metadata, absent from finney)
# PoW registration — out of scope by design. The faucet is testnet-only
# and absent from this production metadata catalog.
"register",
"faucet",
# Direct basket deposit — agent surface still uses claim_root / stake
# intents; reachable via raw compose until a dedicated intent lands
"stake_into_basket",
Expand Down
Loading