public void ProcessEth1Data(BeaconState state, BeaconBlockBody body) { _logger.LogInformation(Event.ProcessEth1Data, "Process block ETH1 data for block body {BeaconBlockBody}", body); state.AddEth1DataVote(body.Eth1Data); var eth1DataVoteCount = state.Eth1DataVotes.Count(x => x.Equals(body.Eth1Data)); if (eth1DataVoteCount * 2 > (int)(ulong)_timeParameterOptions.CurrentValue.SlotsPerEth1VotingPeriod) { state.SetEth1Data(body.Eth1Data); } }