subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

Subnet Identities

Open JohnReedV opened this issue 6 months ago • 0 comments

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 parameter identity: Option<SubnetIdentityOf>
  • SubnetInfo has a new parameter identity: Option<SubnetIdentity>.

JohnReedV avatar Aug 14 '24 21:08 JohnReedV