Skip to content

transaction object is not refreshed giving random errors #387

@mokrzesa

Description

@mokrzesa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions