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:
2024-02-26 12:56:11 +00:00
committed by ashwin
parent d2339e2426
commit ba7a127d7f
11 changed files with 529 additions and 331 deletions
+6 -6
View File
@@ -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 {}