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: Message type "cosmos.base.abci.v1beta1.Result" has no field named "msg_responses". #382

Open
4 tasks done
shangbingHu opened this issue Dec 9, 2023 · 0 comments

Comments

@shangbingHu
Copy link

Prerequisites

Expected Behavior

To claim rewards from celestia(or other chains)

        tx = ledger_client.claim_rewards(validator_address, wallet)
        tx.wait_to_complete()

Expect to work well

Current Behavior

Got Error:

google.protobuf.json_format.ParseError: Failed to parse result field: Message type "cosmos.base.abci.v1beta1.Result" has no field named "msg_responses".
Available Fields(except extensions): ['data', 'log', 'events'].

To Reproduce

No response

Context

python version: 3.8.12

Failure Logs

File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/cosmpy/aerial/client/init.py", line 600, in claim_rewards
return prepare_and_broadcast_basic_transaction(
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/cosmpy/aerial/client/utils.py", line 67, in prepare_and_broadcast_basic_transaction
gas_limit, fee = client.estimate_gas_and_fee_for_tx(tx)
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/cosmpy/aerial/client/init.py", line 627, in estimate_gas_and_fee_for_tx
gas_estimate = self.estimate_gas_for_tx(tx)
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/cosmpy/aerial/client/init.py", line 610, in estimate_gas_for_tx
return self._gas_strategy.estimate_gas(tx)
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/cosmpy/aerial/gas.py", line 78, in estimate_gas
gas_estimate = self._client.simulate_tx(tx)
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/cosmpy/aerial/client/init.py", line 744, in simulate_tx
resp = self.txs.Simulate(req)
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/cosmpy/tx/rest_client.py", line 78, in Simulate
return Parse(response, SimulateResponse())
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/google/protobuf/json_format.py", line 425, in Parse
return ParseDict(js, message, ignore_unknown_fields, descriptor_pool)
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/google/protobuf/json_format.py", line 445, in ParseDict
parser.ConvertMessage(js_dict, message)
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/google/protobuf/json_format.py", line 476, in ConvertMessage
self._ConvertFieldValuePair(value, message)
File "/home/someone/anaconda3/envs/py38/lib/python3.8/site-packages/google/protobuf/json_format.py", line 588, in _ConvertFieldValuePair
raise ParseError('Failed to parse {0} field: {1}.'.format(name, e))
google.protobuf.json_format.ParseError: Failed to parse result field: Message type "cosmos.base.abci.v1beta1.Result" has no field named "msg_responses".
Available Fields(except extensions): ['data', 'log', 'events'].

@shangbingHu shangbingHu changed the title google.protobuf.json_format.ParseError: Failed to parse result field: Message type "cosmos.base.abci.v1beta1.Result" has no field named "msg_responses". Bug Report: Message type "cosmos.base.abci.v1beta1.Result" has no field named "msg_responses". Dec 13, 2023
@shangbingHu shangbingHu reopened this Dec 13, 2023
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