Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: feat(relay-monitor): Validator Registrations #428

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
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
Loading