Parameter | Current value |
---|---|
TxRateLimit |
1 block |
TxDelegateTakeRateLimit |
216,000 blocks |
TxChildkeyTakeRateLimit |
216,000 blocks |
NetworkRateLimit |
28,800 blocks |
This document describes the custom error variants used in the subtensor signed extension. The errors are presented to the user in the following format:
{'code': 1010, 'message': 'Invalid Transaction', 'data': 'Custom error: [Error Code]'}
.
Description: The account (who
) attempting the commit_weights
call does not meet the minimum stake requirement for weights.
- Error from Subtensor:
{'code': 1010, 'message': 'Invalid Transaction', 'data': 'Custom error: 1'}
The child-key feature in Subtensor is being introduced with several key objectives:
- Decentralization of Stake Weight: Validators are able to allocate state weights to several other validators (child keys) within a subnet
- Enabling STAO / DTAO: As we scale the number of subnets in STAO / DTAO, it becomes infeasible for any validator to validate all the subnets . Allocating stake proportions to childkeys helps solve this.
- Enhanced Security: In case 1 childkey is compromised , it only affects the stakeweight associated with that subnet, and is easily revoked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
/** | |
* @title Storage | |
* @dev Store & retrieve value in a variable | |
*/ | |
contract Storage { |