fetchai / cosmpy

A Python client library for interacting with blockchains based on the Cosmos-SDK
Apache License 2.0
131 stars 74 forks source link

Bug report: Failed to parse attributes field: #387

Open TaurusWallet opened 8 months ago

TaurusWallet commented 8 months ago

Prerequisites

Expected Behavior

Parsing of SimulateRequest Parse(response, SimulateResponse()) always works

Current Behavior

Parsing of SimulateRequest Parse(response, SimulateResponse()) does not work for Osmosis

To Reproduce

run simulate_tx using Osmosis rest+https://lcd.osmosis.zone

Context

Parse(response, SimulateResponse()) crashes for Osmosis

Failure Logs

google.protobuf.json_format.ParseError: Failed to parse result field: Failed to parse events field: Failed to parse attributes field: Failed to parse key field: Invalid base64-encoded string: number of data characters (9) cannot be 1 more than a multiple of 4....

directedbit commented 3 months ago

I had the same problem using the rest interface. Using grpc with osmosis, I was able to get it to work IF i set the gas fee.

kshipra-fetch commented 3 months ago

Thank you both for bringing this to our attention We will get back to you with a resolution soon.