Skip to content

Commit fe6bc61

Browse files
authored
fix: remove serde for VariableList/FixedVector from BeaconState (ReamLabs#149)
1 parent 906373b commit fe6bc61

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

crates/common/consensus/src/deneb/beacon_state.rs

-3
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,12 @@ pub struct BeaconState {
102102

103103
// Registry
104104
pub validators: VariableList<Validator, U1099511627776>,
105-
#[serde(deserialize_with = "ssz_types::serde_utils::quoted_u64_var_list::deserialize")]
106105
pub balances: VariableList<u64, U1099511627776>,
107106

108107
// Randomness
109108
pub randao_mixes: FixedVector<B256, U65536>,
110109

111110
// Slashings
112-
#[serde(deserialize_with = "ssz_types::serde_utils::quoted_u64_fixed_vec::deserialize")]
113111
pub slashings: FixedVector<u64, U8192>,
114112

115113
// Participation
@@ -123,7 +121,6 @@ pub struct BeaconState {
123121
pub finalized_checkpoint: Checkpoint,
124122

125123
// Inactivity
126-
#[serde(deserialize_with = "ssz_types::serde_utils::quoted_u64_var_list::deserialize")]
127124
pub inactivity_scores: VariableList<u64, U1099511627776>,
128125

129126
// Sync

0 commit comments

Comments
 (0)