v0.55.0
Version v0.55.0
Added
- #781: Added
base_asset_idto checked metadata.
Changed
- #784: Avoid storage lookups for side nodes in the SMT.
- #787: Fixed charge functions to profile cost before charging.
Breaking
- #783: Remove unnecessary look up for old values by adding new methods to the
StorageMutatetrait. The oldinsertandremoveare nowreplaceandtake. The newinsertandremovedon't return a value. - #783: Renamed methods of
StorageWritetrait fromwrite,replace,taketowrite_bytes,replace_bytes,take_bytes. - #788: Fix truncating
sptoMEM_SIZEingrow_stack, and allow empty writes to zero-length ranges at$hp.
Fixed
Breaking
- #789: Avoid conversion into
usizetype and useu32oru64instead. The change is breaking since could return other errors for 32-bit systems. - #786: Fixed the CCP opcode to charge for the length from the input arguments.
- #785: Require
ContractCreatedoutput in theCreatetransaction. TheTransactionBuilder<Create>has aadd_contract_createdmethod to simplify the creation of theContractCreatedoutput for tests.
What's Changed
- Test ALU opcodes using only the external interface by @Dentosal in #754
- Store the base asset id in the metadata by @xgreenx in #781
- Use companies fork of the
publish-cratesaction by @xgreenx in #782 - Refactor coin-based contract instruction tests by @Dentosal in #779
- Require
ContractCreatedoutput in theCreatetransaction by @xgreenx in #785 - Fixed the CCP opcode to charge for the length of the input by @xgreenx in #786
- Remove unnecessary look up for old values by @xgreenx in #783
- Fixed charge functions to profile cost before charging by @xgreenx in #787
- grow_stack and empty $hp range write fixes by @Dentosal in #788
- Optimized storage lookups for side nodes in the SMT by @xgreenx in #784
- Avoid conversion into
usizetype and useu32oru64instead by @xgreenx in #789 - Release v0.55.0 by @xgreenx in #790
Full Changelog: v0.54.1...v0.55.0