mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-12 04:30:04 +00:00
Fix slasher ReadOnlyDatabase.BlockHeaders parameter names (#7652)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
parent
8c2fff3a75
commit
e57770bd0a
@ -22,8 +22,8 @@ type ReadOnlyDatabase interface {
|
||||
GetLatestEpochDetected(ctx context.Context) (uint64, error)
|
||||
|
||||
// BlockHeader related methods.
|
||||
BlockHeaders(ctx context.Context, epoch uint64, validatorID uint64) ([]*ethpb.SignedBeaconBlockHeader, error)
|
||||
HasBlockHeader(ctx context.Context, epoch uint64, validatorID uint64) bool
|
||||
BlockHeaders(ctx context.Context, slot uint64, validatorID uint64) ([]*ethpb.SignedBeaconBlockHeader, error)
|
||||
HasBlockHeader(ctx context.Context, slot uint64, validatorID uint64) bool
|
||||
|
||||
// IndexedAttestations related methods.
|
||||
HasIndexedAttestation(ctx context.Context, att *ethpb.IndexedAttestation) (bool, error)
|
||||
|
Loading…
Reference in New Issue
Block a user