subtensor
subtensor copied to clipboard
Subnet Identities
Description
Adds subnet Identities
Done:
- Define subnet identity structs and storage items.
- Add extrinsic
set_subnet_identity
. - Add the subnet identity fields to
SubnetInfo
. - Remove the identity when the subnet is dissolved.
- Write unit tests
- Integrate identities into subnet registration process
Todo:
- Test Manually
Related Issue(s)
- Closes #708
Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update
- [ ] Other (please describe):
Breaking Change
- The extrinsic
user_add_network
now takes a second parameteridentity: Option<SubnetIdentityOf>
-
SubnetInfo
has a new parameteridentity: Option<SubnetIdentity>
.