From c2f1fb0d3552760853eda48a87e1c468b2584666 Mon Sep 17 00:00:00 2001 From: MyPrayer Date: Wed, 12 Apr 2023 19:52:02 +0800 Subject: [PATCH] =?UTF-8?q?unify-property-names:=20OwnerAddress=E2=9E=9DOw?= =?UTF-8?q?ner=20CreatorAddress=E2=9E=9DCreator=20OperatorAddress=20?= =?UTF-8?q?=E2=86=92=20Operator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/greenfield/storage/events.proto | 76 ++-- x/storage/keeper/keeper.go | 66 +-- x/storage/keeper/msg_server.go | 20 +- x/storage/types/events.pb.go | 577 +++++++++++++------------- 4 files changed, 369 insertions(+), 370 deletions(-) diff --git a/proto/greenfield/storage/events.proto b/proto/greenfield/storage/events.proto index 168ce6b54..9e7d86808 100644 --- a/proto/greenfield/storage/events.proto +++ b/proto/greenfield/storage/events.proto @@ -9,8 +9,8 @@ option go_package = "github.com/bnb-chain/greenfield/x/storage/types"; // EventCreateBucket is emitted on MsgCreateBucket message EventCreateBucket { - // owner_address define the account address of bucket owner - string owner_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // owner define the account address of bucket owner + string owner = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name is a globally unique name of bucket string bucket_name = 2; // visibility defines the highest permissions for bucket. When a bucket is public, everyone can get the object under it. @@ -35,10 +35,10 @@ message EventCreateBucket { // EventDeleteBucket is emitted on MsgDeleteBucket message EventDeleteBucket { - // operator_address define the account address of operator who delete the bucket - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // owner_address define the account address of the bucket owner - string owner_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who delete the bucket + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // owner define the account address of the bucket owner + string owner = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name define the name of the deleted bucket string bucket_name = 3; // bucket_id define an u256 id for bucket @@ -53,8 +53,8 @@ message EventDeleteBucket { // EventUpdateBucketInfo is emitted on MsgUpdateBucketInfo message EventUpdateBucketInfo { - // operator_address define the account address of operator who update the bucket - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who update the bucket + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name define the name of the bucket string bucket_name = 2; // bucket_id define an u256 id for bucket @@ -77,10 +77,10 @@ message EventUpdateBucketInfo { // EventCreateObject is emitted on MsgCreateObject message EventCreateObject { - // creator_address define the account address of msg creator - string creator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // owner_address define the account address of object owner - string owner_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // creator define the account address of msg creator + string creator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // owner define the account address of object owner + string owner = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name define the name of bucket string bucket_name = 3; // object_name define the name of object @@ -119,8 +119,8 @@ message EventCreateObject { // EventSealObject is emitted on MsgSealObject message EventCancelCreateObject { - // operator_address define the account address of operator who cancel create object - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who cancel create object + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name define the name of the bucket string bucket_name = 2; // object_name define the name of the object @@ -137,8 +137,8 @@ message EventCancelCreateObject { // EventSealObject is emitted on MsgSealObject message EventSealObject { - // operator_address define the account address of operator who seal object - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who seal object + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name define the name of the bucket string bucket_name = 2; // object_name define the name of the object @@ -157,8 +157,8 @@ message EventSealObject { // EventCopyObject is emitted on MsgCopyObject message EventCopyObject { - // operator_address define the account address of operator who copy the object - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who copy the object + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // src_bucket_name define the name of the src bucket string src_bucket_name = 2; // src_object_name define the name of the src object @@ -183,8 +183,8 @@ message EventCopyObject { // EventDeleteObject is emitted on MsgDeleteObject message EventDeleteObject { - // operator_address define the account address of operator who delete the object - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who delete the object + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name define the name of the bucket string bucket_name = 2; // object_name define the name of the object @@ -203,8 +203,8 @@ message EventDeleteObject { // EventRejectSealObject is emitted on MsgRejectSealObject message EventRejectSealObject { - // operator_address define the account address of operator who reject seal object - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who reject seal object + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name define the name of the bucket string bucket_name = 2; // object_name define the name of the object @@ -219,8 +219,8 @@ message EventRejectSealObject { // EventCreateGroup is emitted on MsgCreateGroup message EventCreateGroup { - // owner_address define the account address of group owner - string owner_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // owner define the account address of group owner + string owner = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // group_name define the name of the group string group_name = 2; // id define an u256 id for group @@ -237,8 +237,8 @@ message EventCreateGroup { // EventDeleteGroup is emitted on MsgDeleteGroup message EventDeleteGroup { - // owner_address define the account address of group owner - string owner_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // owner define the account address of group owner + string owner = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // group_name define the name of the group string group_name = 3; // id define an u256 id for group @@ -253,8 +253,8 @@ message EventDeleteGroup { message EventLeaveGroup { // member_address define the address of the member who leave the group string member_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // owner_address define the account address of group owner - string owner_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // owner define the account address of group owner + string owner = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // group_name define the name of the group string group_name = 3; // id define an u256 id for group @@ -267,10 +267,10 @@ message EventLeaveGroup { // EventUpdateGroupMember is emitted on MsgUpdateGroupMember message EventUpdateGroupMember { - // operator_address define the account address of operator who update the group member - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // owner_address define the account address of group owner - string owner_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who update the group member + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // owner define the account address of group owner + string owner = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // group_name define the name of the group string group_name = 3; // id define an u256 id for group @@ -287,8 +287,8 @@ message EventUpdateGroupMember { // EventMirrorBucket is emitted on MirrorBucket message EventMirrorBucket { - // operator_address define the account address of operator who mirror the bucket - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who mirror the bucket + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name defines the name of the bucket string bucket_name = 2; // bucket_id define an u256 id for bucket @@ -315,8 +315,8 @@ message EventMirrorBucketResult { // EventMirrorObject is emitted on MirrorObject message EventMirrorObject { - // operator_address define the account address of operator who delete the object - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator define the account address of operator who delete the object + string operator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // bucket_name define the name of the bucket string bucket_name = 2; // object_name define the name of the object @@ -347,8 +347,8 @@ message EventMirrorObjectResult { // EventMirrorGroup is emitted on MirrorGroup message EventMirrorGroup { - // owner_address define the account address of group owner - string owner_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // owner define the account address of group owner + string owner = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // group_name define the name of the group string group_name = 2; // group_id define an u256 id for group diff --git a/x/storage/keeper/keeper.go b/x/storage/keeper/keeper.go index 25d69b12d..53aa89803 100644 --- a/x/storage/keeper/keeper.go +++ b/x/storage/keeper/keeper.go @@ -130,7 +130,7 @@ func (k Keeper) CreateBucket( // emit CreateBucket Event if err = ctx.EventManager().EmitTypedEvents(&types.EventCreateBucket{ - OwnerAddress: bucketInfo.Owner, + Owner: bucketInfo.Owner, BucketName: bucketInfo.BucketName, Visibility: bucketInfo.Visibility, CreateAt: bucketInfo.CreateAt, @@ -179,8 +179,8 @@ func (k Keeper) DeleteBucket(ctx sdk.Context, operator sdk.AccAddress, bucketNam store.Delete(types.GetBucketByIDKey(bucketInfo.Id)) if err := ctx.EventManager().EmitTypedEvents(&types.EventDeleteBucket{ - OperatorAddress: operator.String(), - OwnerAddress: bucketInfo.Owner, + Operator: operator.String(), + Owner: bucketInfo.Owner, BucketName: bucketInfo.BucketName, BucketId: bucketInfo.Id, PrimarySpAddress: bucketInfo.PrimarySpAddress, @@ -237,7 +237,7 @@ func (k Keeper) UpdateBucketInfo(ctx sdk.Context, operator sdk.AccAddress, bucke store.Set(types.GetBucketByIDKey(bucketInfo.Id), bz) if err := ctx.EventManager().EmitTypedEvents(&types.EventUpdateBucketInfo{ - OperatorAddress: operator.String(), + Operator: operator.String(), BucketName: bucketName, BucketId: bucketInfo.Id, ChargedReadQuotaBefore: bucketInfo.ChargedReadQuota, @@ -373,8 +373,8 @@ func (k Keeper) CreateObject( store.Set(types.GetObjectByIDKey(objectInfo.Id), obz) if err := ctx.EventManager().EmitTypedEvents(&types.EventCreateObject{ - CreatorAddress: operator.String(), - OwnerAddress: objectInfo.Owner, + Creator: operator.String(), + Owner: objectInfo.Owner, BucketName: bucketInfo.BucketName, ObjectName: objectInfo.ObjectName, BucketId: bucketInfo.Id, @@ -494,7 +494,7 @@ func (k Keeper) SealObject( store.Set(types.GetObjectByIDKey(objectInfo.Id), obz) if err := ctx.EventManager().EmitTypedEvents(&types.EventSealObject{ - OperatorAddress: spSealAcc.String(), + Operator: spSealAcc.String(), BucketName: bucketInfo.BucketName, ObjectName: objectInfo.ObjectName, ObjectId: objectInfo.Id, @@ -551,7 +551,7 @@ func (k Keeper) CancelCreateObject( store.Delete(types.GetObjectByIDKey(objectInfo.Id)) if err := ctx.EventManager().EmitTypedEvents(&types.EventCancelCreateObject{ - OperatorAddress: operator.String(), + Operator: operator.String(), BucketName: bucketInfo.BucketName, ObjectName: objectInfo.ObjectName, PrimarySpAddress: bucketInfo.PrimarySpAddress, @@ -603,7 +603,7 @@ func (k Keeper) DeleteObject( store.Delete(types.GetObjectByIDKey(objectInfo.Id)) if err := ctx.EventManager().EmitTypedEvents(&types.EventDeleteObject{ - OperatorAddress: operator.String(), + Operator: operator.String(), BucketName: bucketInfo.BucketName, ObjectName: objectInfo.ObjectName, ObjectId: objectInfo.Id, @@ -687,13 +687,13 @@ func (k Keeper) CopyObject( store.Set(types.GetObjectByIDKey(objectInfo.Id), obz) if err := ctx.EventManager().EmitTypedEvents(&types.EventCopyObject{ - OperatorAddress: operator.String(), - SrcBucketName: srcObjectInfo.BucketName, - SrcObjectName: srcObjectInfo.ObjectName, - DstBucketName: objectInfo.BucketName, - DstObjectName: objectInfo.ObjectName, - SrcObjectId: srcObjectInfo.Id, - DstObjectId: objectInfo.Id, + Operator: operator.String(), + SrcBucketName: srcObjectInfo.BucketName, + SrcObjectName: srcObjectInfo.ObjectName, + DstBucketName: objectInfo.BucketName, + DstObjectName: objectInfo.ObjectName, + SrcObjectId: srcObjectInfo.Id, + DstObjectId: objectInfo.Id, }); err != nil { return sdkmath.ZeroUint(), err } @@ -739,10 +739,10 @@ func (k Keeper) RejectSealObject(ctx sdk.Context, operator sdk.AccAddress, bucke store.Delete(types.GetObjectByIDKey(objectInfo.Id)) if err := ctx.EventManager().EmitTypedEvents(&types.EventRejectSealObject{ - OperatorAddress: operator.String(), - BucketName: bucketInfo.BucketName, - ObjectName: objectInfo.ObjectName, - ObjectId: objectInfo.Id, + Operator: operator.String(), + BucketName: bucketInfo.BucketName, + ObjectName: objectInfo.ObjectName, + ObjectId: objectInfo.Id, }); err != nil { return err } @@ -783,11 +783,11 @@ func (k Keeper) CreateGroup( } } if err := ctx.EventManager().EmitTypedEvents(&types.EventCreateGroup{ - OwnerAddress: groupInfo.Owner, - GroupName: groupInfo.GroupName, - GroupId: groupInfo.Id, - SourceType: groupInfo.SourceType, - Members: opts.Members, + Owner: groupInfo.Owner, + GroupName: groupInfo.GroupName, + GroupId: groupInfo.Id, + SourceType: groupInfo.SourceType, + Members: opts.Members, }); err != nil { return sdkmath.ZeroUint(), err } @@ -852,9 +852,9 @@ func (k Keeper) DeleteGroup(ctx sdk.Context, operator sdk.AccAddress, groupName store.Delete(types.GetGroupByIDKey(groupInfo.Id)) if err := ctx.EventManager().EmitTypedEvents(&types.EventDeleteGroup{ - OwnerAddress: groupInfo.Owner, - GroupName: groupInfo.GroupName, - GroupId: groupInfo.Id, + Owner: groupInfo.Owner, + GroupName: groupInfo.GroupName, + GroupId: groupInfo.Id, }); err != nil { return err } @@ -880,9 +880,9 @@ func (k Keeper) LeaveGroup( } if err := ctx.EventManager().EmitTypedEvents(&types.EventDeleteGroup{ - OwnerAddress: groupInfo.Owner, - GroupName: groupInfo.GroupName, - GroupId: groupInfo.Id, + Owner: groupInfo.Owner, + GroupName: groupInfo.GroupName, + GroupId: groupInfo.Id, }); err != nil { return err } @@ -925,8 +925,8 @@ func (k Keeper) UpdateGroupMember(ctx sdk.Context, operator sdk.AccAddress, grou } if err := ctx.EventManager().EmitTypedEvents(&types.EventUpdateGroupMember{ - OperatorAddress: operator.String(), - OwnerAddress: groupInfo.Owner, + Operator: operator.String(), + Owner: groupInfo.Owner, GroupName: groupInfo.GroupName, GroupId: groupInfo.Id, MembersToAdd: opts.MembersToAdd, diff --git a/x/storage/keeper/msg_server.go b/x/storage/keeper/msg_server.go index 13c2a8736..3a128b74c 100644 --- a/x/storage/keeper/msg_server.go +++ b/x/storage/keeper/msg_server.go @@ -378,10 +378,10 @@ func (k msgServer) MirrorObject(goCtx context.Context, msg *types.MsgMirrorObjec k.Keeper.SetObjectInfo(ctx, objectInfo) if err := ctx.EventManager().EmitTypedEvents(&types.EventMirrorObject{ - OperatorAddress: objectInfo.Owner, - BucketName: objectInfo.BucketName, - ObjectName: objectInfo.ObjectName, - ObjectId: objectInfo.Id, + Operator: objectInfo.Owner, + BucketName: objectInfo.BucketName, + ObjectName: objectInfo.ObjectName, + ObjectId: objectInfo.Id, }); err != nil { return nil, err } @@ -444,9 +444,9 @@ func (k msgServer) MirrorBucket(goCtx context.Context, msg *types.MsgMirrorBucke k.Keeper.SetBucketInfo(ctx, bucketInfo) if err := ctx.EventManager().EmitTypedEvents(&types.EventMirrorBucket{ - OperatorAddress: bucketInfo.Owner, - BucketName: bucketInfo.BucketName, - BucketId: bucketInfo.Id, + Operator: bucketInfo.Owner, + BucketName: bucketInfo.BucketName, + BucketId: bucketInfo.Id, }); err != nil { return nil, err } @@ -505,9 +505,9 @@ func (k msgServer) MirrorGroup(goCtx context.Context, msg *types.MsgMirrorGroup) k.Keeper.SetGroupInfo(ctx, groupInfo) if err := ctx.EventManager().EmitTypedEvents(&types.EventMirrorGroup{ - OwnerAddress: groupInfo.Owner, - GroupName: groupInfo.GroupName, - GroupId: groupInfo.Id, + Owner: groupInfo.Owner, + GroupName: groupInfo.GroupName, + GroupId: groupInfo.Id, }); err != nil { return nil, err } diff --git a/x/storage/types/events.pb.go b/x/storage/types/events.pb.go index 94e570469..26c798d40 100644 --- a/x/storage/types/events.pb.go +++ b/x/storage/types/events.pb.go @@ -26,8 +26,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // EventCreateBucket is emitted on MsgCreateBucket type EventCreateBucket struct { - // owner_address define the account address of bucket owner - OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + // owner define the account address of bucket owner + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // bucket_name is a globally unique name of bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // visibility defines the highest permissions for bucket. When a bucket is public, everyone can get the object under it. @@ -79,9 +79,9 @@ func (m *EventCreateBucket) XXX_DiscardUnknown() { var xxx_messageInfo_EventCreateBucket proto.InternalMessageInfo -func (m *EventCreateBucket) GetOwnerAddress() string { +func (m *EventCreateBucket) GetOwner() string { if m != nil { - return m.OwnerAddress + return m.Owner } return "" } @@ -137,10 +137,10 @@ func (m *EventCreateBucket) GetPrimarySpAddress() string { // EventDeleteBucket is emitted on MsgDeleteBucket type EventDeleteBucket struct { - // operator_address define the account address of operator who delete the bucket - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` - // owner_address define the account address of the bucket owner - OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + // operator define the account address of operator who delete the bucket + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` + // owner define the account address of the bucket owner + Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // bucket_name define the name of the deleted bucket BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // bucket_id define an u256 id for bucket @@ -182,16 +182,16 @@ func (m *EventDeleteBucket) XXX_DiscardUnknown() { var xxx_messageInfo_EventDeleteBucket proto.InternalMessageInfo -func (m *EventDeleteBucket) GetOperatorAddress() string { +func (m *EventDeleteBucket) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } -func (m *EventDeleteBucket) GetOwnerAddress() string { +func (m *EventDeleteBucket) GetOwner() string { if m != nil { - return m.OwnerAddress + return m.Owner } return "" } @@ -212,8 +212,8 @@ func (m *EventDeleteBucket) GetPrimarySpAddress() string { // EventUpdateBucketInfo is emitted on MsgUpdateBucketInfo type EventUpdateBucketInfo struct { - // operator_address define the account address of operator who update the bucket - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` + // operator define the account address of operator who update the bucket + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // bucket_id define an u256 id for bucket @@ -263,9 +263,9 @@ func (m *EventUpdateBucketInfo) XXX_DiscardUnknown() { var xxx_messageInfo_EventUpdateBucketInfo proto.InternalMessageInfo -func (m *EventUpdateBucketInfo) GetOperatorAddress() string { +func (m *EventUpdateBucketInfo) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } @@ -314,10 +314,10 @@ func (m *EventUpdateBucketInfo) GetVisibility() VisibilityType { // EventCreateObject is emitted on MsgCreateObject type EventCreateObject struct { - // creator_address define the account address of msg creator - CreatorAddress string `protobuf:"bytes,1,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` - // owner_address define the account address of object owner - OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + // creator define the account address of msg creator + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + // owner define the account address of object owner + Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // bucket_name define the name of bucket BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of object @@ -379,16 +379,16 @@ func (m *EventCreateObject) XXX_DiscardUnknown() { var xxx_messageInfo_EventCreateObject proto.InternalMessageInfo -func (m *EventCreateObject) GetCreatorAddress() string { +func (m *EventCreateObject) GetCreator() string { if m != nil { - return m.CreatorAddress + return m.Creator } return "" } -func (m *EventCreateObject) GetOwnerAddress() string { +func (m *EventCreateObject) GetOwner() string { if m != nil { - return m.OwnerAddress + return m.Owner } return "" } @@ -472,8 +472,8 @@ func (m *EventCreateObject) GetChecksums() [][]byte { // EventSealObject is emitted on MsgSealObject type EventCancelCreateObject struct { - // operator_address define the account address of operator who cancel create object - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` + // operator define the account address of operator who cancel create object + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object @@ -517,9 +517,9 @@ func (m *EventCancelCreateObject) XXX_DiscardUnknown() { var xxx_messageInfo_EventCancelCreateObject proto.InternalMessageInfo -func (m *EventCancelCreateObject) GetOperatorAddress() string { +func (m *EventCancelCreateObject) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } @@ -547,8 +547,8 @@ func (m *EventCancelCreateObject) GetPrimarySpAddress() string { // EventSealObject is emitted on MsgSealObject type EventSealObject struct { - // operator_address define the account address of operator who seal object - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` + // operator define the account address of operator who seal object + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object @@ -594,9 +594,9 @@ func (m *EventSealObject) XXX_DiscardUnknown() { var xxx_messageInfo_EventSealObject proto.InternalMessageInfo -func (m *EventSealObject) GetOperatorAddress() string { +func (m *EventSealObject) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } @@ -631,8 +631,8 @@ func (m *EventSealObject) GetSecondarySpAddresses() []string { // EventCopyObject is emitted on MsgCopyObject type EventCopyObject struct { - // operator_address define the account address of operator who copy the object - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` + // operator define the account address of operator who copy the object + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // src_bucket_name define the name of the src bucket SrcBucketName string `protobuf:"bytes,2,opt,name=src_bucket_name,json=srcBucketName,proto3" json:"src_bucket_name,omitempty"` // src_object_name define the name of the src object @@ -680,9 +680,9 @@ func (m *EventCopyObject) XXX_DiscardUnknown() { var xxx_messageInfo_EventCopyObject proto.InternalMessageInfo -func (m *EventCopyObject) GetOperatorAddress() string { +func (m *EventCopyObject) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } @@ -717,8 +717,8 @@ func (m *EventCopyObject) GetDstObjectName() string { // EventDeleteObject is emitted on MsgDeleteObject type EventDeleteObject struct { - // operator_address define the account address of operator who delete the object - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` + // operator define the account address of operator who delete the object + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object @@ -764,9 +764,9 @@ func (m *EventDeleteObject) XXX_DiscardUnknown() { var xxx_messageInfo_EventDeleteObject proto.InternalMessageInfo -func (m *EventDeleteObject) GetOperatorAddress() string { +func (m *EventDeleteObject) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } @@ -801,8 +801,8 @@ func (m *EventDeleteObject) GetSecondarySpAddresses() []string { // EventRejectSealObject is emitted on MsgRejectSealObject type EventRejectSealObject struct { - // operator_address define the account address of operator who reject seal object - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` + // operator define the account address of operator who reject seal object + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object @@ -844,9 +844,9 @@ func (m *EventRejectSealObject) XXX_DiscardUnknown() { var xxx_messageInfo_EventRejectSealObject proto.InternalMessageInfo -func (m *EventRejectSealObject) GetOperatorAddress() string { +func (m *EventRejectSealObject) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } @@ -867,8 +867,8 @@ func (m *EventRejectSealObject) GetObjectName() string { // EventCreateGroup is emitted on MsgCreateGroup type EventCreateGroup struct { - // owner_address define the account address of group owner - OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + // owner define the account address of group owner + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group @@ -912,9 +912,9 @@ func (m *EventCreateGroup) XXX_DiscardUnknown() { var xxx_messageInfo_EventCreateGroup proto.InternalMessageInfo -func (m *EventCreateGroup) GetOwnerAddress() string { +func (m *EventCreateGroup) GetOwner() string { if m != nil { - return m.OwnerAddress + return m.Owner } return "" } @@ -942,8 +942,8 @@ func (m *EventCreateGroup) GetMembers() []string { // EventDeleteGroup is emitted on MsgDeleteGroup type EventDeleteGroup struct { - // owner_address define the account address of group owner - OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + // owner define the account address of group owner + Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group @@ -983,9 +983,9 @@ func (m *EventDeleteGroup) XXX_DiscardUnknown() { var xxx_messageInfo_EventDeleteGroup proto.InternalMessageInfo -func (m *EventDeleteGroup) GetOwnerAddress() string { +func (m *EventDeleteGroup) GetOwner() string { if m != nil { - return m.OwnerAddress + return m.Owner } return "" } @@ -1001,8 +1001,8 @@ func (m *EventDeleteGroup) GetGroupName() string { type EventLeaveGroup struct { // member_address define the address of the member who leave the group MemberAddress string `protobuf:"bytes,1,opt,name=member_address,json=memberAddress,proto3" json:"member_address,omitempty"` - // owner_address define the account address of group owner - OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + // owner define the account address of group owner + Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group @@ -1049,9 +1049,9 @@ func (m *EventLeaveGroup) GetMemberAddress() string { return "" } -func (m *EventLeaveGroup) GetOwnerAddress() string { +func (m *EventLeaveGroup) GetOwner() string { if m != nil { - return m.OwnerAddress + return m.Owner } return "" } @@ -1065,10 +1065,10 @@ func (m *EventLeaveGroup) GetGroupName() string { // EventUpdateGroupMember is emitted on MsgUpdateGroupMember type EventUpdateGroupMember struct { - // operator_address define the account address of operator who update the group member - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` - // owner_address define the account address of group owner - OwnerAddress string `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + // operator define the account address of operator who update the group member + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` + // owner define the account address of group owner + Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // id define an u256 id for group @@ -1112,16 +1112,16 @@ func (m *EventUpdateGroupMember) XXX_DiscardUnknown() { var xxx_messageInfo_EventUpdateGroupMember proto.InternalMessageInfo -func (m *EventUpdateGroupMember) GetOperatorAddress() string { +func (m *EventUpdateGroupMember) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } -func (m *EventUpdateGroupMember) GetOwnerAddress() string { +func (m *EventUpdateGroupMember) GetOwner() string { if m != nil { - return m.OwnerAddress + return m.Owner } return "" } @@ -1149,8 +1149,8 @@ func (m *EventUpdateGroupMember) GetMembersToDelete() []string { // EventMirrorBucket is emitted on MirrorBucket type EventMirrorBucket struct { - // operator_address define the account address of operator who mirror the bucket - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` + // operator define the account address of operator who mirror the bucket + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name defines the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // bucket_id define an u256 id for bucket @@ -1190,9 +1190,9 @@ func (m *EventMirrorBucket) XXX_DiscardUnknown() { var xxx_messageInfo_EventMirrorBucket proto.InternalMessageInfo -func (m *EventMirrorBucket) GetOperatorAddress() string { +func (m *EventMirrorBucket) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } @@ -1263,8 +1263,8 @@ func (m *EventMirrorBucketResult) GetBucketName() string { // EventMirrorObject is emitted on MirrorObject type EventMirrorObject struct { - // operator_address define the account address of operator who delete the object - OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` + // operator define the account address of operator who delete the object + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` // bucket_name define the name of the bucket BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // object_name define the name of the object @@ -1306,9 +1306,9 @@ func (m *EventMirrorObject) XXX_DiscardUnknown() { var xxx_messageInfo_EventMirrorObject proto.InternalMessageInfo -func (m *EventMirrorObject) GetOperatorAddress() string { +func (m *EventMirrorObject) GetOperator() string { if m != nil { - return m.OperatorAddress + return m.Operator } return "" } @@ -1395,8 +1395,8 @@ func (m *EventMirrorObjectResult) GetObjectName() string { // EventMirrorGroup is emitted on MirrorGroup type EventMirrorGroup struct { - // owner_address define the account address of group owner - OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + // owner define the account address of group owner + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // group_name define the name of the group GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // group_id define an u256 id for group @@ -1436,9 +1436,9 @@ func (m *EventMirrorGroup) XXX_DiscardUnknown() { var xxx_messageInfo_EventMirrorGroup proto.InternalMessageInfo -func (m *EventMirrorGroup) GetOwnerAddress() string { +func (m *EventMirrorGroup) GetOwner() string { if m != nil { - return m.OwnerAddress + return m.Owner } return "" } @@ -1532,86 +1532,85 @@ func init() { func init() { proto.RegisterFile("greenfield/storage/events.proto", fileDescriptor_946dcba4f763ddc4) } var fileDescriptor_946dcba4f763ddc4 = []byte{ - // 1257 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xbf, 0x73, 0x1b, 0xc5, - 0x17, 0xf7, 0x49, 0x67, 0x59, 0x5a, 0xfd, 0x72, 0xee, 0x6b, 0xfb, 0x7b, 0x89, 0x41, 0x56, 0xae, - 0x08, 0x66, 0xc0, 0xd2, 0x8c, 0x61, 0x20, 0x14, 0x90, 0x91, 0x1d, 0x7e, 0x78, 0x20, 0xc9, 0x70, - 0x72, 0x28, 0x68, 0x6e, 0x56, 0x77, 0x6b, 0xf9, 0x88, 0x74, 0x7b, 0xec, 0xae, 0x0c, 0xca, 0x3f, - 0x40, 0x43, 0x41, 0x4d, 0x49, 0xc1, 0xd0, 0x50, 0x91, 0x8a, 0x9a, 0x22, 0x65, 0x26, 0x43, 0x91, - 0xa1, 0xc8, 0x30, 0xf6, 0x30, 0x43, 0xc1, 0x1f, 0x00, 0x1d, 0x73, 0xbb, 0xab, 0xf3, 0x9d, 0xe4, - 0x48, 0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, 0xfc, 0x7e, 0x58, 0x51, 0xbe, 0x39, 0xaa, - 0xcc, 0x3d, 0x3a, 0xaa, 0xcc, 0x3d, 0x39, 0xaa, 0xcc, 0x7d, 0x5a, 0x6f, 0xbb, 0x6c, 0xbf, 0xd7, - 0xaa, 0xd9, 0xb8, 0x5b, 0x6f, 0x79, 0xad, 0x0d, 0x3e, 0xa0, 0xeb, 0x91, 0x6f, 0xec, 0x5f, 0x86, - 0x5f, 0xd9, 0x83, 0x59, 0x4e, 0x5b, 0x19, 0xfe, 0x95, 0xfd, 0xb5, 0x7f, 0x03, 0x00, 0x00, 0xff, - 0xff, 0x94, 0x22, 0xd5, 0x80, 0xf7, 0x17, 0x00, 0x00, + // 1246 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xcf, 0xda, 0x1b, 0xff, 0x19, 0xc7, 0x71, 0xba, 0x24, 0x61, 0xdb, 0x80, 0xe3, 0xee, 0xa1, + 0x04, 0x41, 0x6c, 0x29, 0x54, 0x50, 0x2e, 0x54, 0x4e, 0xcb, 0x9f, 0x08, 0xda, 0x8a, 0x75, 0xca, + 0x81, 0xcb, 0x6a, 0xbc, 0x3b, 0x71, 0x96, 0xda, 0x3b, 0xcb, 0xcc, 0x38, 0xe0, 0x7e, 0x01, 0x0e, + 0x70, 0x40, 0xe2, 0x80, 0x90, 0x38, 0x22, 0x6e, 0xdc, 0xfa, 0x15, 0x90, 0xca, 0xad, 0x2a, 0x12, + 0xe2, 0x8f, 0xa8, 0x50, 0x72, 0xe2, 0x5b, 0xa0, 0x9d, 0x19, 0xaf, 0x77, 0xed, 0x60, 0x7b, 0x6d, + 0x02, 0xe1, 0x66, 0xbf, 0x7d, 0x6f, 0xe6, 0xf7, 0x7e, 0xf3, 0x7b, 0xef, 0xcd, 0x2e, 0xd8, 0x6c, + 0x11, 0x84, 0xbc, 0x03, 0x17, 0xb5, 0x9d, 0x1a, 0x65, 0x98, 0xc0, 0x16, 0xaa, 0xa1, 0x23, 0xe4, + 0x31, 0x5a, 0xf5, 0x09, 0x66, 0x58, 0xdb, 0x68, 0x7a, 0x4d, 0xfb, 0x10, 0xba, 0x5e, 0x75, 0xe0, + 0x59, 0x95, 0x9e, 0x97, 0x2e, 0xda, 0x98, 0x76, 0x30, 0xb5, 0xb8, 0x6b, 0x4d, 0xfc, 0x11, 0x71, + 0x97, 0x56, 0x5b, 0xb8, 0x85, 0x85, 0x3d, 0xf8, 0x25, 0xad, 0xa7, 0x6d, 0x67, 0xe3, 0x4e, 0x07, + 0x7b, 0xc2, 0xc1, 0xf8, 0x54, 0x05, 0x17, 0x5e, 0x0f, 0xf6, 0xbf, 0x41, 0x10, 0x64, 0x68, 0xb7, + 0x6b, 0xdf, 0x43, 0x4c, 0xab, 0x82, 0x45, 0xfc, 0x91, 0x87, 0x88, 0xae, 0x54, 0x94, 0xad, 0xfc, + 0xae, 0xfe, 0xf8, 0xc1, 0xf6, 0xaa, 0xdc, 0xad, 0xee, 0x38, 0x04, 0x51, 0xda, 0x60, 0xc4, 0xf5, + 0x5a, 0xa6, 0x70, 0xd3, 0x36, 0x41, 0xa1, 0xc9, 0x23, 0x2d, 0x0f, 0x76, 0x90, 0x9e, 0x0a, 0xa2, + 0x4c, 0x20, 0x4c, 0xb7, 0x61, 0x07, 0x69, 0x6f, 0x03, 0x70, 0xe4, 0x52, 0xb7, 0xe9, 0xb6, 0x5d, + 0xd6, 0xd3, 0xd3, 0x15, 0x65, 0x6b, 0x79, 0xe7, 0x85, 0xea, 0x98, 0x54, 0xab, 0xef, 0x85, 0xee, + 0xfb, 0x3d, 0x1f, 0x99, 0x91, 0x70, 0x6d, 0x03, 0xe4, 0x6d, 0x8e, 0xd6, 0x82, 0x4c, 0x57, 0x2b, + 0xca, 0x56, 0xda, 0xcc, 0x09, 0x43, 0x9d, 0x69, 0xd7, 0x40, 0x5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9, 0x35, 0xb7, 0xf9, 0xdc, 0xac, + 0x45, 0x3e, 0x23, 0x7f, 0x1c, 0x7e, 0x48, 0x0e, 0x46, 0x2c, 0x6d, 0x66, 0xf8, 0x87, 0xe4, 0x97, + 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xba, 0x82, 0xf4, 0x2c, 0xda, 0x16, 0x00, 0x00, } func (m *EventCreateBucket) Marshal() (dAtA []byte, err error) { @@ -1685,10 +1684,10 @@ func (m *EventCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OwnerAddress) > 0 { - i -= len(m.OwnerAddress) - copy(dAtA[i:], m.OwnerAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OwnerAddress))) + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Owner))) i-- dAtA[i] = 0xa } @@ -1739,17 +1738,17 @@ func (m *EventDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.OwnerAddress) > 0 { - i -= len(m.OwnerAddress) - copy(dAtA[i:], m.OwnerAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OwnerAddress))) + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Owner))) i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -1822,10 +1821,10 @@ func (m *EventUpdateBucketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -1941,17 +1940,17 @@ func (m *EventCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.OwnerAddress) > 0 { - i -= len(m.OwnerAddress) - copy(dAtA[i:], m.OwnerAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OwnerAddress))) + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Owner))) i-- dAtA[i] = 0x12 } - if len(m.CreatorAddress) > 0 { - i -= len(m.CreatorAddress) - copy(dAtA[i:], m.CreatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.CreatorAddress))) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } @@ -2009,10 +2008,10 @@ func (m *EventCancelCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -2077,10 +2076,10 @@ func (m *EventSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -2155,10 +2154,10 @@ func (m *EventCopyObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -2225,10 +2224,10 @@ func (m *EventDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -2279,10 +2278,10 @@ func (m *EventRejectSealObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -2340,10 +2339,10 @@ func (m *EventCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OwnerAddress) > 0 { - i -= len(m.OwnerAddress) - copy(dAtA[i:], m.OwnerAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OwnerAddress))) + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Owner))) i-- dAtA[i] = 0xa } @@ -2387,10 +2386,10 @@ func (m *EventDeleteGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.OwnerAddress) > 0 { - i -= len(m.OwnerAddress) - copy(dAtA[i:], m.OwnerAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OwnerAddress))) + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Owner))) i-- dAtA[i] = 0x12 } @@ -2434,10 +2433,10 @@ func (m *EventLeaveGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.OwnerAddress) > 0 { - i -= len(m.OwnerAddress) - copy(dAtA[i:], m.OwnerAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OwnerAddress))) + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Owner))) i-- dAtA[i] = 0x12 } @@ -2506,17 +2505,17 @@ func (m *EventUpdateGroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x1a } - if len(m.OwnerAddress) > 0 { - i -= len(m.OwnerAddress) - copy(dAtA[i:], m.OwnerAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OwnerAddress))) + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Owner))) i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -2560,10 +2559,10 @@ func (m *EventMirrorBucket) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -2659,10 +2658,10 @@ func (m *EventMirrorObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OperatorAddress) > 0 { - i -= len(m.OperatorAddress) - copy(dAtA[i:], m.OperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress))) + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0xa } @@ -2758,10 +2757,10 @@ func (m *EventMirrorGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.OwnerAddress) > 0 { - i -= len(m.OwnerAddress) - copy(dAtA[i:], m.OwnerAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OwnerAddress))) + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Owner))) i-- dAtA[i] = 0xa } @@ -2830,7 +2829,7 @@ func (m *EventCreateBucket) Size() (n int) { } var l int _ = l - l = len(m.OwnerAddress) + l = len(m.Owner) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -2869,11 +2868,11 @@ func (m *EventDeleteBucket) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } - l = len(m.OwnerAddress) + l = len(m.Owner) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -2896,7 +2895,7 @@ func (m *EventUpdateBucketInfo) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -2932,11 +2931,11 @@ func (m *EventCreateObject) Size() (n int) { } var l int _ = l - l = len(m.CreatorAddress) + l = len(m.Creator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } - l = len(m.OwnerAddress) + l = len(m.Owner) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -2993,7 +2992,7 @@ func (m *EventCancelCreateObject) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3020,7 +3019,7 @@ func (m *EventSealObject) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3052,7 +3051,7 @@ func (m *EventCopyObject) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3085,7 +3084,7 @@ func (m *EventDeleteObject) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3118,7 +3117,7 @@ func (m *EventRejectSealObject) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3141,7 +3140,7 @@ func (m *EventCreateGroup) Size() (n int) { } var l int _ = l - l = len(m.OwnerAddress) + l = len(m.Owner) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3169,7 +3168,7 @@ func (m *EventDeleteGroup) Size() (n int) { } var l int _ = l - l = len(m.OwnerAddress) + l = len(m.Owner) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3192,7 +3191,7 @@ func (m *EventLeaveGroup) Size() (n int) { if l > 0 { n += 1 + l + sovEvents(uint64(l)) } - l = len(m.OwnerAddress) + l = len(m.Owner) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3211,11 +3210,11 @@ func (m *EventUpdateGroupMember) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } - l = len(m.OwnerAddress) + l = len(m.Owner) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3246,7 +3245,7 @@ func (m *EventMirrorBucket) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3283,7 +3282,7 @@ func (m *EventMirrorObject) Size() (n int) { } var l int _ = l - l = len(m.OperatorAddress) + l = len(m.Operator) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3328,7 +3327,7 @@ func (m *EventMirrorGroup) Size() (n int) { } var l int _ = l - l = len(m.OwnerAddress) + l = len(m.Owner) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -3396,7 +3395,7 @@ func (m *EventCreateBucket) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3424,7 +3423,7 @@ func (m *EventCreateBucket) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerAddress = string(dAtA[iNdEx:postIndex]) + m.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -3684,7 +3683,7 @@ func (m *EventDeleteBucket) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3712,11 +3711,11 @@ func (m *EventDeleteBucket) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3744,7 +3743,7 @@ func (m *EventDeleteBucket) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerAddress = string(dAtA[iNdEx:postIndex]) + m.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -3896,7 +3895,7 @@ func (m *EventUpdateBucketInfo) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3924,7 +3923,7 @@ func (m *EventUpdateBucketInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -4165,7 +4164,7 @@ func (m *EventCreateObject) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4193,11 +4192,11 @@ func (m *EventCreateObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CreatorAddress = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4225,7 +4224,7 @@ func (m *EventCreateObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerAddress = string(dAtA[iNdEx:postIndex]) + m.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -4621,7 +4620,7 @@ func (m *EventCancelCreateObject) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4649,7 +4648,7 @@ func (m *EventCancelCreateObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -4833,7 +4832,7 @@ func (m *EventSealObject) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4861,7 +4860,7 @@ func (m *EventSealObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5064,7 +5063,7 @@ func (m *EventCopyObject) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5092,7 +5091,7 @@ func (m *EventCopyObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5342,7 +5341,7 @@ func (m *EventDeleteObject) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5370,7 +5369,7 @@ func (m *EventDeleteObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5586,7 +5585,7 @@ func (m *EventRejectSealObject) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5614,7 +5613,7 @@ func (m *EventRejectSealObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5766,7 +5765,7 @@ func (m *EventCreateGroup) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5794,7 +5793,7 @@ func (m *EventCreateGroup) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerAddress = string(dAtA[iNdEx:postIndex]) + m.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5965,7 +5964,7 @@ func (m *EventDeleteGroup) Unmarshal(dAtA []byte) error { switch fieldNum { case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5993,7 +5992,7 @@ func (m *EventDeleteGroup) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerAddress = string(dAtA[iNdEx:postIndex]) + m.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -6145,7 +6144,7 @@ func (m *EventLeaveGroup) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6173,7 +6172,7 @@ func (m *EventLeaveGroup) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerAddress = string(dAtA[iNdEx:postIndex]) + m.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -6293,7 +6292,7 @@ func (m *EventUpdateGroupMember) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6321,11 +6320,11 @@ func (m *EventUpdateGroupMember) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6353,7 +6352,7 @@ func (m *EventUpdateGroupMember) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerAddress = string(dAtA[iNdEx:postIndex]) + m.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -6537,7 +6536,7 @@ func (m *EventMirrorBucket) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6565,7 +6564,7 @@ func (m *EventMirrorBucket) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -6820,7 +6819,7 @@ func (m *EventMirrorObject) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6848,7 +6847,7 @@ func (m *EventMirrorObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + m.Operator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -7167,7 +7166,7 @@ func (m *EventMirrorGroup) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7195,7 +7194,7 @@ func (m *EventMirrorGroup) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerAddress = string(dAtA[iNdEx:postIndex]) + m.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 {