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

Implement Execution Tracing for Contract Call Operations #3733

Open
danielbate opened this issue Feb 24, 2025 · 1 comment
Open

Implement Execution Tracing for Contract Call Operations #3733

danielbate opened this issue Feb 24, 2025 · 1 comment
Labels
feat Issue is a feature

Comments

@danielbate
Copy link
Member

In #3704 we showed how the script data from a contract call could be used to show the relevant call operations, however this was limited to the first function call. #3710 subsequently followed this to show how param1 and param2 from the call receipt could be used in conjunction with the script data to enable multi-call operations. However, this approach is dependent on a fixed max inputs value.

A more robust approach is to implement the execution tracing tool. This allows us to step through the transaction execution at each stage in the VM, allowing us to decode arguments and return data.

For this issue we need to understand:

  • The full capabilities of the execution tracing tool
  • How it would be integrated with the SDK
  • How this tool would be used to build out multiple contract call operations

Important

We must be mindful of performance here, this may require an additional network call and therfore we may want to make the complete summary opt-in.

@danielbate danielbate added the feat Issue is a feature label Feb 24, 2025
@danielbate
Copy link
Member Author

We should enable a number of the tests from #3734 to prove this piece.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

No branches or pull requests

1 participant