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

Pending Transaction Trace Failure #1794

Open
wojciechos opened this issue Apr 4, 2024 · 0 comments
Open

Pending Transaction Trace Failure #1794

wojciechos opened this issue Apr 4, 2024 · 0 comments
Assignees
Labels
Bug Something isn't working or security issue
Milestone

Comments

@wojciechos
Copy link
Contributor

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

  1. Add a transaction.
  2. Retrieve its receipt via starknet_getTransactionReceipt.
  3. Locate the transaction in starknet_traceBlockTransactions - pending.
  4. Immediately trace the transaction with starknet_traceTransaction and note the "txn hash not found" error.
  5. 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.

@wojciechos wojciechos added the Bug Something isn't working or security issue label Apr 4, 2024
@stranger80 stranger80 added this to the v0.11.5 milestone Apr 8, 2024
@stranger80 stranger80 modified the milestones: v0.11.5, v0.11.6 Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working or security issue
Projects
Status: Ready For Release
Development

No branches or pull requests

3 participants