Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cl/beacon/beaconevents/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type EventTopic string
// Operation event topics
const (
OpAttestation EventTopic = "attestation"
OpSingleAttestation EventTopic = "single_attestation"
OpVoluntaryExit EventTopic = "voluntary_exit"
OpProposerSlashing EventTopic = "proposer_slashing"
OpAttesterSlashing EventTopic = "attester_slashing"
Expand Down
2 changes: 1 addition & 1 deletion cl/beacon/beaconevents/operation_feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (f *operationFeed) SendAttestation(value *AttestationData) int {

func (f *operationFeed) SendSingleAttestation(value *SingleAttestationData) int {
return f.feed.Send(&EventStream{
Event: OpAttestation,
Event: OpSingleAttestation,
Data: value,
})
}
Expand Down
1 change: 1 addition & 0 deletions cl/beacon/handler/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
var validTopics = map[event.EventTopic]struct{}{
// operation events
event.OpAttestation: {},
event.OpSingleAttestation: {},
event.OpAttesterSlashing: {},
event.OpBlobSidecar: {},
event.OpDataColumnSidecar: {},
Expand Down
Loading