forked from cerc-io/laconicd
Add bond-record association commands to registry module (#8)
Reviewed-on: deep-stack/laconic2d#8 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
@@ -38,8 +38,8 @@ service Msg {
|
||||
option (google.api.http).post = "/cerc/registry/v1/dissociate_records";
|
||||
}
|
||||
|
||||
// ReAssociateRecords
|
||||
rpc ReAssociateRecords(MsgReAssociateRecords) returns (MsgReAssociateRecordsResponse) {
|
||||
// ReassociateRecords
|
||||
rpc ReassociateRecords(MsgReassociateRecords) returns (MsgReassociateRecordsResponse) {
|
||||
option (google.api.http).post = "/cerc/registry/v1/reassociate_records";
|
||||
}
|
||||
|
||||
@@ -181,8 +181,8 @@ message MsgDissociateRecords {
|
||||
// MsgDissociateRecordsResponse
|
||||
message MsgDissociateRecordsResponse {}
|
||||
|
||||
// MsgReAssociateRecords
|
||||
message MsgReAssociateRecords {
|
||||
// MsgReassociateRecords
|
||||
message MsgReassociateRecords {
|
||||
option (cosmos.msg.v1.signer) = "signer";
|
||||
|
||||
string new_bond_id = 1 [(gogoproto.moretags) = "json:\"new_bond_id\" yaml:\"new_bond_id\""];
|
||||
@@ -190,5 +190,5 @@ message MsgReAssociateRecords {
|
||||
string signer = 3;
|
||||
}
|
||||
|
||||
// MsgReAssociateRecordsResponse
|
||||
message MsgReAssociateRecordsResponse {}
|
||||
// MsgReassociateRecordsResponse
|
||||
message MsgReassociateRecordsResponse {}
|
||||
|
||||
Reference in New Issue
Block a user