Skip to content

Commit

Permalink
add missing freeze_struct to PrometheusInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed Aug 8, 2024
1 parent a76484c commit f704724
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pallets/subtensor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ pub mod pallet {

/// Struct for Prometheus.
pub type PrometheusInfoOf = PrometheusInfo;

/// Data structure for Prometheus information.
#[crate::freeze_struct("5dde687e63baf0cd")]
#[derive(Encode, Decode, Default, TypeInfo, Clone, PartialEq, Eq, Debug)]
pub struct PrometheusInfo {
/// Prometheus serving block.
Expand All @@ -135,7 +137,9 @@ pub mod pallet {

/// Struct for Prometheus.
pub type ChainIdentityOf = ChainIdentity;

/// Data structure for Prometheus information.
#[crate::freeze_struct("bbfd00438dbe2b58")]
#[derive(Encode, Decode, Default, TypeInfo, Clone, PartialEq, Eq, Debug)]
pub struct ChainIdentity {
/// The name of the chain identity
Expand Down

0 comments on commit f704724

Please sign in to comment.