forked from babylonchain/babylon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tx.proto
32 lines (25 loc) · 1.04 KB
/
tx.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
syntax = "proto3";
package babylon.checkpointing.v1;
import "gogoproto/gogo.proto";
import "babylon/checkpointing/v1/bls_key.proto";
import "cosmos/staking/v1beta1/tx.proto";
import "cosmos/msg/v1/msg.proto";
option go_package = "github.com/babylonchain/babylon/x/checkpointing/types";
// Msg defines the checkpointing Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;
// WrappedCreateValidator defines a method for registering a new validator
rpc WrappedCreateValidator(MsgWrappedCreateValidator)
returns (MsgWrappedCreateValidatorResponse);
}
// MsgWrappedCreateValidator defines a wrapped message to create a validator
message MsgWrappedCreateValidator {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;
option (cosmos.msg.v1.signer) = "msg_create_validator";
BlsKey key = 1;
cosmos.staking.v1beta1.MsgCreateValidator msg_create_validator = 2;
}
// MsgWrappedCreateValidatorResponse defines the MsgWrappedCreateValidator
// response type
message MsgWrappedCreateValidatorResponse {}