chore(proto): deprecated IntProto and DecProto (#16980)

This commit is contained in:
Robert Zaremba
2023-07-13 13:28:57 +02:00
committed by GitHub
parent 77562a60dd
commit 914e4e5136
5 changed files with 28 additions and 7 deletions
+2
View File
@@ -1931,6 +1931,7 @@ func (x *DecCoin) GetAmount() string {
}
// IntProto defines a Protobuf wrapper around an Int object.
// Deprecated: Prefer to use math.Int directly. It supports binary Marshal and Unmarshal.
type IntProto struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1967,6 +1968,7 @@ func (x *IntProto) GetInt() string {
}
// DecProto defines a Protobuf wrapper around a Dec object.
// Deprecated: Prefer to use math.LegacyDec directly. It supports binary Marshal and Unmarshal.
type DecProto struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache