refactor: Rename deterministic to module_query_safe (#13305)
This commit is contained in:
@@ -23,12 +23,21 @@ const _ = grpc.SupportPackageIsVersion7
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#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)
|
||||
@@ -36,14 +45,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.
|
||||
@@ -195,12 +216,21 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts .
|
||||
// for forward compatibility
|
||||
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)
|
||||
@@ -208,14 +238,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.
|
||||
|
||||
Reference in New Issue
Block a user