Skip to content

v0.29.0 - 2023-03-20

Compare
Choose a tag to compare
@Robbepop Robbepop released this 20 Mar 13:32
v0.29.0
23d8d8c

Added

  • Added support for extended-const Wasm proposal. (#707)
  • Added fuel consumption modes. (#706)
    • This allows eager and lazy fuel consumption modes to be used which
      mainly affects bulk operations such as table.copy and memory.grow.
      Eager fuel consumption always consumes fuel before a bulk operation for the
      total amount independent of success or failure of the operation whereras
      lazy fuel consumption only consumes fuel for successful executions.

Changed

  • Normalize fuel costs of all instructions. (#705)
    • With this change most instructions cost roughly 1 fuel upon execution.
      This is more similar to how Wasmtime deals with fuel metered instruction costs.
      Before this change wasmi tried to have fuel costs that more closely mirror
      the computation intensity of the respective instruction according to benchmarks.