Skip to content

Commit

Permalink
accidentally removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ebatsell committed May 1, 2024
1 parent 1df8ee1 commit 9a55a4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions programs/validator-history/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ impl ValidatorHistory {
}
}

#[derive(AnchorSerialize)]
#[account(zero_copy)]

Check failure on line 660 in programs/validator-history/src/state.rs

View workflow job for this annotation

GitHub Actions / udeps

conflicting implementations of trait `anchor_lang::IdlBuild` for type `state::ClusterHistory`
pub struct ClusterHistory {
pub struct_version: u64,
Expand All @@ -666,6 +667,7 @@ pub struct ClusterHistory {
pub history: CircBufCluster,
}

#[derive(AnchorSerialize)]
#[zero_copy]

Check failure on line 671 in programs/validator-history/src/state.rs

View workflow job for this annotation

GitHub Actions / udeps

conflicting implementations of trait `anchor_lang::IdlBuild` for type `state::ClusterHistoryEntry`
pub struct ClusterHistoryEntry {
pub total_blocks: u32,
Expand All @@ -687,6 +689,7 @@ impl Default for ClusterHistoryEntry {
}
}

#[derive(AnchorSerialize)]
#[zero_copy]

Check failure on line 693 in programs/validator-history/src/state.rs

View workflow job for this annotation

GitHub Actions / udeps

conflicting implementations of trait `anchor_lang::IdlBuild` for type `CircBufCluster`

Check failure on line 693 in programs/validator-history/src/state.rs

View workflow job for this annotation

GitHub Actions / udeps

conflicting implementations of trait `anchor_lang::IdlBuild` for type `state::CircBufCluster`
pub struct CircBufCluster {
pub idx: u64,
Expand Down

0 comments on commit 9a55a4c

Please sign in to comment.