casper-network / casper-python-sdk

Python library for interacting with a CSPR node
Apache License 2.0
14 stars 19 forks source link

WASM: Invoke contract by hash and version #32

Closed cnorburn closed 3 weeks ago

cnorburn commented 1 year ago

A contract is deployed, invoking by version and hash fails with:

pycspr.api.connection.NodeAPIError: Error(code=-32602, message='Invalid params', data="Failed to parse 'params' field: unknown variant StoredContractByHashVersioned, expected one of ModuleBytes, StoredContractByHash, StoredContractByName, StoredVersionedContractByHash, StoredVersionedContractByName, Transfer", id=900)

fail.json.zip