polkascan / py-substrate-interface

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

transaction object is not refreshed giving random errors #387

Open mokrzesa opened 2 months ago

mokrzesa commented 2 months ago

I have a question regarding calling contracts and the transaction object:

At the same time when I'm checking the contract directly I'm 100% sure that this transaction was successful. I would really highly appreciate your help, what I could do about that.

With best regards.

mokrzesa commented 2 months ago

I've received a suggestion from Aleph Zero team, but that is just hypothesis from their end:

Yes, there is some issue with the parity scale codec implementation I believe. Try wrapping the code in "try... except" block, and then retry, maybe it will work. But a proper fix must be done in the lib

Is there a way I could help with that ? If you need any assistance please let me know 🙏