From e3b492f3b9b03180e1d62f9e2ab2594b6556f8a9 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 21 Oct 2025 12:04:27 -0400 Subject: [PATCH] refactor(svc): re-order import sections in protobuf generated files --- x/svc/types/events.pb.go | 9 ++++----- x/svc/types/genesis.pb.go | 7 +++---- x/svc/types/query.pb.go | 7 +++---- x/svc/types/state.pb.go | 5 ++--- x/svc/types/tx.pb.go | 7 +++---- 5 files changed, 15 insertions(+), 20 deletions(-) diff --git a/x/svc/types/events.pb.go b/x/svc/types/events.pb.go index 263d5a0f1..248b0a20b 100644 --- a/x/svc/types/events.pb.go +++ b/x/svc/types/events.pb.go @@ -5,15 +5,14 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - time "time" - _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" _ "google.golang.org/protobuf/types/known/timestamppb" + io "io" + math "math" + math_bits "math/bits" + time "time" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/svc/types/genesis.pb.go b/x/svc/types/genesis.pb.go index d02ec6037..16fb48e00 100644 --- a/x/svc/types/genesis.pb.go +++ b/x/svc/types/genesis.pb.go @@ -5,15 +5,14 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/types" _ "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/svc/types/query.pb.go b/x/svc/types/query.pb.go index cf5ce9899..bbc474d16 100644 --- a/x/svc/types/query.pb.go +++ b/x/svc/types/query.pb.go @@ -6,16 +6,15 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" 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/svc/types/state.pb.go b/x/svc/types/state.pb.go index 83d597428..7e551aa6b 100644 --- a/x/svc/types/state.pb.go +++ b/x/svc/types/state.pb.go @@ -4,13 +4,12 @@ package types import ( + _ "cosmossdk.io/orm" fmt "fmt" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" - - _ "cosmossdk.io/orm" - proto "github.com/cosmos/gogoproto/proto" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/svc/types/tx.pb.go b/x/svc/types/tx.pb.go index 3b946669e..e9b9f6f6a 100644 --- a/x/svc/types/tx.pb.go +++ b/x/svc/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/gogoproto/gogoproto" @@ -18,6 +14,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.