polkascan / py-substrate-interface

Python Substrate Interface
https://polkascan.github.io/py-substrate-interface/
Apache License 2.0
240 stars 114 forks source link

new version `contract.exec` syntax error #133

Closed garrettmaring closed 2 years ago

garrettmaring commented 2 years ago

previously, i was able to instantiate an ink! contract and call exec on it for signed extrinsics. now I receive 'syntax error'

arjanz commented 2 years ago

On the latest canvas-node I didn't ran into any problem, latest substrate (with the new MetadataV14) though the test resulted into an AttributeError so I will look into that, but it is not the abrupt 'syntax error' you describe.

arjanz commented 2 years ago

Can you try https://github.com/polkascan/py-substrate-interface/releases/tag/v1.0.1 to see if this issue is resolved?