-
Notifications
You must be signed in to change notification settings - Fork 581
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
Rethink gas spending logic #5148
Comments
If we protocol change this, we should also consider changing how we limit promises gas. Rather than checking gas limit on every |
It's not hard to keep exact promises gas counter IMO. |
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. |
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. |
I agree in principle with that statement but want to make clear that it doesn't matter, since on an error, we refund nearcore/runtime/runtime/src/lib.rs Lines 761 to 765 in cd7150e
|
During work on #5121 we identified two questionable places in gas metering.
The text was updated successfully, but these errors were encountered: