Skip to content

Commit

Permalink
feat(relay-monitor): Validator Registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Dec 11, 2024
1 parent 638ba2c commit 0fc8033
Show file tree
Hide file tree
Showing 16 changed files with 3,228 additions and 1,970 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ linters-settings:
require-specific: true

linters:
skip-files:
- "*_test.go"
disable-all: true
enable:
- asasalint
Expand Down
210 changes: 198 additions & 12 deletions pkg/proto/mevrelay/relay.pb.go

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

14 changes: 13 additions & 1 deletion pkg/proto/mevrelay/relay.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,16 @@ import "google/protobuf/wrappers.proto";
message Relay {
google.protobuf.StringValue name = 1;
google.protobuf.StringValue url = 2;
}
}

message ValidatorRegistrationMessage {
google.protobuf.StringValue fee_recipient = 1 [json_name = "fee_recipient"];
google.protobuf.UInt64Value gas_limit = 2 [json_name = "gas_limit"];
google.protobuf.UInt64Value timestamp = 3;
google.protobuf.StringValue pubkey = 4;
}

message ValidatorRegistration {
ValidatorRegistrationMessage message = 1;
google.protobuf.StringValue signature = 2;
}
Loading

0 comments on commit 0fc8033

Please sign in to comment.