theduke opened PR #2927 from async-yield-forever
to main
:
Currently there is no way to configure an async store to run forever.
A fuel injection count has to be specified, which eventually reaches 0 and
causes a trap.this changes the OutOfGas::InjectFuel configuration to make the injection
count optional, which allows stores to run forever.NOTE: this is obviously a breaking API change.
It would also be possible to add an additional config method.
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
theduke updated PR #2927 from async-yield-forever
to main
.
theduke edited PR #2927 from async-yield-forever
to main
:
Currently there is no way to configure an async store to run forever.
A fuel injection count has to be specified, which eventually reaches 0 and
causes a trap.This changes the OutOfGas::InjectFuel configuration to make the injection
count optional, which allows stores to run forever.NOTE: this is obviously a breaking API change.
It would also be possible to add an additional config method.
alexcrichton closed without merge PR #2927.
Last updated: Dec 23 2024 at 12:05 UTC