Skip to content

Release 0.14.0

Compare
Choose a tag to compare
@moCello moCello released this 13 Dec 14:41
· 243 commits to main since this release
7b40eb9

piecrust 0.14.0 - 2023-12-13

Added

  • Use ContractError::to_parts to write error messages to the argument buffer [#301]

Changed

  • Change documentation to change terminology from points to gas
  • Rename CallReceipt::points_limit and CallReceipt::points_spent to
    CallReceipt::gas_limit and CallReceipt::gas_spent respectively
  • Rename Error::OutOfPoints to Error::OutOfGas
  • Rename Error::ContractPanic to Error::Panic to be more clear that the entire
    execution panicked [#301]
  • Upgrade dusk-wasmtime to version 15
  • De-instantiate modules after call [#296]
  • Change Session::memory_len to return Result<Option<usize>>, and not
    require a contract to be instantiated [#296]

Removed

  • Remove once_cell dependency

Fixed

  • Fix improper use of mach_ports
  • Fix inconsistent state root after erroring call [#296]

uplink 0.9.0 - 2023-12-13

Added

  • Add ContractError::to_parts and ContractError::from_parts functions [#301]
  • Add fn_name and fn_arg as an argument to call_raw and call_raw_with_limit [#301]

Changed

  • Change variable names and documentation to match the gas terminology as
    opposed to points
  • Rename ContractError::Other to ContractError::Unknown [#301]
  • Change Display for ContractError to display messages [#301]
  • Change ContractError variants to be CamelCase [#301]

Removed

  • Remove ContractError::from_code function [#301]
  • Remove raw_call as an argument of call_raw and call_raw_with_limit [#301]
  • Remove RawCall and RawResult [#301]