File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1093,6 +1093,7 @@ impl<E: EthSpec> BeaconState<E> {
10931093 // Proposer indices are only known for the current epoch, due to the dependence on the
10941094 // effective balances of validators, which change at every epoch transition.
10951095 let epoch = slot. epoch ( E :: slots_per_epoch ( ) ) ;
1096+ // TODO(EIP-7917): Explore allowing this function to be called with a slot one epoch in the future.
10961097 if epoch != self . current_epoch ( ) {
10971098 return Err ( Error :: SlotOutOfBounds ) ;
10981099 }
@@ -1116,7 +1117,7 @@ impl<E: EthSpec> BeaconState<E> {
11161117 }
11171118 }
11181119
1119- /// Returns the beacon proposer index for each `slot` in `self.current_epoch() `.
1120+ /// Returns the beacon proposer index for each `slot` in `epoch `.
11201121 ///
11211122 /// The returned `Vec` contains one proposer index for each slot in the epoch.
11221123 pub fn get_beacon_proposer_indices (
You can’t perform that action at this time.
0 commit comments