-
Notifications
You must be signed in to change notification settings - Fork 373
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
[GnoVM] Request: add simple way to get VM cycles used on specific call #1973
Comments
The gas used should be a function of the cycles spent. Would an end user care how many cycles are used? |
Are we sure that gas will be a function of cycles used? 😄 In any case, might be cool for debugging/metrics/stress testing. |
Yes, it will be. Is your proposal to return VM cycles used like we return gas used when sending transactions via gnokey? |
Correct! |
For reference - it seems that the
Still, I would like to see a |
I'm not sure I'm convinced. Maybe someone else can chime in on this. |
Description
It would be great if we can have a simple way to see how many cycles a specific call has spent. For example, adding a
--measure-cycles
flag tognokey
would be an idea to start with.The text was updated successfully, but these errors were encountered: