From a55848437330223c0a4aca9f8809779b9c407d73 Mon Sep 17 00:00:00 2001 From: nezha <448688985@qq.com> Date: Wed, 10 Apr 2024 10:08:57 +0800 Subject: [PATCH] protobuf update --- api/titan/tokenfactory/denom.pulsar.go | 7 +++---- api/titan/tokenfactory/genesis.pulsar.go | 9 ++++----- api/titan/tokenfactory/module/module.pulsar.go | 9 ++++----- api/titan/tokenfactory/params.pulsar.go | 9 ++++----- api/titan/tokenfactory/query.pulsar.go | 9 ++++----- api/titan/tokenfactory/query_grpc.pb.go | 1 - api/titan/tokenfactory/tx.pulsar.go | 9 ++++----- api/titan/tokenfactory/tx_grpc.pb.go | 1 - go.mod | 2 +- x/tokenfactory/types/denom.pb.go | 3 +-- x/tokenfactory/types/genesis.pb.go | 7 +++---- x/tokenfactory/types/params.pb.go | 7 +++---- x/tokenfactory/types/query.pb.go | 7 +++---- x/tokenfactory/types/tx.pb.go | 7 +++---- 14 files changed, 37 insertions(+), 50 deletions(-) diff --git a/api/titan/tokenfactory/denom.pulsar.go b/api/titan/tokenfactory/denom.pulsar.go index d1211df4..5721b2e5 100644 --- a/api/titan/tokenfactory/denom.pulsar.go +++ b/api/titan/tokenfactory/denom.pulsar.go @@ -3,14 +3,13 @@ package tokenfactory import ( fmt "fmt" - io "io" - reflect "reflect" - sync "sync" - runtime "github.com/cosmos/cosmos-proto/runtime" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" ) var ( diff --git a/api/titan/tokenfactory/genesis.pulsar.go b/api/titan/tokenfactory/genesis.pulsar.go index d6b130b0..f8d49e91 100644 --- a/api/titan/tokenfactory/genesis.pulsar.go +++ b/api/titan/tokenfactory/genesis.pulsar.go @@ -2,17 +2,16 @@ package tokenfactory import ( - fmt "fmt" - io "io" - reflect "reflect" - sync "sync" - _ "cosmossdk.io/api/amino" + fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" ) var _ protoreflect.List = (*_GenesisState_2_list)(nil) diff --git a/api/titan/tokenfactory/module/module.pulsar.go b/api/titan/tokenfactory/module/module.pulsar.go index d17fd151..ab1dfaf4 100644 --- a/api/titan/tokenfactory/module/module.pulsar.go +++ b/api/titan/tokenfactory/module/module.pulsar.go @@ -2,16 +2,15 @@ package module import ( - fmt "fmt" - io "io" - reflect "reflect" - sync "sync" - _ "cosmossdk.io/api/cosmos/app/v1alpha1" + fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" ) var ( diff --git a/api/titan/tokenfactory/params.pulsar.go b/api/titan/tokenfactory/params.pulsar.go index dd9fa56b..b480f471 100644 --- a/api/titan/tokenfactory/params.pulsar.go +++ b/api/titan/tokenfactory/params.pulsar.go @@ -2,17 +2,16 @@ package tokenfactory import ( - fmt "fmt" - io "io" - reflect "reflect" - sync "sync" - _ "cosmossdk.io/api/amino" + fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" ) var ( diff --git a/api/titan/tokenfactory/query.pulsar.go b/api/titan/tokenfactory/query.pulsar.go index 824f08fa..18128c24 100644 --- a/api/titan/tokenfactory/query.pulsar.go +++ b/api/titan/tokenfactory/query.pulsar.go @@ -2,19 +2,18 @@ package tokenfactory import ( - fmt "fmt" - io "io" - reflect "reflect" - sync "sync" - _ "cosmossdk.io/api/amino" v1beta1 "cosmossdk.io/api/cosmos/base/query/v1beta1" + fmt "fmt" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" ) var ( diff --git a/api/titan/tokenfactory/query_grpc.pb.go b/api/titan/tokenfactory/query_grpc.pb.go index f269d120..2adc8557 100644 --- a/api/titan/tokenfactory/query_grpc.pb.go +++ b/api/titan/tokenfactory/query_grpc.pb.go @@ -8,7 +8,6 @@ package tokenfactory import ( context "context" - grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/api/titan/tokenfactory/tx.pulsar.go b/api/titan/tokenfactory/tx.pulsar.go index d83b2cdb..d41521fd 100644 --- a/api/titan/tokenfactory/tx.pulsar.go +++ b/api/titan/tokenfactory/tx.pulsar.go @@ -2,19 +2,18 @@ package tokenfactory import ( - fmt "fmt" - io "io" - reflect "reflect" - sync "sync" - _ "cosmossdk.io/api/amino" _ "cosmossdk.io/api/cosmos/msg/v1" + fmt "fmt" _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" ) var ( diff --git a/api/titan/tokenfactory/tx_grpc.pb.go b/api/titan/tokenfactory/tx_grpc.pb.go index c21e22c1..84844766 100644 --- a/api/titan/tokenfactory/tx_grpc.pb.go +++ b/api/titan/tokenfactory/tx_grpc.pb.go @@ -8,7 +8,6 @@ package tokenfactory import ( context "context" - grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go.mod b/go.mod index 7a27b81e..4e82d841 100644 --- a/go.mod +++ b/go.mod @@ -16,6 +16,7 @@ require ( cosmossdk.io/depinject v1.0.0-alpha.4 cosmossdk.io/errors v1.0.1 cosmossdk.io/log v1.3.0 + cosmossdk.io/math v1.2.0 cosmossdk.io/store v1.0.2 cosmossdk.io/tools/confix v0.1.1 cosmossdk.io/x/circuit v0.1.0 @@ -57,7 +58,6 @@ require ( connectrpc.com/connect v1.12.0 // indirect connectrpc.com/otelconnect v0.6.0 // indirect cosmossdk.io/collections v0.4.0 // indirect - cosmossdk.io/math v1.2.0 // indirect cosmossdk.io/x/tx v0.13.0 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect diff --git a/x/tokenfactory/types/denom.pb.go b/x/tokenfactory/types/denom.pb.go index 0788ec72..32bd4c18 100644 --- a/x/tokenfactory/types/denom.pb.go +++ b/x/tokenfactory/types/denom.pb.go @@ -5,11 +5,10 @@ package types import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" - - proto "github.com/cosmos/gogoproto/proto" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/tokenfactory/types/genesis.pb.go b/x/tokenfactory/types/genesis.pb.go index 05891f1a..f9b94924 100644 --- a/x/tokenfactory/types/genesis.pb.go +++ b/x/tokenfactory/types/genesis.pb.go @@ -5,13 +5,12 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/tokenfactory/types/params.pb.go b/x/tokenfactory/types/params.pb.go index b4ea4499..c13a798c 100644 --- a/x/tokenfactory/types/params.pb.go +++ b/x/tokenfactory/types/params.pb.go @@ -5,13 +5,12 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/tokenfactory/types/query.pb.go b/x/tokenfactory/types/query.pb.go index 71472c14..35c9492c 100644 --- a/x/tokenfactory/types/query.pb.go +++ b/x/tokenfactory/types/query.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" @@ -19,6 +15,9 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/tokenfactory/types/tx.pb.go b/x/tokenfactory/types/tx.pb.go index 4a21b442..4905543a 100644 --- a/x/tokenfactory/types/tx.pb.go +++ b/x/tokenfactory/types/tx.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" @@ -19,6 +15,9 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used.