Skip to content

Commit

Permalink
Explain more on on_reused_index
Browse files Browse the repository at this point in the history
  • Loading branch information
ppopth committed Jul 18, 2023
1 parent 3ed0619 commit d8b023c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/_features/eip6914/fork-choice.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This is the modification of the fork choice according to EIP-6914.

A new handler is added with this upgrade:

- `on_reused_index(store, index)` whenever a validator index `index: ValidatorIndex` is reused
- `on_reused_index(store, index)` whenever a validator index `index: ValidatorIndex` is reused. That is, [`get_index_for_new_validator()`](./beacon-chain.md#get_index_for_new_validator) provides an index due to a return value of `True` from [`is_reusable_validator()`](./beacon-chain.md#is_reusable_validator).

This new handler is used to update the list of equivocating indices to be synchronized with the canonical chain.

Expand Down

0 comments on commit d8b023c

Please sign in to comment.