prysm-pulse/time/slots
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
..
testing Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
BUILD.bazel revert revert of f6764fe62b (#12399) 2023-05-16 11:50:02 +00:00
countdown_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
countdown.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
slotticker_test.go revert revert of f6764fe62b (#12399) 2023-05-16 11:50:02 +00:00
slotticker.go refactor slot tickers with intervals (#12440) 2023-08-03 20:55:16 -03:00
slottime_test.go Break out several helpers from postBlockProcess (#13419) 2024-01-06 02:29:07 +00:00
slottime.go Break out several helpers from postBlockProcess (#13419) 2024-01-06 02:29:07 +00:00
slotutil_test.go Replace ioutil with io and os (#10541) 2022-04-18 20:42:07 +00:00