Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add GRPC gateway route for listing module and add hard cap setting (backport #2489) #2490

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 15, 2024

Changelist

Add GRPC query handler for listing module

Test Plan

[Describe how this PR was tested (if applicable)]

Author/Reviewer Checklist

  • If this PR has changes that result in a different app state given the same prior state and transaction list, manually add the state-breaking label.
  • If the PR has breaking postgres changes to the indexer add the indexer-postgres-breaking label.
  • If this PR isn't state-breaking but has changes that modify behavior in PrepareProposal or ProcessProposal, manually add the label proposal-breaking.
  • If this PR is one of many that implement a specific feature, manually label them all feature:[feature-name].
  • If you wish to for mergify-bot to automatically create a PR to backport your change to a release branch, manually add the label backport/[branch-name].
  • Manually add any of the following labels: refactor, chore, bug.

Summary by CodeRabbit

  • New Features

    • Introduced a new method, marketsHardCap, to query the hard cap number of listed markets.
    • Added an HTTP mapping for the MarketsHardCap RPC method, enabling RESTful access.
  • Bug Fixes

    • Enhanced gRPC gateway route registration with context management for improved functionality.
    • Added error handling to the registration process, addressing previous oversight.

This is an automatic backport of pull request #2489 done by [Mergify](https://mergify.com).

…2489)

Signed-off-by: Shrenuj Bansal <shrenuj@dydx.exchange>
(cherry picked from commit ca15c4d)
@shrenujb shrenujb merged commit f91c3a4 into release/protocol/v7.x Oct 15, 2024
41 checks passed
@shrenujb shrenujb deleted the mergify/bp/release/protocol/v7.x/pr-2489 branch October 15, 2024 20:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Development

Successfully merging this pull request may close these issues.

1 participant