Skip to content
New issue

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

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

Already on GitHub? Sign in 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).

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant