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 name and version #33

Closed cnorburn closed 3 weeks ago

cnorburn commented 1 year ago

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

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

fail.json.zip