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

Dry run mode #915

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Dry run mode #915

wants to merge 2 commits into from

Conversation

Dentosal
Copy link
Member

Closes #691

Adds a way to continue vm execution after each error instead of terminating immediately. This can be used to collect multiple execution errors at once, which is useful if you don't know in advance what storage, inputs or outputs the tx is going to need access to.

This is a breaking change, as we need to add a new type parameter to the VM. While the default value keeps the same behavior, existing trait implementations might still break.

Names are still subject to bikeshedding.

Checklist

  • Breaking changes are clearly marked as such in the PR description and changelog
  • New behavior is reflected in tests
  • If performance characteristic of an instruction change, update gas costs as well or make a follow-up PR for that
  • The specification matches the implemented behavior (link update PR if changes are needed)

Before requesting review

  • I have reviewed the code myself
  • I have created follow-up issues caused by this PR and linked them here

@Dentosal Dentosal added enhancement New feature or request breaking A breaking api change fuel-vm Related to the `fuel-vm` crate. labels Feb 19, 2025
@Dentosal Dentosal self-assigned this Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking A breaking api change enhancement New feature or request fuel-vm Related to the `fuel-vm` crate.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support dry run mode in the FuelVM
1 participant