Skip to content

client.query_all_assets_owned_by_account not work #235

@kimmengs

Description

@kimmengs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions