Pending Transaction Trace Failure
wojciechos opened this issue · comments
wojciechos commented
Encountering an "txn hash not found" error when using starknet_traceTransaction
on pending transactions. The transactions are initially visible through starknet_getTransactionReceipt
and starknet_traceBlockTransactions - pending
. However, an immediate trace attempt fails.
Steps to Reproduce
- Add a transaction.
- Retrieve its receipt via
starknet_getTransactionReceipt
. - Locate the transaction in
starknet_traceBlockTransactions - pending
. - Immediately trace the transaction with
starknet_traceTransaction
and note the "txn hash not found" error. - After txn is not pending anymore, attempt to trace the transaction again, and it should succeed.
(reproduce by running starknet.js test)
Expected Behavior
The transaction should be traceable immediately after it's visible in pending transactions without resulting in a "txn hash not found" error.