Skip to content

feat: enforce gas limit #2348

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

Draft
wants to merge 14 commits into
base: dev
Choose a base branch
from
Draft

feat: enforce gas limit #2348

wants to merge 14 commits into from

Conversation

0xernesto
Copy link
Contributor

Motivation

The prover network still charges self-serve/hosted customers using cycle-based pricing. The network has been updated to use gas-based pricing, but during testing, it was clear that gas limit is not enforced in the executor.

Solution

Update the executor and related functions so gas can be checked every shard, and stop execution if gas limit is exceeded.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

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.

1 participant