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

feat: vm return gas used #39

Merged
merged 1 commit into from
Dec 2, 2024
Merged

feat: vm return gas used #39

merged 1 commit into from
Dec 2, 2024

Conversation

gluax
Copy link
Collaborator

@gluax gluax commented Dec 2, 2024

Motivation

Tally VM needs to return how much gas it used.

Explanation of Changes

Just bubbles up the field to the go world.

Testing

Tests still pass.

Related PRs and Issues

I do need someone to update the mac dylib as well please(actually can wait till I do the other devnet task we have).

Closes #37.

@gluax gluax self-assigned this Dec 2, 2024
Copy link
Member

@Thomasvdam Thomasvdam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to ask this after the build but would you mind bumping the version in the cargo toml? 😬 I can add the macOS build once it's ready

@gluax
Copy link
Collaborator Author

gluax commented Dec 2, 2024

Sorry to ask this after the build but would you mind bumping the version in the cargo toml? 😬 I can add the macOS build once it's ready

Mind if I do it in #40 instead? I have that pr targeting this one.

@gluax gluax requested a review from Thomasvdam December 2, 2024 15:31
@gluax gluax merged commit f7c2cfb into main Dec 2, 2024
4 checks passed
@gluax gluax deleted the feat/return-gas-used branch December 2, 2024 15:57
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

Successfully merging this pull request may close these issues.

🔧 return gas_used in go binding
2 participants