Skip to content

Commit

Permalink
fix(cannon): Correct validator_index json name (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm authored Dec 8, 2023
1 parent 1927247 commit 6350812
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions pkg/proto/eth/v1/duties.pb.go

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

2 changes: 1 addition & 1 deletion pkg/proto/eth/v1/duties.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ option go_package = "github.com/ethpandaops/xatu/pkg/proto/eth/v1";

// ProposerDuty is the duty of a validator to propose a block at a given slot.
message ProposerDuty {
google.protobuf.UInt64Value validator_index = 1 [ json_name = "epoch_transition" ];
google.protobuf.UInt64Value validator_index = 1 [ json_name = "validator_index" ];
google.protobuf.UInt64Value slot = 2;
string pubkey = 3;
}

0 comments on commit 6350812

Please sign in to comment.