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

[Feature request] Show arguments that were used for a pre-existing Transaction, in either CLI or Explorer context. #786

Open
Alexzander-Stone opened this issue Aug 30, 2024 · 0 comments

Comments

@Alexzander-Stone
Copy link
Contributor

Feature

Many smart contracts are convoluted with the (type) arguments that are passed during TXN execution.

I suggest adding a feature that either (or both):

  • Shows the parameter usage of an already-included TXN in the context of the run/view function from the module.
  • Outputs the aptos move run command to run from the Aptos CLI, with the same arguments of an already-included TXN.

Reasoning

Today, one must go through the payload to determine which data was sent as arguments. Furthermore, new users tend to have issues with properly defining the data.

"Should I use string:["abc"] or string:abc or string:"abc" or some kind of vector when passing to the CLI or explorer parameter?" - common CLI user

By having this feature users will understand the proper formatting, without needing to resort to testing different permutations of inputs.

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

No branches or pull requests

1 participant