prysm-pulse/time
Potuz 67dccc5e43
Break out several helpers from postBlockProcess (#13419)
* Break out several helpers from `postBlockProcess`

In addition fix a bug found by @terencechain where we should use a slot
context instead of the parent context in the second FCU call.

* Remove calls for tracked proposer

getPayloadAttribute already takes care of this
Also compute correctly the time into voting window

* call with attributes only when incoming block is canonical

* check for empty payload instead of only nil

* add unit tests

* move log for non-canonical block

* return early if the incoming block does not change head

* Pass fcuArgs as arguments

* lint
2024-01-06 02:29:07 +00:00
..
mclock Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
slots Break out several helpers from postBlockProcess (#13419) 2024-01-06 02:29:07 +00:00
BUILD.bazel Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
utils.go Update package name comments (#9653) 2021-09-22 22:38:06 +00:00