[WIP] Replace cosmos_address with laconic_address in onboarding module #52

Draft
prathamesh wants to merge 1 commits from deep-stack/laconicd:iv-rename-cosmos-to-laconic into main
11 changed files with 162 additions and 161 deletions

View File

@ -424,17 +424,17 @@ func (x *fastReflection_Params) ProtoMethods() *protoiface.Methods {
} }
var ( var (
md_Participant protoreflect.MessageDescriptor md_Participant protoreflect.MessageDescriptor
fd_Participant_cosmos_address protoreflect.FieldDescriptor fd_Participant_laconic_address protoreflect.FieldDescriptor
fd_Participant_nitro_address protoreflect.FieldDescriptor fd_Participant_nitro_address protoreflect.FieldDescriptor
fd_Participant_role protoreflect.FieldDescriptor fd_Participant_role protoreflect.FieldDescriptor
fd_Participant_kyc_id protoreflect.FieldDescriptor fd_Participant_kyc_id protoreflect.FieldDescriptor
) )
func init() { func init() {
file_cerc_onboarding_v1_onboarding_proto_init() file_cerc_onboarding_v1_onboarding_proto_init()
md_Participant = File_cerc_onboarding_v1_onboarding_proto.Messages().ByName("Participant") md_Participant = File_cerc_onboarding_v1_onboarding_proto.Messages().ByName("Participant")
fd_Participant_cosmos_address = md_Participant.Fields().ByName("cosmos_address") fd_Participant_laconic_address = md_Participant.Fields().ByName("laconic_address")
fd_Participant_nitro_address = md_Participant.Fields().ByName("nitro_address") fd_Participant_nitro_address = md_Participant.Fields().ByName("nitro_address")
fd_Participant_role = md_Participant.Fields().ByName("role") fd_Participant_role = md_Participant.Fields().ByName("role")
fd_Participant_kyc_id = md_Participant.Fields().ByName("kyc_id") fd_Participant_kyc_id = md_Participant.Fields().ByName("kyc_id")
@ -505,9 +505,9 @@ func (x *fastReflection_Participant) Interface() protoreflect.ProtoMessage {
// While iterating, mutating operations may only be performed // While iterating, mutating operations may only be performed
// on the current field descriptor. // on the current field descriptor.
func (x *fastReflection_Participant) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { func (x *fastReflection_Participant) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
if x.CosmosAddress != "" { if x.LaconicAddress != "" {
value := protoreflect.ValueOfString(x.CosmosAddress) value := protoreflect.ValueOfString(x.LaconicAddress)
if !f(fd_Participant_cosmos_address, value) { if !f(fd_Participant_laconic_address, value) {
return return
} }
} }
@ -544,8 +544,8 @@ func (x *fastReflection_Participant) Range(f func(protoreflect.FieldDescriptor,
// a repeated field is populated if it is non-empty. // a repeated field is populated if it is non-empty.
func (x *fastReflection_Participant) Has(fd protoreflect.FieldDescriptor) bool { func (x *fastReflection_Participant) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() { switch fd.FullName() {
case "cerc.onboarding.v1.Participant.cosmos_address": case "cerc.onboarding.v1.Participant.laconic_address":
return x.CosmosAddress != "" return x.LaconicAddress != ""
case "cerc.onboarding.v1.Participant.nitro_address": case "cerc.onboarding.v1.Participant.nitro_address":
return x.NitroAddress != "" return x.NitroAddress != ""
case "cerc.onboarding.v1.Participant.role": case "cerc.onboarding.v1.Participant.role":
@ -568,8 +568,8 @@ func (x *fastReflection_Participant) Has(fd protoreflect.FieldDescriptor) bool {
// Clear is a mutating operation and unsafe for concurrent use. // Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Participant) Clear(fd protoreflect.FieldDescriptor) { func (x *fastReflection_Participant) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() { switch fd.FullName() {
case "cerc.onboarding.v1.Participant.cosmos_address": case "cerc.onboarding.v1.Participant.laconic_address":
x.CosmosAddress = "" x.LaconicAddress = ""
case "cerc.onboarding.v1.Participant.nitro_address": case "cerc.onboarding.v1.Participant.nitro_address":
x.NitroAddress = "" x.NitroAddress = ""
case "cerc.onboarding.v1.Participant.role": case "cerc.onboarding.v1.Participant.role":
@ -592,8 +592,8 @@ func (x *fastReflection_Participant) Clear(fd protoreflect.FieldDescriptor) {
// of the value; to obtain a mutable reference, use Mutable. // of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_Participant) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { func (x *fastReflection_Participant) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() { switch descriptor.FullName() {
case "cerc.onboarding.v1.Participant.cosmos_address": case "cerc.onboarding.v1.Participant.laconic_address":
value := x.CosmosAddress value := x.LaconicAddress
return protoreflect.ValueOfString(value) return protoreflect.ValueOfString(value)
case "cerc.onboarding.v1.Participant.nitro_address": case "cerc.onboarding.v1.Participant.nitro_address":
value := x.NitroAddress value := x.NitroAddress
@ -624,8 +624,8 @@ func (x *fastReflection_Participant) Get(descriptor protoreflect.FieldDescriptor
// Set is a mutating operation and unsafe for concurrent use. // Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Participant) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { func (x *fastReflection_Participant) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() { switch fd.FullName() {
case "cerc.onboarding.v1.Participant.cosmos_address": case "cerc.onboarding.v1.Participant.laconic_address":
x.CosmosAddress = value.Interface().(string) x.LaconicAddress = value.Interface().(string)
case "cerc.onboarding.v1.Participant.nitro_address": case "cerc.onboarding.v1.Participant.nitro_address":
x.NitroAddress = value.Interface().(string) x.NitroAddress = value.Interface().(string)
case "cerc.onboarding.v1.Participant.role": case "cerc.onboarding.v1.Participant.role":
@ -652,8 +652,8 @@ func (x *fastReflection_Participant) Set(fd protoreflect.FieldDescriptor, value
// Mutable is a mutating operation and unsafe for concurrent use. // Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Participant) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { func (x *fastReflection_Participant) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() { switch fd.FullName() {
case "cerc.onboarding.v1.Participant.cosmos_address": case "cerc.onboarding.v1.Participant.laconic_address":
panic(fmt.Errorf("field cosmos_address of message cerc.onboarding.v1.Participant is not mutable")) panic(fmt.Errorf("field laconic_address of message cerc.onboarding.v1.Participant is not mutable"))
case "cerc.onboarding.v1.Participant.nitro_address": case "cerc.onboarding.v1.Participant.nitro_address":
panic(fmt.Errorf("field nitro_address of message cerc.onboarding.v1.Participant is not mutable")) panic(fmt.Errorf("field nitro_address of message cerc.onboarding.v1.Participant is not mutable"))
case "cerc.onboarding.v1.Participant.role": case "cerc.onboarding.v1.Participant.role":
@ -673,7 +673,7 @@ func (x *fastReflection_Participant) Mutable(fd protoreflect.FieldDescriptor) pr
// For lists, maps, and messages, this returns a new, empty, mutable value. // For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_Participant) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { func (x *fastReflection_Participant) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() { switch fd.FullName() {
case "cerc.onboarding.v1.Participant.cosmos_address": case "cerc.onboarding.v1.Participant.laconic_address":
return protoreflect.ValueOfString("") return protoreflect.ValueOfString("")
case "cerc.onboarding.v1.Participant.nitro_address": case "cerc.onboarding.v1.Participant.nitro_address":
return protoreflect.ValueOfString("") return protoreflect.ValueOfString("")
@ -750,7 +750,7 @@ func (x *fastReflection_Participant) ProtoMethods() *protoiface.Methods {
var n int var n int
var l int var l int
_ = l _ = l
l = len(x.CosmosAddress) l = len(x.LaconicAddress)
if l > 0 { if l > 0 {
n += 1 + l + runtime.Sov(uint64(l)) n += 1 + l + runtime.Sov(uint64(l))
} }
@ -816,10 +816,10 @@ func (x *fastReflection_Participant) ProtoMethods() *protoiface.Methods {
i-- i--
dAtA[i] = 0x12 dAtA[i] = 0x12
} }
if len(x.CosmosAddress) > 0 { if len(x.LaconicAddress) > 0 {
i -= len(x.CosmosAddress) i -= len(x.LaconicAddress)
copy(dAtA[i:], x.CosmosAddress) copy(dAtA[i:], x.LaconicAddress)
i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CosmosAddress))) i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LaconicAddress)))
i-- i--
dAtA[i] = 0xa dAtA[i] = 0xa
} }
@ -874,7 +874,7 @@ func (x *fastReflection_Participant) ProtoMethods() *protoiface.Methods {
switch fieldNum { switch fieldNum {
case 1: case 1:
if wireType != 2 { if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CosmosAddress", wireType) return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LaconicAddress", wireType)
} }
var stringLen uint64 var stringLen uint64
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
@ -902,7 +902,7 @@ func (x *fastReflection_Participant) ProtoMethods() *protoiface.Methods {
if postIndex > l { if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
} }
x.CosmosAddress = string(dAtA[iNdEx:postIndex]) x.LaconicAddress = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex iNdEx = postIndex
case 2: case 2:
if wireType != 2 { if wireType != 2 {
@ -1575,8 +1575,8 @@ type Participant struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
// participant's cosmos (laconic) address // participant's laconic address
CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty"` LaconicAddress string `protobuf:"bytes,1,opt,name=laconic_address,json=laconicAddress,proto3" json:"laconic_address,omitempty"`
// participant's Nitro address // participant's Nitro address
NitroAddress string `protobuf:"bytes,2,opt,name=nitro_address,json=nitroAddress,proto3" json:"nitro_address,omitempty"` NitroAddress string `protobuf:"bytes,2,opt,name=nitro_address,json=nitroAddress,proto3" json:"nitro_address,omitempty"`
// participant's role (participant | validator) // participant's role (participant | validator)
@ -1605,9 +1605,9 @@ func (*Participant) Descriptor() ([]byte, []int) {
return file_cerc_onboarding_v1_onboarding_proto_rawDescGZIP(), []int{1} return file_cerc_onboarding_v1_onboarding_proto_rawDescGZIP(), []int{1}
} }
func (x *Participant) GetCosmosAddress() string { func (x *Participant) GetLaconicAddress() string {
if x != nil { if x != nil {
return x.CosmosAddress return x.LaconicAddress
} }
return "" return ""
} }
@ -1692,46 +1692,47 @@ var file_cerc_onboarding_v1_onboarding_proto_rawDesc = []byte{
0x6c, 0x65, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x6c, 0x65, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6f, 0x6e, 0x62, 0x6f, 0x61,
0x72, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x52, 0x11, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x52, 0x11,
0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x22, 0xa2, 0x02, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x64, 0x22, 0xa6, 0x02, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e,
0x74, 0x12, 0x56, 0x0a, 0x0e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x74, 0x12, 0x5a, 0x0a, 0x0f, 0x6c, 0x61, 0x63, 0x6f, 0x6e, 0x69, 0x63, 0x5f, 0x61, 0x64, 0x64,
0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xf2, 0xde, 0x1f, 0x2b, 0x6a, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xf2, 0xde, 0x1f, 0x2d,
0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6c, 0x61, 0x63, 0x6f, 0x6e, 0x69, 0x63, 0x5f, 0x61, 0x64,
0x65, 0x73, 0x73, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6c, 0x61, 0x63,
0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x52, 0x0d, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x52, 0x0e, 0x6c,
0x6f, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x52, 0x0a, 0x0d, 0x6e, 0x69, 0x74, 0x61, 0x63, 0x6f, 0x6e, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x52, 0x0a,
0x72, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x0d, 0x6e, 0x69, 0x74, 0x72, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02,
0x42, 0x2d, 0xf2, 0xde, 0x1f, 0x29, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x69, 0x74, 0x72, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xf2, 0xde, 0x1f, 0x29, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22,
0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x6e, 0x69, 0x74, 0x72, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x20, 0x79,
0x22, 0x6e, 0x69, 0x74, 0x72, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x52, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6e, 0x69, 0x74, 0x72, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65,
0x0c, 0x6e, 0x69, 0x74, 0x72, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x73, 0x73, 0x22, 0x52, 0x0c, 0x6e, 0x69, 0x74, 0x72, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1b, 0xf2, 0xde, 0x1f, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,
0x17, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x1b, 0xf2, 0xde, 0x1f, 0x17, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x6f, 0x6c, 0x65, 0x22,
0x6c, 0x3a, 0x22, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x36, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x52, 0x04, 0x72, 0x6f,
0x0a, 0x06, 0x6b, 0x79, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1f, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x6b, 0x79, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
0xf2, 0xde, 0x1f, 0x1b, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6b, 0x79, 0x63, 0x5f, 0x69, 0x64, 0x28, 0x09, 0x42, 0x1f, 0xf2, 0xde, 0x1f, 0x1b, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6b, 0x79,
0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6b, 0x79, 0x63, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x63, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6b, 0x79, 0x63, 0x5f,
0x05, 0x6b, 0x79, 0x63, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x0a, 0x45, 0x74, 0x68, 0x50, 0x61, 0x79, 0x69, 0x64, 0x22, 0x52, 0x05, 0x6b, 0x79, 0x63, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x0a, 0x45, 0x74,
0x6c, 0x6f, 0x61, 0x64, 0x12, 0x3b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x68, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x3b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xf2, 0xde, 0x1f, 0x1d, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xf2, 0xde, 0x1f, 0x1d, 0x6a,
0x22, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x20, 0x79, 0x61,
0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x6d, 0x6c, 0x3a, 0x22, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x52, 0x07, 0x61, 0x64,
0x73, 0x12, 0x2b, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2b, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01,
0xf2, 0xde, 0x1f, 0x15, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x73, 0x67, 0x22, 0x20, 0x79, 0x28, 0x09, 0x42, 0x19, 0xf2, 0xde, 0x1f, 0x15, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6d, 0x73,
0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6d, 0x73, 0x67, 0x22, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x42, 0xd4, 0x67, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6d, 0x73, 0x67, 0x22, 0x52, 0x03, 0x6d,
0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x6f, 0x6e, 0x62, 0x6f, 0x73, 0x67, 0x42, 0xd4, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e,
0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x4f, 0x6e, 0x62, 0x6f, 0x61, 0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x4f,
0x72, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
0x74, 0x2e, 0x76, 0x64, 0x62, 0x2e, 0x74, 0x6f, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2d, 0x69, 0x6f, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x2e, 0x76, 0x64, 0x62, 0x2e, 0x74, 0x6f, 0x2f, 0x63, 0x65, 0x72,
0x2f, 0x6c, 0x61, 0x63, 0x6f, 0x6e, 0x69, 0x63, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x65, 0x63, 0x2d, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x63, 0x6f, 0x6e, 0x69, 0x63, 0x64, 0x2f, 0x61, 0x70,
0x72, 0x63, 0x2f, 0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x69, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e,
0x3b, 0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x76,
0x43, 0x4f, 0x58, 0xaa, 0x02, 0x12, 0x43, 0x65, 0x72, 0x63, 0x2e, 0x4f, 0x6e, 0x62, 0x6f, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x4f, 0x58, 0xaa, 0x02, 0x12, 0x43, 0x65, 0x72, 0x63, 0x2e, 0x4f,
0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x43,
0x4f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x65, 0x72, 0x63, 0x5c, 0x4f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5c, 0x56,
0x43, 0x65, 0x72, 0x63, 0x5c, 0x4f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5c, 0x31, 0xe2, 0x02, 0x1e, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x4f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64,
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x14, 0x43, 0x65, 0x72, 0x63, 0x3a, 0x3a, 0x4f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x74, 0x61, 0xea, 0x02, 0x14, 0x43, 0x65, 0x72, 0x63, 0x3a, 0x3a, 0x4f, 0x6e, 0x62, 0x6f, 0x61,
0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
} }
var ( var (

View File

@ -381,7 +381,7 @@ Query participants:
```graphql ```graphql
{ {
getParticipants { getParticipants {
cosmosAddress laconicAddress
nitroAddress nitroAddress
} }
} }

View File

@ -31,7 +31,7 @@ type Account {
} }
type Participant { type Participant {
cosmosAddress: String! # Cosmos address of the participant who will be registered. laconicAddress: String! # Laconic address of the participant who will be registered.
nitroAddress: String! # Nitro addresss of the participant who will be registered. nitroAddress: String! # Nitro addresss of the participant who will be registered.
role: String! # Participant's role role: String! # Participant's role
kycId: String! # Participant's KYC receipt ID kycId: String! # Participant's KYC receipt ID

View File

@ -159,10 +159,10 @@ type ComplexityRoot struct {
} }
Participant struct { Participant struct {
CosmosAddress func(childComplexity int) int KycID func(childComplexity int) int
KycID func(childComplexity int) int LaconicAddress func(childComplexity int) int
NitroAddress func(childComplexity int) int NitroAddress func(childComplexity int) int
Role func(childComplexity int) int Role func(childComplexity int) int
} }
PeerInfo struct { PeerInfo struct {
@ -668,13 +668,6 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
return e.complexity.OwnerBonds.Owner(childComplexity), true return e.complexity.OwnerBonds.Owner(childComplexity), true
case "Participant.cosmosAddress":
if e.complexity.Participant.CosmosAddress == nil {
break
}
return e.complexity.Participant.CosmosAddress(childComplexity), true
case "Participant.kycId": case "Participant.kycId":
if e.complexity.Participant.KycID == nil { if e.complexity.Participant.KycID == nil {
break break
@ -682,6 +675,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
return e.complexity.Participant.KycID(childComplexity), true return e.complexity.Participant.KycID(childComplexity), true
case "Participant.laconicAddress":
if e.complexity.Participant.LaconicAddress == nil {
break
}
return e.complexity.Participant.LaconicAddress(childComplexity), true
case "Participant.nitroAddress": case "Participant.nitroAddress":
if e.complexity.Participant.NitroAddress == nil { if e.complexity.Participant.NitroAddress == nil {
break break
@ -4062,8 +4062,8 @@ func (ec *executionContext) fieldContext_OwnerBonds_bonds(ctx context.Context, f
return fc, nil return fc, nil
} }
func (ec *executionContext) _Participant_cosmosAddress(ctx context.Context, field graphql.CollectedField, obj *Participant) (ret graphql.Marshaler) { func (ec *executionContext) _Participant_laconicAddress(ctx context.Context, field graphql.CollectedField, obj *Participant) (ret graphql.Marshaler) {
fc, err := ec.fieldContext_Participant_cosmosAddress(ctx, field) fc, err := ec.fieldContext_Participant_laconicAddress(ctx, field)
if err != nil { if err != nil {
return graphql.Null return graphql.Null
} }
@ -4076,7 +4076,7 @@ func (ec *executionContext) _Participant_cosmosAddress(ctx context.Context, fiel
}() }()
resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
ctx = rctx // use context from middleware stack in children ctx = rctx // use context from middleware stack in children
return obj.CosmosAddress, nil return obj.LaconicAddress, nil
}) })
if err != nil { if err != nil {
ec.Error(ctx, err) ec.Error(ctx, err)
@ -4093,7 +4093,7 @@ func (ec *executionContext) _Participant_cosmosAddress(ctx context.Context, fiel
return ec.marshalNString2string(ctx, field.Selections, res) return ec.marshalNString2string(ctx, field.Selections, res)
} }
func (ec *executionContext) fieldContext_Participant_cosmosAddress(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { func (ec *executionContext) fieldContext_Participant_laconicAddress(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{ fc = &graphql.FieldContext{
Object: "Participant", Object: "Participant",
Field: field, Field: field,
@ -5204,8 +5204,8 @@ func (ec *executionContext) fieldContext_Query_getParticipants(ctx context.Conte
IsResolver: true, IsResolver: true,
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
switch field.Name { switch field.Name {
case "cosmosAddress": case "laconicAddress":
return ec.fieldContext_Participant_cosmosAddress(ctx, field) return ec.fieldContext_Participant_laconicAddress(ctx, field)
case "nitroAddress": case "nitroAddress":
return ec.fieldContext_Participant_nitroAddress(ctx, field) return ec.fieldContext_Participant_nitroAddress(ctx, field)
case "role": case "role":
@ -5258,8 +5258,8 @@ func (ec *executionContext) fieldContext_Query_getParticipantByAddress(ctx conte
IsResolver: true, IsResolver: true,
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
switch field.Name { switch field.Name {
case "cosmosAddress": case "laconicAddress":
return ec.fieldContext_Participant_cosmosAddress(ctx, field) return ec.fieldContext_Participant_laconicAddress(ctx, field)
case "nitroAddress": case "nitroAddress":
return ec.fieldContext_Participant_nitroAddress(ctx, field) return ec.fieldContext_Participant_nitroAddress(ctx, field)
case "role": case "role":
@ -5323,8 +5323,8 @@ func (ec *executionContext) fieldContext_Query_getParticipantByNitroAddress(ctx
IsResolver: true, IsResolver: true,
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
switch field.Name { switch field.Name {
case "cosmosAddress": case "laconicAddress":
return ec.fieldContext_Participant_cosmosAddress(ctx, field) return ec.fieldContext_Participant_laconicAddress(ctx, field)
case "nitroAddress": case "nitroAddress":
return ec.fieldContext_Participant_nitroAddress(ctx, field) return ec.fieldContext_Participant_nitroAddress(ctx, field)
case "role": case "role":
@ -9328,9 +9328,9 @@ func (ec *executionContext) _Participant(ctx context.Context, sel ast.SelectionS
switch field.Name { switch field.Name {
case "__typename": case "__typename":
out.Values[i] = graphql.MarshalString("Participant") out.Values[i] = graphql.MarshalString("Participant")
case "cosmosAddress": case "laconicAddress":
out.Values[i] = ec._Participant_cosmosAddress(ctx, field, obj) out.Values[i] = ec._Participant_laconicAddress(ctx, field, obj)
if out.Values[i] == graphql.Null { if out.Values[i] == graphql.Null {
invalids++ invalids++

View File

@ -141,10 +141,10 @@ type OwnerBonds struct {
} }
type Participant struct { type Participant struct {
CosmosAddress string `json:"cosmosAddress"` LaconicAddress string `json:"laconicAddress"`
NitroAddress string `json:"nitroAddress"` NitroAddress string `json:"nitroAddress"`
Role string `json:"role"` Role string `json:"role"`
KycID string `json:"kycId"` KycID string `json:"kycId"`
} }
type PeerInfo struct { type PeerInfo struct {

View File

@ -383,10 +383,10 @@ func (q queryResolver) GetParticipants(ctx context.Context) ([]*Participant, err
participants := make([]*Participant, len(participantResp.GetParticipants())) participants := make([]*Participant, len(participantResp.GetParticipants()))
for i, p := range participantResp.Participants { for i, p := range participantResp.Participants {
participants[i] = &Participant{ participants[i] = &Participant{
CosmosAddress: p.CosmosAddress, LaconicAddress: p.LaconicAddress,
NitroAddress: p.NitroAddress, NitroAddress: p.NitroAddress,
Role: p.Role, Role: p.Role,
KycID: p.KycId, KycID: p.KycId,
} }
} }
@ -402,10 +402,10 @@ func (q queryResolver) GetParticipantByAddress(ctx context.Context, address stri
p := participantResp.Participant p := participantResp.Participant
participant := &Participant{ participant := &Participant{
CosmosAddress: p.CosmosAddress, LaconicAddress: p.LaconicAddress,
NitroAddress: p.NitroAddress, NitroAddress: p.NitroAddress,
Role: p.Role, Role: p.Role,
KycID: p.KycId, KycID: p.KycId,
} }
return participant, nil return participant, nil
@ -420,10 +420,10 @@ func (q queryResolver) GetParticipantByNitroAddress(ctx context.Context, nitroAd
p := participantResp.Participant p := participantResp.Participant
participant := &Participant{ participant := &Participant{
CosmosAddress: p.CosmosAddress, LaconicAddress: p.LaconicAddress,
NitroAddress: p.NitroAddress, NitroAddress: p.NitroAddress,
Role: p.Role, Role: p.Role,
KycID: p.KycId, KycID: p.KycId,
} }
return participant, nil return participant, nil

View File

@ -16,10 +16,10 @@ message Params {
// Participant defines the data that will be stored for each enrolled // Participant defines the data that will be stored for each enrolled
// participant // participant
message Participant { message Participant {
// participant's cosmos (laconic) address // participant's laconic address
string cosmos_address = 1 string laconic_address = 1
[ (gogoproto.moretags) = [ (gogoproto.moretags) =
"json:\"cosmos_address\" yaml:\"cosmos_address\"" ]; "json:\"laconic_address\" yaml:\"laconic_address\"" ];
// participant's Nitro address // participant's Nitro address
string nitro_address = 2 string nitro_address = 2

View File

@ -17,7 +17,7 @@ service Query {
option (google.api.http).get = "/cerc/onboarding/v1/participants"; option (google.api.http).get = "/cerc/onboarding/v1/participants";
} }
// GetParticipantByAddress queries a participant by cosmos (laconic) address // GetParticipantByAddress queries a participant by laconic address
rpc GetParticipantByAddress(QueryGetParticipantByAddressRequest) rpc GetParticipantByAddress(QueryGetParticipantByAddressRequest)
returns (QueryGetParticipantByAddressResponse) { returns (QueryGetParticipantByAddressResponse) {
option (google.api.http).get = "/cerc/onboarding/v1/participants/{address}"; option (google.api.http).get = "/cerc/onboarding/v1/participants/{address}";

View File

@ -13,7 +13,7 @@ func (k *Keeper) InitGenesis(ctx context.Context, data *onboarding.GenesisState)
} }
for _, participant := range data.Participants { for _, participant := range data.Participants {
if err := k.Participants.Set(ctx, participant.CosmosAddress, participant); err != nil { if err := k.Participants.Set(ctx, participant.LaconicAddress, participant); err != nil {
return err return err
} }
} }
@ -29,7 +29,7 @@ func (k *Keeper) ExportGenesis(ctx context.Context) (*onboarding.GenesisState, e
} }
var participants []onboarding.Participant var participants []onboarding.Participant
if err := k.Participants.Walk(ctx, nil, func(cosmosAddress string, participant onboarding.Participant) (bool, error) { if err := k.Participants.Walk(ctx, nil, func(laconicAddress string, participant onboarding.Participant) (bool, error) {
participants = append(participants, participant) participants = append(participants, participant)
return false, nil return false, nil
}); err != nil { }); err != nil {

View File

@ -99,10 +99,10 @@ func (k Keeper) OnboardParticipant(
} }
participant := &onboardingTypes.Participant{ participant := &onboardingTypes.Participant{
CosmosAddress: signerAddress.String(), LaconicAddress: signerAddress.String(),
NitroAddress: nitroAddress, NitroAddress: nitroAddress,
Role: msg.Role, Role: msg.Role,
KycId: msg.KycId, KycId: msg.KycId,
} }
if err := k.StoreParticipant(ctx, participant); err != nil { if err := k.StoreParticipant(ctx, participant); err != nil {
@ -113,7 +113,7 @@ func (k Keeper) OnboardParticipant(
} }
func (k Keeper) StoreParticipant(ctx sdk.Context, participant *onboardingTypes.Participant) error { func (k Keeper) StoreParticipant(ctx sdk.Context, participant *onboardingTypes.Participant) error {
key := participant.CosmosAddress key := participant.LaconicAddress
return k.Participants.Set(ctx, key, *participant) return k.Participants.Set(ctx, key, *participant)
} }
@ -138,7 +138,7 @@ func (k Keeper) ListParticipants(ctx sdk.Context) ([]*onboardingTypes.Participan
return participants, nil return participants, nil
} }
// GetParticipantByAddress - get participant by cosmos (laconic) address. // GetParticipantByAddress - get participant by laconic address.
func (k Keeper) GetParticipantByAddress(ctx sdk.Context, address string) (onboardingTypes.Participant, error) { func (k Keeper) GetParticipantByAddress(ctx sdk.Context, address string) (onboardingTypes.Participant, error) {
participant, err := k.Participants.Get(ctx, address) participant, err := k.Participants.Get(ctx, address)
if err != nil { if err != nil {

View File

@ -71,8 +71,8 @@ func (m *Params) GetOnboardingEnabled() bool {
// Participant defines the data that will be stored for each enrolled // Participant defines the data that will be stored for each enrolled
// participant // participant
type Participant struct { type Participant struct {
// participant's cosmos (laconic) address // participant's laconic address
CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty" json:"cosmos_address" yaml:"cosmos_address"` LaconicAddress string `protobuf:"bytes,1,opt,name=laconic_address,json=laconicAddress,proto3" json:"laconic_address,omitempty" json:"laconic_address" yaml:"laconic_address"`
// participant's Nitro address // participant's Nitro address
NitroAddress string `protobuf:"bytes,2,opt,name=nitro_address,json=nitroAddress,proto3" json:"nitro_address,omitempty" json:"nitro_address" yaml:"nitro_address"` NitroAddress string `protobuf:"bytes,2,opt,name=nitro_address,json=nitroAddress,proto3" json:"nitro_address,omitempty" json:"nitro_address" yaml:"nitro_address"`
// participant's role (participant | validator) // participant's role (participant | validator)
@ -114,9 +114,9 @@ func (m *Participant) XXX_DiscardUnknown() {
var xxx_messageInfo_Participant proto.InternalMessageInfo var xxx_messageInfo_Participant proto.InternalMessageInfo
func (m *Participant) GetCosmosAddress() string { func (m *Participant) GetLaconicAddress() string {
if m != nil { if m != nil {
return m.CosmosAddress return m.LaconicAddress
} }
return "" return ""
} }
@ -206,32 +206,32 @@ func init() {
} }
var fileDescriptor_59afed779274eaf0 = []byte{ var fileDescriptor_59afed779274eaf0 = []byte{
// 399 bytes of a gzipped FileDescriptorProto // 398 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xc1, 0xce, 0xd2, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xcf, 0x4e, 0xab, 0x40,
0x14, 0x85, 0xe9, 0x0f, 0xa2, 0x8e, 0x62, 0xe2, 0x44, 0x23, 0x4a, 0xec, 0x60, 0xdd, 0x60, 0x08, 0x14, 0xc6, 0x4b, 0xdb, 0xdb, 0x7b, 0xef, 0xdc, 0x7f, 0xb9, 0x93, 0x7b, 0x63, 0xb5, 0x91, 0xa9,
0x9d, 0x10, 0x12, 0x4d, 0x74, 0x65, 0x13, 0x16, 0xee, 0x48, 0x17, 0x2e, 0xdc, 0x90, 0xe9, 0x4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, 0x0e, 0x1a, 0x41, 0xe4,
0x7f, 0x5e, 0x95, 0xe8, 0xa9, 0x09, 0x26, 0x2a, 0x6a, 0x42, 0x75, 0xe9, 0xd7, 0x2e, 0xcf, 0xfb, 0x95, 0x7f, 0x7f, 0x98, 0x67, 0xe8, 0xbf, 0x0c, 0x06, 0x91, 0x57, 0x85, 0x8a, 0xd2, 0x2a, 0x5c,
0xbd, 0xb7, 0xad, 0xdd, 0xde, 0xb6, 0xfe, 0xee, 0x6d, 0xeb, 0xe7, 0xc1, 0xee, 0xec, 0x0e, 0x76, 0xa6, 0xf9, 0xb2, 0x54, 0x95, 0xc5, 0x52, 0x55, 0xde, 0x96, 0xaa, 0xf2, 0xb4, 0x52, 0x6b, 0x8b,
0xe7, 0xcf, 0xc1, 0xee, 0x7c, 0x99, 0x44, 0x3c, 0x73, 0x73, 0x16, 0xb8, 0x99, 0xc0, 0xf5, 0x75, 0x95, 0x5a, 0x7b, 0x5d, 0xa9, 0xb5, 0x49, 0xcf, 0xa3, 0xb1, 0x9e, 0x10, 0x5b, 0x8f, 0x99, 0x51,
0xcd, 0xb8, 0xc0, 0x31, 0xa1, 0x22, 0xe5, 0x94, 0xe1, 0x1f, 0x17, 0x27, 0x18, 0xf4, 0xf5, 0x65, 0x5c, 0x58, 0x9f, 0x32, 0xa3, 0x7c, 0x71, 0x62, 0x3c, 0x6e, 0x9d, 0xa1, 0xdd, 0x12, 0xd7, 0x35,
0x2d, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0x87, 0xe5, 0xd5, 0x6b, 0xaa, 0x02, 0x00, 0x00, 0x7c, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x21, 0x55, 0x37, 0xae, 0x02, 0x00, 0x00,
} }
func (m *Params) Marshal() (dAtA []byte, err error) { func (m *Params) Marshal() (dAtA []byte, err error) {
@ -308,10 +308,10 @@ func (m *Participant) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i-- i--
dAtA[i] = 0x12 dAtA[i] = 0x12
} }
if len(m.CosmosAddress) > 0 { if len(m.LaconicAddress) > 0 {
i -= len(m.CosmosAddress) i -= len(m.LaconicAddress)
copy(dAtA[i:], m.CosmosAddress) copy(dAtA[i:], m.LaconicAddress)
i = encodeVarintOnboarding(dAtA, i, uint64(len(m.CosmosAddress))) i = encodeVarintOnboarding(dAtA, i, uint64(len(m.LaconicAddress)))
i-- i--
dAtA[i] = 0xa dAtA[i] = 0xa
} }
@ -384,7 +384,7 @@ func (m *Participant) Size() (n int) {
} }
var l int var l int
_ = l _ = l
l = len(m.CosmosAddress) l = len(m.LaconicAddress)
if l > 0 { if l > 0 {
n += 1 + l + sovOnboarding(uint64(l)) n += 1 + l + sovOnboarding(uint64(l))
} }
@ -527,7 +527,7 @@ func (m *Participant) Unmarshal(dAtA []byte) error {
switch fieldNum { switch fieldNum {
case 1: case 1:
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field CosmosAddress", wireType) return fmt.Errorf("proto: wrong wireType = %d for field LaconicAddress", wireType)
} }
var stringLen uint64 var stringLen uint64
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
@ -555,7 +555,7 @@ func (m *Participant) Unmarshal(dAtA []byte) error {
if postIndex > l { if postIndex > l {
return io.ErrUnexpectedEOF return io.ErrUnexpectedEOF
} }
m.CosmosAddress = string(dAtA[iNdEx:postIndex]) m.LaconicAddress = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex iNdEx = postIndex
case 2: case 2:
if wireType != 2 { if wireType != 2 {