You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation
Wasmer and Wasmtime had different fuel metering implementations. When
using Wasmer, the code used bytecode instrumentation, altering the Wasm
bytecode to call back to the host to consume fuel. When using Wasmtime,
the code used Wasmtime's own native fuel metering implementation. This
led to inconsistencies and required a sanitizer to try to ensure both
runtimes measured fuel consumption the same way.
## Proposal
Use the same bytecode instrumentation for all runtimes. This allows
removing the sanitizer.
## Test Plan
CI should catch any regressions.
## Release Plan
- These changes follow the usual release cycle, because this only
contains an internal refactor that should not affect any visible
behavior.
## Links
- Closes#1967
- [reviewer
checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
0 commit comments