Skip to content

Commit

Permalink
Merge pull request #3221 from benjaminion/fc-on-attester-slashing
Browse files Browse the repository at this point in the history
Add on_attester_slashing() to handlers list
  • Loading branch information
hwwhww committed Jan 27, 2023
2 parents fb83858 + 8a0de1c commit 127edf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions specs/phase0/fork-choice.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The head block root associated with a `store` is defined as `get_head(store)`. A
- `on_tick(store, time)` whenever `time > store.time` where `time` is the current Unix time
- `on_block(store, block)` whenever a block `block: SignedBeaconBlock` is received
- `on_attestation(store, attestation)` whenever an attestation `attestation` is received
- `on_attester_slashing(store, attester_slashing)` whenever an attester slashing `attester_slashing` is received

Any of the above handlers that trigger an unhandled exception (e.g. a failed assert or an out-of-range list access) are considered invalid. Invalid calls to handlers must not modify `store`.

Expand Down

0 comments on commit 127edf3

Please sign in to comment.