Nabarun
2757281e5b
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) Co-authored-by: Isha Venikar <145848618+IshaVenikar@users.noreply.github.com> Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Reviewed-on: #12 Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
35 lines
1.0 KiB
Protocol Buffer
35 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 {}
|