v0.55.0
Version v0.55.0
Added
- #781: Added
base_asset_id
to 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
StorageMutate
trait. The oldinsert
andremove
are nowreplace
andtake
. The newinsert
andremove
don't return a value. - #783: Renamed methods of
StorageWrite
trait fromwrite
,replace
,take
towrite_bytes
,replace_bytes
,take_bytes
. - #788: Fix truncating
sp
toMEM_SIZE
ingrow_stack
, and allow empty writes to zero-length ranges at$hp
.
Fixed
Breaking
- #789: Avoid conversion into
usize
type and useu32
oru64
instead. 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
ContractCreated
output in theCreate
transaction. TheTransactionBuilder<Create>
has aadd_contract_created
method to simplify the creation of theContractCreated
output 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-crates
action by @xgreenx in #782 - Refactor coin-based contract instruction tests by @Dentosal in #779
- Require
ContractCreated
output in theCreate
transaction 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
usize
type and useu32
oru64
instead by @xgreenx in #789 - Release v0.55.0 by @xgreenx in #790
Full Changelog: v0.54.1...v0.55.0