Nabarun Gogoi
a8a59ad0c1
Some checks failed
Lint / Run golangci-lint (pull_request) Failing after 5m56s
Unit Tests / test-unit (pull_request) Successful in 2m4s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 7m57s
SDK Tests / sdk_tests (pull_request) Failing after 8m51s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 13m26s
Protobuf / lint (pull_request) Successful in 24s
Build / build (pull_request) Successful in 2m49s
Integration Tests / test-integration (pull_request) Successful in 2m33s
E2E Tests / test-e2e (pull_request) Successful in 3m50s
* Rename ethereum_address to nitro_address * Use camel case for variables in gql schema * Fix indentation in proto files * Fix proto lint errors --------- Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
36 lines
1.0 KiB
Protocol Buffer
36 lines
1.0 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cerc.onboarding.v1;
|
|
|
|
import "cosmos/msg/v1/msg.proto";
|
|
import "google/api/annotations.proto";
|
|
import "gogoproto/gogo.proto";
|
|
import "cerc/onboarding/v1/onboarding.proto";
|
|
|
|
option go_package = "git.vdb.to/cerc-io/laconicd/x/onboarding";
|
|
|
|
// Msg defines the onboarding Msg service.
|
|
service Msg {
|
|
option (cosmos.msg.v1.service) = true;
|
|
|
|
// OnboardParticipant defines a method for enrolling a new validator.
|
|
rpc OnboardParticipant(MsgOnboardParticipant)
|
|
returns (MsgOnboardParticipantResponse) {
|
|
option (google.api.http).post = "/cerc/onboarding/v1/onboard_participant";
|
|
};
|
|
}
|
|
|
|
// MsgOnboardParticipant defines a SDK message for enrolling a new validator.
|
|
message MsgOnboardParticipant {
|
|
option (cosmos.msg.v1.signer) = "participant";
|
|
|
|
// Participant is the msg sender
|
|
string participant = 1;
|
|
EthPayload eth_payload = 2 [ (gogoproto.nullable) = false ];
|
|
string eth_signature = 3;
|
|
}
|
|
|
|
// MsgOnboardParticipantResponse defines the Msg/OnboardParticipant response
|
|
// type.
|
|
message MsgOnboardParticipantResponse {}
|