mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 08:45:19 +00:00
75dec0d79c
* sync all third party proto definitions * update cosmos swagger for new imported third party protos
26 lines
854 B
Protocol Buffer
26 lines
854 B
Protocol Buffer
syntax = "proto3";
|
|
package cosmos.slashing.v1beta1;
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types";
|
|
option (gogoproto.equal_all) = true;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
// Msg defines the slashing Msg service.
|
|
service Msg {
|
|
// Unjail defines a method for unjailing a jailed validator, thus returning
|
|
// them into the bonded validator set, so they can begin receiving provisions
|
|
// and rewards again.
|
|
rpc Unjail(MsgUnjail) returns (MsgUnjailResponse);
|
|
}
|
|
|
|
// MsgUnjail defines the Msg/Unjail request type
|
|
message MsgUnjail {
|
|
option (gogoproto.goproto_getters) = false;
|
|
option (gogoproto.goproto_stringer) = true;
|
|
|
|
string validator_addr = 1 [(gogoproto.moretags) = "yaml:\"address\"", (gogoproto.jsontag) = "address"];
|
|
}
|
|
|
|
// MsgUnjailResponse defines the Msg/Unjail response type
|
|
message MsgUnjailResponse {} |