Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

feat(rpc): Implement starknet_traceTransaction RPC call #1367

Closed
Tbelleng opened this issue Jan 12, 2024 · 4 comments · Fixed by #1455
Closed

feat(rpc): Implement starknet_traceTransaction RPC call #1367

Tbelleng opened this issue Jan 12, 2024 · 4 comments · Fixed by #1455
Labels
backlog Ready to be picked enhancement New feature or request needed-for-mainnet stale

Comments

@Tbelleng
Copy link
Contributor

feat(rpc): Implement starknet_traceTransaction

This PR aims to implement starknet_traceTransaction rpc call introduced in v0.4.0-rc1 according to the v0.5.1 RPC specs described in #1291

starknet_traceTransaction

For a given executed transaction, return the trace of its execution, including internal calls

Arguments

transaction_hash : The hash of the transaction to trace

Return

Returns the function call trace of the transaction designated by the given hash

Errors

This function might return the following errors:

TXN_HASH_NOT_FOUND - The specified transaction could not be found.
NO_TRACE_AVAILABLE - No trace found for the specified transaction.
@Tbelleng Tbelleng added the enhancement New feature or request label Jan 12, 2024
@tdelabro
Copy link
Collaborator

tdelabro commented Jan 19, 2024

This will be easy to implement once #1372 is done. Code will be easy to reuse.

Blocked by #1372

@tdelabro tdelabro added the backlog Ready to be picked label Jan 19, 2024
@tdelabro tdelabro added this to Madara Jan 19, 2024
@tdelabro tdelabro moved this to 📋 Backlog in Madara Jan 19, 2024
@Tbelleng
Copy link
Contributor Author

Tbelleng commented Jan 19, 2024

Yeah i will do it if its ok for you, i guess we can also reuse some element introduced by simulate_transaction.

@tdelabro
Copy link
Collaborator

Sure, that would be perfect. Lets wait for #1372 then

Copy link

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍
Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs.
Thank you for your contributions!

@github-actions github-actions bot added the stale label Feb 19, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Madara Apr 8, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backlog Ready to be picked enhancement New feature or request needed-for-mainnet stale
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants