Skip to content

Commit

Permalink
freeze SubnetIdentity struct
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnReedV committed Aug 15, 2024
1 parent fa8da4c commit ba508aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pallets/subtensor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ extern crate alloc;
#[frame_support::pallet]
pub mod pallet {

use crate::migrations;
use crate::{freeze_struct, migrations};
use frame_support::{
dispatch::GetDispatchInfo,
pallet_prelude::{DispatchResult, StorageMap, ValueQuery, *},
Expand Down Expand Up @@ -155,6 +155,7 @@ pub mod pallet {
/// Struct for SubnetIdentities.
pub type SubnetIdentityOf = SubnetIdentity;
/// Data structure for Subnet Identities
#[freeze_struct("f448dc3dad763108")]
#[derive(Encode, Decode, Default, TypeInfo, Clone, PartialEq, Eq, Debug)]
pub struct SubnetIdentity {
/// The name of the subnet
Expand Down

0 comments on commit ba508aa

Please sign in to comment.