From 79f277c111ab440b0927030ef6b39bb355eb0329 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 20 Sep 2022 21:21:45 +0200 Subject: [PATCH] fix: fix buf commit link (#13345) --- UPGRADING.md | 2 +- client/v2/internal/buf.lock | 5 ++--- third_party/proto/README.md | 10 ++++++++- types/query/query.pb.go | 28 ++++++++++++------------- x/auth/types/query.pb.go | 10 +++++++-- x/bank/types/query.pb.go | 30 ++++++++++++++++++++++++++ x/nft/tx.pb.go | 35 +++++++++++++++++-------------- x/staking/types/query.pb.go | 42 +++++++++++++++++++++++++++++++++++++ 8 files changed, 125 insertions(+), 37 deletions(-) diff --git a/UPGRADING.md b/UPGRADING.md index a2e426b792..5e95214ecf 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -152,7 +152,7 @@ The `third_party/proto` folder that existed in [previous version](https://github Instead, the SDK uses [`buf`](https://buf.build). Clients should have their own [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml) with `buf.build/cosmos/cosmos-sdk` as dependency, in order to avoid having to copy paste these files. -The protos can as well be downloaded using `buf export buf.build/cosmos/cosmos-sdk:$(curl -sS https://api.github.com/repos/cosmos/cosmos-sdk/commits/v0.46.0 | jq -r .sha) --output `. +The protos can as well be downloaded using `buf export buf.build/cosmos/cosmos-sdk:8cb30a2c4de74dc9bd8d260b1e75e176 --output `. Cosmos message protobufs should be extended with `cosmos.msg.v1.signer`: diff --git a/client/v2/internal/buf.lock b/client/v2/internal/buf.lock index 4a0b42f62b..696956596b 100644 --- a/client/v2/internal/buf.lock +++ b/client/v2/internal/buf.lock @@ -8,13 +8,12 @@ deps: - remote: buf.build owner: cosmos repository: cosmos-sdk - commit: 233f8f38503f47ada7a7eca116b84303 + commit: b7797ff7f3814399b0c5d52e1b8227ed - remote: buf.build owner: cosmos repository: gogo-proto - commit: bee5511075b7499da6178d9e4aaa628b + commit: 6652e3443c3b4504bb3bf82e73a7e409 - remote: buf.build owner: googleapis repository: googleapis - branch: main commit: 62f35d8aed1149c291d606d958a7ce32 diff --git a/third_party/proto/README.md b/third_party/proto/README.md index d849f1d60f..300b45b9d9 100644 --- a/third_party/proto/README.md +++ b/third_party/proto/README.md @@ -2,6 +2,14 @@ To generate the protos that were present in this folder run: +## v0.47.x+ + ```bash -buf export buf.build/cosmos/cosmos-sdk:$(curl -sS https://api.github.com/repos/cosmos/cosmos-sdk/commits/ | jq -r .sha) --output . +buf export buf.build/cosmos/cosmos-sdk --output . +``` + +## v0.46.x + +```bash +buf export buf.build/cosmos/cosmos-sdk:8cb30a2c4de74dc9bd8d260b1e75e176 --output . ``` diff --git a/types/query/query.pb.go b/types/query/query.pb.go index b253b7a769..f53f6a88e4 100644 --- a/types/query/query.pb.go +++ b/types/query/query.pb.go @@ -21,34 +21,34 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -var E_Deterministic = &proto.ExtensionDesc{ +var E_ModuleQuerySafe = &proto.ExtensionDesc{ ExtendedType: (*descriptorpb.MethodOptions)(nil), ExtensionType: (*bool)(nil), Field: 11110001, - Name: "cosmos.query.v1.deterministic", - Tag: "varint,11110001,opt,name=deterministic", + Name: "cosmos.query.v1.module_query_safe", + Tag: "varint,11110001,opt,name=module_query_safe", Filename: "cosmos/query/v1/query.proto", } func init() { - proto.RegisterExtension(E_Deterministic) + proto.RegisterExtension(E_ModuleQuerySafe) } func init() { proto.RegisterFile("cosmos/query/v1/query.proto", fileDescriptor_5c815d91553f8dca) } var fileDescriptor_5c815d91553f8dca = []byte{ - // 197 bytes of a gzipped FileDescriptorProto + // 205 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2f, 0x33, 0x84, 0x30, 0xf4, 0x0a, 0x8a, 0xf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, 0x53, 0x7c, 0x71, 0x62, 0x5a, 0xaa, 0x90, 0x9c, 0x1e, 0x44, 0x9f, 0x1e, 0x4c, + 0x9f, 0x9e, 0x6f, 0x6a, 0x49, 0x46, 0x7e, 0x8a, 0x7f, 0x41, 0x49, 0x66, 0x7e, 0x5e, 0xb1, 0xc4, + 0xc7, 0x9e, 0x65, 0xac, 0x0a, 0x8c, 0x1a, 0x1c, 0x41, 0xfc, 0x10, 0xbd, 0x81, 0x20, 0xad, 0xc1, + 0x89, 0x69, 0xa9, 0x4e, 0x4e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, + 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, + 0x91, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0xf5, 0x03, 0x84, 0xd2, + 0x2d, 0x4e, 0xc9, 0xd6, 0x2f, 0xa9, 0x2c, 0x48, 0x85, 0x7a, 0x2a, 0x89, 0x0d, 0x6c, 0xab, 0x31, + 0x20, 0x00, 0x00, 0xff, 0xff, 0x7a, 0xfc, 0xd6, 0xfc, 0xeb, 0x00, 0x00, 0x00, } diff --git a/x/auth/types/query.pb.go b/x/auth/types/query.pb.go index f796b8e667..60192dc759 100644 --- a/x/auth/types/query.pb.go +++ b/x/auth/types/query.pb.go @@ -947,7 +947,10 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { - // Accounts returns all the existing accounts + // Accounts returns all the existing accounts. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. // // Since: cosmos-sdk 0.43 Accounts(ctx context.Context, in *QueryAccountsRequest, opts ...grpc.CallOption) (*QueryAccountsResponse, error) @@ -1070,7 +1073,10 @@ func (c *queryClient) AccountInfo(ctx context.Context, in *QueryAccountInfoReque // QueryServer is the server API for Query service. type QueryServer interface { - // Accounts returns all the existing accounts + // Accounts returns all the existing accounts. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. // // Since: cosmos-sdk 0.43 Accounts(context.Context, *QueryAccountsRequest) (*QueryAccountsResponse, error) diff --git a/x/bank/types/query.pb.go b/x/bank/types/query.pb.go index 1e57293ced..b555ff463a 100644 --- a/x/bank/types/query.pb.go +++ b/x/bank/types/query.pb.go @@ -1188,15 +1188,27 @@ type QueryClient interface { // Balance queries the balance of a single coin for a single account. Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) // AllBalances queries the balance of all coins for a single account. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error) // SpendableBalances queries the spenable balance of all coins for a single // account. // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. + // // Since: cosmos-sdk 0.46 SpendableBalances(ctx context.Context, in *QuerySpendableBalancesRequest, opts ...grpc.CallOption) (*QuerySpendableBalancesResponse, error) // TotalSupply queries the total supply of all coins. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) // SupplyOf queries the supply of a single coin. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. SupplyOf(ctx context.Context, in *QuerySupplyOfRequest, opts ...grpc.CallOption) (*QuerySupplyOfResponse, error) // Params queries the parameters of x/bank module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) @@ -1208,6 +1220,9 @@ type QueryClient interface { // DenomOwners queries for all account addresses that own a particular token // denomination. // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. + // // Since: cosmos-sdk 0.46 DenomOwners(ctx context.Context, in *QueryDenomOwnersRequest, opts ...grpc.CallOption) (*QueryDenomOwnersResponse, error) // SendEnabled queries for SendEnabled entries. @@ -1323,15 +1338,27 @@ type QueryServer interface { // Balance queries the balance of a single coin for a single account. Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) // AllBalances queries the balance of all coins for a single account. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error) // SpendableBalances queries the spenable balance of all coins for a single // account. // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. + // // Since: cosmos-sdk 0.46 SpendableBalances(context.Context, *QuerySpendableBalancesRequest) (*QuerySpendableBalancesResponse, error) // TotalSupply queries the total supply of all coins. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error) // SupplyOf queries the supply of a single coin. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. SupplyOf(context.Context, *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error) // Params queries the parameters of x/bank module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) @@ -1343,6 +1370,9 @@ type QueryServer interface { // DenomOwners queries for all account addresses that own a particular token // denomination. // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. + // // Since: cosmos-sdk 0.46 DenomOwners(context.Context, *QueryDenomOwnersRequest) (*QueryDenomOwnersResponse, error) // SendEnabled queries for SendEnabled entries. diff --git a/x/nft/tx.pb.go b/x/nft/tx.pb.go index b7c0b7486a..00a4f9f40c 100644 --- a/x/nft/tx.pb.go +++ b/x/nft/tx.pb.go @@ -6,6 +6,7 @@ package nft import ( context "context" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -146,25 +147,27 @@ func init() { func init() { proto.RegisterFile("cosmos/nft/v1beta1/tx.proto", fileDescriptor_35818c6a0ef51f08) } var fileDescriptor_35818c6a0ef51f08 = []byte{ - // 273 bytes of a gzipped FileDescriptorProto + // 308 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0xcf, 0x4b, 0x2b, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0x48, 0xea, 0xe5, 0xa5, 0x95, 0xe8, - 0x41, 0x25, 0xa5, 0xc4, 0xa1, 0x1a, 0x72, 0x8b, 0xd3, 0xf5, 0xcb, 0x0c, 0x41, 0x14, 0x44, 0xb1, - 0x52, 0x29, 0x17, 0xbb, 0x6f, 0x71, 0x7a, 0x70, 0x6a, 0x5e, 0x8a, 0x90, 0x24, 0x17, 0x47, 0x72, - 0x4e, 0x62, 0x71, 0x71, 0x7c, 0x66, 0x8a, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x3b, 0x98, - 0xef, 0x99, 0x22, 0xc4, 0xc7, 0xc5, 0x94, 0x99, 0x22, 0xc1, 0x04, 0x16, 0x64, 0xca, 0x4c, 0x11, - 0x12, 0xe3, 0x62, 0x2b, 0x4e, 0xcd, 0x4b, 0x49, 0x2d, 0x92, 0x60, 0x06, 0x8b, 0x41, 0x79, 0x42, - 0x52, 0x5c, 0x1c, 0x45, 0xa9, 0xc9, 0xa9, 0x99, 0x65, 0xa9, 0x45, 0x12, 0x2c, 0x60, 0x19, 0x38, - 0xdf, 0x8a, 0xbb, 0xe9, 0xf9, 0x06, 0x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03, 0x87, 0xad, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x17, 0x66, 0xb6, 0x12, + 0xc2, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/staking/types/query.pb.go b/x/staking/types/query.pb.go index 65b4cc133a..0653c47185 100644 --- a/x/staking/types/query.pb.go +++ b/x/staking/types/query.pb.go @@ -1527,12 +1527,21 @@ const _ = grpc.SupportPackageIsVersion4 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { // Validators queries all validators that match the given status. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. Validators(ctx context.Context, in *QueryValidatorsRequest, opts ...grpc.CallOption) (*QueryValidatorsResponse, error) // Validator queries validator info for given validator address. Validator(ctx context.Context, in *QueryValidatorRequest, opts ...grpc.CallOption) (*QueryValidatorResponse, error) // ValidatorDelegations queries delegate info for given validator. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. ValidatorDelegations(ctx context.Context, in *QueryValidatorDelegationsRequest, opts ...grpc.CallOption) (*QueryValidatorDelegationsResponse, error) // ValidatorUnbondingDelegations queries unbonding delegations of a validator. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. ValidatorUnbondingDelegations(ctx context.Context, in *QueryValidatorUnbondingDelegationsRequest, opts ...grpc.CallOption) (*QueryValidatorUnbondingDelegationsResponse, error) // Delegation queries delegate info for given validator delegator pair. Delegation(ctx context.Context, in *QueryDelegationRequest, opts ...grpc.CallOption) (*QueryDelegationResponse, error) @@ -1540,14 +1549,26 @@ type QueryClient interface { // pair. UnbondingDelegation(ctx context.Context, in *QueryUnbondingDelegationRequest, opts ...grpc.CallOption) (*QueryUnbondingDelegationResponse, error) // DelegatorDelegations queries all delegations of a given delegator address. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. DelegatorDelegations(ctx context.Context, in *QueryDelegatorDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegatorDelegationsResponse, error) // DelegatorUnbondingDelegations queries all unbonding delegations of a given // delegator address. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. DelegatorUnbondingDelegations(ctx context.Context, in *QueryDelegatorUnbondingDelegationsRequest, opts ...grpc.CallOption) (*QueryDelegatorUnbondingDelegationsResponse, error) // Redelegations queries redelegations of given address. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. Redelegations(ctx context.Context, in *QueryRedelegationsRequest, opts ...grpc.CallOption) (*QueryRedelegationsResponse, error) // DelegatorValidators queries all validators info for given delegator // address. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. DelegatorValidators(ctx context.Context, in *QueryDelegatorValidatorsRequest, opts ...grpc.CallOption) (*QueryDelegatorValidatorsResponse, error) // DelegatorValidator queries validator info for given delegator validator // pair. @@ -1697,12 +1718,21 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . // QueryServer is the server API for Query service. type QueryServer interface { // Validators queries all validators that match the given status. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. Validators(context.Context, *QueryValidatorsRequest) (*QueryValidatorsResponse, error) // Validator queries validator info for given validator address. Validator(context.Context, *QueryValidatorRequest) (*QueryValidatorResponse, error) // ValidatorDelegations queries delegate info for given validator. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. ValidatorDelegations(context.Context, *QueryValidatorDelegationsRequest) (*QueryValidatorDelegationsResponse, error) // ValidatorUnbondingDelegations queries unbonding delegations of a validator. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. ValidatorUnbondingDelegations(context.Context, *QueryValidatorUnbondingDelegationsRequest) (*QueryValidatorUnbondingDelegationsResponse, error) // Delegation queries delegate info for given validator delegator pair. Delegation(context.Context, *QueryDelegationRequest) (*QueryDelegationResponse, error) @@ -1710,14 +1740,26 @@ type QueryServer interface { // pair. UnbondingDelegation(context.Context, *QueryUnbondingDelegationRequest) (*QueryUnbondingDelegationResponse, error) // DelegatorDelegations queries all delegations of a given delegator address. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. DelegatorDelegations(context.Context, *QueryDelegatorDelegationsRequest) (*QueryDelegatorDelegationsResponse, error) // DelegatorUnbondingDelegations queries all unbonding delegations of a given // delegator address. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. DelegatorUnbondingDelegations(context.Context, *QueryDelegatorUnbondingDelegationsRequest) (*QueryDelegatorUnbondingDelegationsResponse, error) // Redelegations queries redelegations of given address. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. Redelegations(context.Context, *QueryRedelegationsRequest) (*QueryRedelegationsResponse, error) // DelegatorValidators queries all validators info for given delegator // address. + // + // When called from another module, this query might consume a high amount of + // gas if the pagination field is incorrectly set. DelegatorValidators(context.Context, *QueryDelegatorValidatorsRequest) (*QueryDelegatorValidatorsResponse, error) // DelegatorValidator queries validator info for given delegator validator // pair.