We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Presumably proposals should be returned that fit the given status: https://github.com/fetchai/cosmpy/blob/main/tests/unit/test_gov/test_rest_client.py#L93
Response: 400, b'{\n "code": 3,\n "message": "type mismatch, parameter: proposal_id, error: strconv.ParseUint: parsing \\"\\": invalid syntax",\n "details": [\n ]\n}')
from cosmpy.common.rest_client import RestClient from cosmpy.gov.rest_client import GovRestClient from cosmpy.protos.cosmos.gov.v1beta1.query_pb2 import QueryProposalsRequest gov_client = GovRestClient(RestClient(f"https://rest-fetchhub.fetch.ai")) request = QueryProposalsRequest() request.proposal_status = 2 response = gov_client.Proposals(request)
Cosmpy: v0.8.0 Python: v3.11
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisites
Expected Behavior
Presumably proposals should be returned that fit the given status: https://github.com/fetchai/cosmpy/blob/main/tests/unit/test_gov/test_rest_client.py#L93
Current Behavior
To Reproduce
Context
Cosmpy: v0.8.0
Python: v3.11
Failure Logs
No response
The text was updated successfully, but these errors were encountered: