beacon-chain-java
beacon-chain-java copied to clipboard
ObservableStateProcessorImpl.drainAttestations should respect attestation block root
Currently ObservableStateProcessorImpl.drainAttestations drains all received attestations just by the state epoch. But those attestations can be from the other fork and calculation of validator indices may not make any sense.