iroha-python icon indicating copy to clipboard operation
iroha-python copied to clipboard

client.query_all_assets_owned_by_account not work

Open kimmengs opened this issue 8 months ago • 0 comments

iroha --version iroha version=2.0.0-rc.2.0 git_commit_sha=4672d14d5

I try with main branch in docs-recipes example work all except file 5.register-and-mint.py it error wiith

File "/root/iroha-python/docs-recipes/5.register-and-mint.py", line 25, in assets = client.query_all_assets_owned_by_account("xxx@wonderland") RuntimeError: Other(Failed to decode response from Iroha. You are likely using a version of the client library that is incompatible with the version of the peer software

Caused by: 0: Could not decode QueryResponse::Iterable.0: 0: Could not decode QueryOutput::batch: 0: Could not decode QueryOutputBatchBoxTuple::tuple: 0: Could not decode QueryOutputBatchBox::Asset.0: 0: Could not decode Asset::value: 0: Could not decode AssetValue, variant doesn't exist

1: Could not decode QueryOutput::batch: 1: Could not decode QueryOutputBatchBoxTuple::tuple: 1: Could not decode QueryOutputBatchBox::Asset.0: 1: Could not decode Asset::value: 1: Could not decode AssetValue, variant doesn't exist

2: Could not decode QueryOutputBatchBoxTuple::tuple: 2: Could not decode QueryOutputBatchBox::Asset.0: 2: Could not decode Asset::value: 2: Could not decode AssetValue, variant doesn't exist

3: Could not decode QueryOutputBatchBox::Asset.0: 3: Could not decode Asset::value: 3: Could not decode AssetValue, variant doesn't exist

4: Could not decode Asset::value: 4: Could not decode AssetValue, variant doesn't exist

5: Could not decode AssetValue, variant doesn't exist

kimmengs avatar May 24 '25 06:05 kimmengs