Plutus Core Team Update
High level summary
The Plutus team has published release 1.73.0.0, which is ready for integration into node version 12 and includes further evaluator improvements and progress on the Agda metatheory.
We've formalized arrays, bytestrings, Data and Value, together with properties of their operations.
The new bytestring and Value definitions are not yet integrated into the Agda CEK machine; that integration is planned for subsequent milestones.
Conformance testing has also been extended.
A new generate-conformance-tests tool produces reproducible test cases from the existing integer, bitwise and BLS12-381 property tests, including expected results and execution budgets.
The Agda runner now also checks the existing multiIndexArray and CIP-0168 Value conformance cases.
Other than these, the uplc tool now has a linter for suggesting optimizations that cannot safely be applied automatically, initially recommending Boolean casing in place of ifThenElse.
We've also improved builtin hoisting, recalibrated unionValue to charge the same CPU cost in either argument order, and added a user guide for BuiltinValue.
Work in progress includes further CEK and deserialization optimizations, symmetric costing for bitwise builtins, and certification of the case-of-case pass.
Key Pull Requests Merged
- Metatheory: implement BuiltinArray
- An Agda ByteString library and Cardano builtins
- Agda formalization of Value
- Add Agda CByteString and fix the writeBits input bound
- Prototype conformance property test generator
- Run the CIP-0168 conformance tests through the Agda CEK machine
- Enable multiIndexArray Agda conformance tests
- Add a linter to the uplc CLI tool
- Hoist a builtin only if it may be called multiple times
- Recalibrate unionValue CPU costs symmetrically
- Avoid allocating error thunks during CEK variable lookup
- Replace Vector with Array for case branches
- Apply ByteString bounds across builtin semantics variants
- Document the BuiltinValue builtins
