fetchai/cosmpy

Bug Report: Message type "cosmos.base.abci.v1beta1.Result" has no field named "msg_responses".

Opened this issue · 0 comments

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'].