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

Calculate Gas #19

Open
alexdovzhanyn opened this issue Dec 30, 2018 · 0 comments
Open

Calculate Gas #19

alexdovzhanyn opened this issue Dec 30, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@alexdovzhanyn
Copy link
Owner

We need a way of calculating the 'relative price' of each instruction, and accumulating the total execution cost as a given program runs. We also need an option to specify a 'gas limit', which is the maximum execution cost we're allowed to expend on a given program before we stop. If the 'gas limit' is reached (or exceeded) the vm should stop function execution immediately.

@alexdovzhanyn alexdovzhanyn added enhancement New feature or request help wanted Extra attention is needed labels Dec 30, 2018
@alexdovzhanyn alexdovzhanyn added this to the MVP milestone Dec 30, 2018
@alexdovzhanyn alexdovzhanyn self-assigned this Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant