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

Bug report: GovClient.Proposal cannot consume expedited proposals #364

Open
4 tasks done
dylanschultzie opened this issue Jun 23, 2023 · 0 comments
Open
4 tasks done

Comments

@dylanschultzie
Copy link

dylanschultzie commented Jun 23, 2023

Prerequisites

Expected Behavior

A proposal should be returned.

Current Behavior

Error: Failed to parse proposal field: Message type "cosmos.gov.v1beta1.Proposal" has no field named "is_expedited" at "QueryProposalResponse.proposal".

To Reproduce

from cosmpy.common.rest_client import RestClient
from cosmpy.gov.rest_client import GovRestClient
from cosmpy.protos.cosmos.gov.v1beta1.query_pb2 import QueryProposalRequest

gov_client = GovRestClient(RestClient(f"https://osmosis-api.lavenderfive.com:443"))    
request = QueryProposalRequest()
request.proposal_id = 543
response = gov_client.Proposal(request)

Context

Cosmpy: v0.8.0
Python: v3.11

Failure Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant