Closed cambriadaniele closed 1 year ago
There are some known issues atm with the contract interface, seems not up to date with latest version of the Substrate contract pallet. Also see #334, I will open a PR soon where you can track the status of this issue.
I'm working on a PR, for now I have a workaround to read and exec contract methods, until the new release. Add the following type registry override to the init:
substrate = SubstrateInterface(
url="wss://ws.test.azero.dev",
type_registry={
"types": {
"ContractExecResult": "ContractExecResultTo267"
}
}
)
Thanks a lot for looking into it, I know it's a workaround, but everything works perfectly.
Hello, I am trying to read and call a simple flipper smart contract deployed on the Aleph Zero testnet. I have no problems interacting with the blockchain, I get an error just while calling contract.read()
After writing my own code and smart contract, and not being able to overcome the error, i started using the flipper contract and the exact same code from the examples. I still get this error:
this is my code:
I am using a docker image, python 3.8 please let me know if I'm the only one having this issue