#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 old insert and remove are now replace and take. The new insert and remove don't return a value.
#783: Renamed methods of StorageWrite trait from write, replace, take to write_bytes, replace_bytes, take_bytes.
#788: Fix truncating sp to MEM_SIZE in grow_stack, and allow empty writes to zero-length ranges at $hp.
Fixed
Breaking
#789: Avoid conversion into usize type and use u32 or u64 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 the Create transaction. The TransactionBuilder<Create> has a add_contract_created method to simplify the creation of the ContractCreated output for tests.
Version v0.55.0
Added
base_asset_id
to checked metadata.Changed
Breaking
StorageMutate
trait. The oldinsert
andremove
are nowreplace
andtake
. The newinsert
andremove
don't return a value.StorageWrite
trait fromwrite
,replace
,take
towrite_bytes
,replace_bytes
,take_bytes
.sp
toMEM_SIZE
ingrow_stack
, and allow empty writes to zero-length ranges at$hp
.Fixed
Breaking
usize
type and useu32
oru64
instead. The change is breaking since could return other errors for 32-bit systems.ContractCreated
output in theCreate
transaction. TheTransactionBuilder<Create>
has aadd_contract_created
method to simplify the creation of theContractCreated
output for tests.What's Changed
publish-crates
action by @xgreenx in https://github.com/FuelLabs/fuel-vm/pull/782ContractCreated
output in theCreate
transaction by @xgreenx in https://github.com/FuelLabs/fuel-vm/pull/785usize
type and useu32
oru64
instead by @xgreenx in https://github.com/FuelLabs/fuel-vm/pull/789Full Changelog: https://github.com/FuelLabs/fuel-vm/compare/v0.54.1...v0.55.0