mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
* Add equivocation detection logic; broadcast slashing immediately on equivocation * nit: comments * move equivocation detection to validateBeaconBlockPubSub * include broadcasting logic within the helper function * fix lint * Add unit tests for equivocation detection * remove comment that are not required * Add changelog file * Add descriptive comment for detectAndBroadcastEquivocation * use head block instead of block cache for equivocation detection * add more equivocation unit tests; update a mock to include HeadState error * update the order of the checks * move slashing before state fetch; update Tests * update changelog * use verifyProposerSlashing to verify and reject block; remove verifySlashableBlock; update tests * Update changelog * nit: cleaner error check * nit: clean up * revert code logic; update string check; add a unit test * improve errors; merge tests * Update a unit test * fix lint --------- Co-authored-by: Radosław Kapka <rkapka@wp.pl>
7 lines
151 B
Go
7 lines
151 B
Go
package params
|
|
|
|
// Re-exports for blackbox testing.
|
|
const MainnetDenebForkEpoch = mainnetDenebForkEpoch
|
|
|
|
var MainnetBeaconConfig = mainnetBeaconConfig
|