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

soroban-cli: automatically save resource cost of transactions #1106

Closed
namankumar opened this issue Dec 2, 2023 · 0 comments · Fixed by #1173
Closed

soroban-cli: automatically save resource cost of transactions #1106

namankumar opened this issue Dec 2, 2023 · 0 comments · Fixed by #1173
Assignees
Labels
cli Related to Soroban CLI enhancement New feature or request

Comments

@namankumar
Copy link

namankumar commented Dec 2, 2023

What problem does your feature solve?

Gain continuous understanding of resource cost of ecosystem transactions over the next one year.

Limits for Soroban resource-types will be incrementally increased to support the consumption profile of ecosystem transactions; which requires contract developers to profile and share their transactions with each contract update. Historically, it's been challenging to profile and share transactions. This ticket aims to simplify the process by:

  1. minimize the effort it takes to profile a transaction.
  2. minimize the effort it takes to share transaction profiles.

What would you like to see?

  • soroban-cli automatically profiles and saves contract execution to local disk. This way the developer is saved from additional profiling effort. They simply need to share the local file.

  • if calls to simulateTransaction can be saved on the rpc side.

Please save function/tx name, all listed resource-types, timestamp, xdr.

What alternatives are there?

  • Create scripts to download, compile, profile publicly available contracts of projects.
@leighmcculloch leighmcculloch changed the title Automatically save resource cost of transactions soroban-cli: automatically save resource cost of transactions Jan 11, 2024
@willemneal willemneal self-assigned this Jan 18, 2024
@janewang janewang added enhancement New feature or request cli Related to Soroban CLI labels Jan 25, 2024
@github-project-automation github-project-automation bot moved this to Backlog in DevX Jan 29, 2024
@janewang janewang moved this from Backlog to Todo in DevX Feb 1, 2024
@willemneal willemneal moved this from Todo to In Progress in DevX Feb 1, 2024
@accordeiro accordeiro moved this from In Progress to Blocked in DevX Feb 29, 2024
@accordeiro accordeiro moved this from Blocked to In Progress in DevX Mar 7, 2024
@janewang janewang moved this from In Progress to Needs Review in DevX Apr 2, 2024
@github-project-automation github-project-automation bot moved this from Needs Review to Done in DevX May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to Soroban CLI enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants
@namankumar @janewang @willemneal and others