From 9a55a4c6d50b7b6ea6d5ef747b359a8e23c41e27 Mon Sep 17 00:00:00 2001 From: Evan Batsell Date: Wed, 1 May 2024 18:59:15 -0400 Subject: [PATCH] accidentally removed --- programs/validator-history/src/state.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/validator-history/src/state.rs b/programs/validator-history/src/state.rs index 8c05e218..f33aa517 100644 --- a/programs/validator-history/src/state.rs +++ b/programs/validator-history/src/state.rs @@ -656,6 +656,7 @@ impl ValidatorHistory { } } +#[derive(AnchorSerialize)] #[account(zero_copy)] pub struct ClusterHistory { pub struct_version: u64, @@ -666,6 +667,7 @@ pub struct ClusterHistory { pub history: CircBufCluster, } +#[derive(AnchorSerialize)] #[zero_copy] pub struct ClusterHistoryEntry { pub total_blocks: u32, @@ -687,6 +689,7 @@ impl Default for ClusterHistoryEntry { } } +#[derive(AnchorSerialize)] #[zero_copy] pub struct CircBufCluster { pub idx: u64,