New primitives / behaviour
The behaviour of the subtraction operator
- on values of type
tez has been changed in protocol Ithaca.
Subtracting values of type
tez yeilds on optional value. (This emits
SUB_MUTEZ Michelson instruction)
let map: (f : ((item: 'a) => 'b), value : option<'a>) => option<'b>
Applies the mapper function to the value if it is wrapped in the
If the value is
None the function is not executed/applied.
Feature no longer supported
let set_now = (now: timestamp) => unit
We no longer support
Test.set_now in LIGO
0.38.0 onwards, this is because
the underlying functions used by the LIGO Testing framework do not support
setting exact timestamps.