-
Notifications
You must be signed in to change notification settings - Fork 87
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
Optimize consumed gas calculation #29
Labels
fuel-vm
Related to the `fuel-vm` crate.
Comments
Blocked by #30 |
This was referenced Oct 6, 2021
Fixed in #40 |
ControlCplusControlV
pushed a commit
that referenced
this issue
Nov 24, 2022
ControlCplusControlV
pushed a commit
that referenced
this issue
Nov 24, 2022
ControlCplusControlV
pushed a commit
that referenced
this issue
Dec 1, 2022
ControlCplusControlV
pushed a commit
that referenced
this issue
Dec 1, 2022
xgreenx
pushed a commit
that referenced
this issue
Dec 20, 2022
xgreenx
pushed a commit
that referenced
this issue
Dec 20, 2022
xgreenx
pushed a commit
that referenced
this issue
Dec 20, 2022
xgreenx
pushed a commit
that referenced
this issue
Dec 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The gas charge function is designed in a way to make it possible to use constants for most of opcodes that charge gas based on constants, and use callbacks for opcodes with variable gas cost (example:
ALOC
).The
execute
function must be refactored to reduce the match count to one and then benefit of constant gas cost calculation.The text was updated successfully, but these errors were encountered: