From cec96719687673f41024f35c33cecb5bba27cb21 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Tue, 28 Mar 2023 14:34:44 +0900 Subject: [PATCH 1/2] Update comments in the events proto --- docs/core/proto-docs.md | 4 ++-- proto/lbm/collection/v1/event.proto | 1 + proto/lbm/token/v1/event.proto | 1 + x/collection/event.pb.go | 1 + x/token/event.pb.go | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/core/proto-docs.md b/docs/core/proto-docs.md index c291108b3e..98d40bbae0 100644 --- a/docs/core/proto-docs.md +++ b/docs/core/proto-docs.md @@ -9536,7 +9536,7 @@ Since: 0.46.0 (finschia) | ----- | ---- | ----- | ----------- | | `contract_id` | [string](#string) | | contract id associated with the contract. | | `operator` | [string](#string) | | address which triggered the modify. | -| `changes` | [Attribute](#lbm.collection.v1.Attribute) | repeated | changes of the attributes applied. possible attribute keys are same as those of MsgModify. | +| `changes` | [Attribute](#lbm.collection.v1.Attribute) | repeated | changes of the attributes applied. possible attribute keys are same as those of MsgModify. deprecated "base_img_uri" has been replaced by "uri" in the events. | @@ -13055,7 +13055,7 @@ Since: 0.46.0 (finschia) | ----- | ---- | ----- | ----------- | | `contract_id` | [string](#string) | | contract id associated with the contract. | | `operator` | [string](#string) | | address which triggered the modify. | -| `changes` | [Attribute](#lbm.token.v1.Attribute) | repeated | changes on the metadata of the class. possible attribute keys are same as those of MsgModify. | +| `changes` | [Attribute](#lbm.token.v1.Attribute) | repeated | changes on the metadata of the class. possible attribute keys are same as those of MsgModify. deprecated "img_uri" has been replaced by "uri" in the events. | diff --git a/proto/lbm/collection/v1/event.proto b/proto/lbm/collection/v1/event.proto index 523a8e0ca1..d36c5ae1b5 100644 --- a/proto/lbm/collection/v1/event.proto +++ b/proto/lbm/collection/v1/event.proto @@ -249,6 +249,7 @@ message EventModifiedContract { string operator = 2; // changes of the attributes applied. // possible attribute keys are same as those of MsgModify. + // deprecated "base_img_uri" has been replaced by "uri" in the events. repeated Attribute changes = 3 [(gogoproto.nullable) = false]; } diff --git a/proto/lbm/token/v1/event.proto b/proto/lbm/token/v1/event.proto index 59e05aa414..a21e61248e 100644 --- a/proto/lbm/token/v1/event.proto +++ b/proto/lbm/token/v1/event.proto @@ -182,5 +182,6 @@ message EventModified { string operator = 2; // changes on the metadata of the class. // possible attribute keys are same as those of MsgModify. + // deprecated "img_uri" has been replaced by "uri" in the events. repeated Attribute changes = 3 [(gogoproto.nullable) = false]; } diff --git a/x/collection/event.pb.go b/x/collection/event.pb.go index f53760bf56..a47f72d317 100644 --- a/x/collection/event.pb.go +++ b/x/collection/event.pb.go @@ -1075,6 +1075,7 @@ type EventModifiedContract struct { Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` // changes of the attributes applied. // possible attribute keys are same as those of MsgModify. + // deprecated "base_img_uri" has been replaced by "uri" in the events. Changes []Attribute `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes"` } diff --git a/x/token/event.pb.go b/x/token/event.pb.go index e192477e1b..c3535d55a3 100644 --- a/x/token/event.pb.go +++ b/x/token/event.pb.go @@ -750,6 +750,7 @@ type EventModified struct { Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` // changes on the metadata of the class. // possible attribute keys are same as those of MsgModify. + // deprecated "img_uri" has been replaced by "uri" in the events. Changes []Attribute `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes"` } From e33ff6e530d878a706698835e71ab85ab9d131cd Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Tue, 28 Mar 2023 14:40:50 +0900 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72cb6bd199..5e1c20fc62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -60,3 +60,4 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Document Updates * (x/foundation) [\#934](https://github.com/line/lbm-sdk/pull/934) Update permlinks in x/foundation documents +* (x/collection,token) [\#944](https://github.com/line/lbm-sdk/pull/944) Update comments in the x/token,collection events proto