mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 04:54:05 -05:00
* 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