Skip to content

Commit

Permalink
feat: Refactor ethereum/beacon services + Add beacon committees event (
Browse files Browse the repository at this point in the history
…#147)

* feat: Refactor ethereum/beacon services + Add beacon committees event

* refactor: Remove unnecessary variable "dutiesStarted"

* feat(event): add BeaconCommittee event type

* Swap uint64s to wrapperspb
  • Loading branch information
samcm authored Jul 20, 2023
1 parent 9bfe67e commit 819c625
Show file tree
Hide file tree
Showing 16 changed files with 1,381 additions and 719 deletions.
180 changes: 180 additions & 0 deletions pkg/proto/eth/v1/committee.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions pkg/proto/eth/v1/committee.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
syntax = "proto3";

// Note: largely inspired by https://github.com/prysmaticlabs/prysm/tree/develop/proto/eth/v1

package xatu.eth.v1;

import "google/protobuf/wrappers.proto";

option go_package = "github.com/ethpandaops/xatu/pkg/proto/eth/v1";

// Committee is a set of validators that are assigned to a commitee for a given slot.
message Committee {
google.protobuf.UInt64Value index = 1;
google.protobuf.UInt64Value slot = 2;
repeated google.protobuf.UInt64Value validators = 3;
}
Loading

0 comments on commit 819c625

Please sign in to comment.