Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transaction object is not refreshed giving random errors #387

Open
mokrzesa opened this issue Apr 22, 2024 · 1 comment
Open

transaction object is not refreshed giving random errors #387

mokrzesa opened this issue Apr 22, 2024 · 1 comment

Comments

@mokrzesa
Copy link

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
  • extrisic_hash on network explorer
    image

  • calling transaction.is_success:

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
Copy link
Author

mokrzesa commented Apr 22, 2024

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 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant