@@ -50,8 +50,8 @@ class BeaconState(rlp.Serializable):
50
50
('validator_registry_delta_chain_tip' , hash32 ), # For light clients to easily track delta
51
51
52
52
# Randomness and committees
53
- ('randao_mix ' , hash32 ),
54
- ('next_seed ' , hash32 ),
53
+ ('latest_randao_mixes ' , CountableList ( hash32 ) ),
54
+ ('latest_vdf_outputs ' , CountableList ( hash32 ) ),
55
55
('shard_committees_at_slots' , CountableList (CountableList ((ShardCommittee )))),
56
56
('persistent_committees' , CountableList (CountableList (uint24 ))),
57
57
('persistent_committee_reassignments' , CountableList (ShardReassignmentRecord )),
@@ -82,15 +82,15 @@ def __init__(
82
82
validator_registry_latest_change_slot : int ,
83
83
validator_registry_exit_count : int ,
84
84
validator_registry_delta_chain_tip : Hash32 ,
85
- randao_mix : Hash32 ,
86
- next_seed : Hash32 ,
87
85
previous_justified_slot : int ,
88
86
justified_slot : int ,
89
87
justification_bitfield : int ,
90
88
finalized_slot : int ,
91
89
processed_pow_receipt_root : Hash32 ,
92
90
validator_registry : Sequence [ValidatorRecord ]= (),
93
91
validator_balances : Sequence [int ]= (),
92
+ latest_randao_mixes : Sequence [Hash32 ]= (),
93
+ latest_vdf_outputs : Sequence [Hash32 ]= (),
94
94
shard_committees_at_slots : Sequence [Sequence [ShardCommittee ]]= (),
95
95
persistent_committees : Sequence [Sequence [int ]]= (),
96
96
persistent_committee_reassignments : Sequence [ShardReassignmentRecord ]= (),
@@ -113,8 +113,8 @@ def __init__(
113
113
validator_registry_exit_count = validator_registry_exit_count ,
114
114
validator_registry_delta_chain_tip = validator_registry_delta_chain_tip ,
115
115
# Randomness and committees
116
- randao_mix = randao_mix ,
117
- next_seed = next_seed ,
116
+ latest_randao_mixes = latest_randao_mixes ,
117
+ latest_vdf_outputs = latest_vdf_outputs ,
118
118
shard_committees_at_slots = shard_committees_at_slots ,
119
119
persistent_committees = persistent_committees ,
120
120
persistent_committee_reassignments = persistent_committee_reassignments ,
0 commit comments