Skip to content

Support CLI query commands for the other query services for ratelimit module #240

@jaybxyz

Description

@jaybxyz

At the moment, CLI query commands only support the AllRateLimits query. I suggest to add the other query commands.

type QueryServer interface {
	AllRateLimits(context.Context, *QueryAllRateLimitsRequest) (*QueryAllRateLimitsResponse, error)
	RateLimit(context.Context, *QueryRateLimitRequest) (*QueryRateLimitResponse, error)
	RateLimitsByChainID(context.Context, *QueryRateLimitsByChainIDRequest) (*QueryRateLimitsByChainIDResponse, error)
	RateLimitsByChannelID(context.Context, *QueryRateLimitsByChannelIDRequest) (*QueryRateLimitsByChannelIDResponse, error)
	AllWhitelistedAddresses(context.Context, *QueryAllWhitelistedAddressesRequest) (*QueryAllWhitelistedAddressesResponse, error)
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions