Skip to content

Retry logic for transaction receipt fetching. #75

@humanizersequel

Description

@humanizersequel

Sometimes this happens:

Thu 13:35 hypergrid:test.hypr: ERROR provider::util: provider/src/util.rs:713: Failed to fetch transaction receipt: provider=haiku-message-answering-machine, tx_hash=0xe9c9698ee7e81d2500d1c9fd350c110a6f667fbfd13d31e786a5f67b7e8aa93b, source_node=shegridonmyhypetilliuhhh.os, error=RpcTimeout
Thu 13:35 hypergrid:test.hypr: ERROR provider: provider/src/lib.rs:536: Payment validation failed for provider 'haiku-message-answering-machine' from node 'shegridonmyhypetilliuhhh.os': Error fetching transaction receipt for 0xe9c9698ee7e81d2500d1c9fd350c110a6f667fbfd13d31e786a5f67b7e8aa93b: RpcTimeout

The Operator has logic to handle this. The Provider does not. Solution: retry logic for fetching the transaction receipt.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions