transaction object is not refreshed giving random errors
Opened this issue · 1 comments
mokrzesa commented
I have a question regarding calling contracts and the transaction
object:
- right after call
'extrinsic_hash': '0x29fad8c13015beb285bac557554409a7ac5f9c3de37d3a43e391d1057ee5fa41'
'block_hash': '0x084bf46a71039d2e76bec5690d8bd6543aeb09618210e67975591e2e10b03805'
'block_number': None
'finalized': False
'_ExtrinsicReceipt__error_message': None
transaction.is_success # first call
*** ValueError: Event ID 167 not found
transaction.is_success # second call
True
- also other time its not giving me success response but:
transaction.is_success -> *** ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2427)
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
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 🙏