Version 0.59.0
Added
- 871: Add
expiration
policy that prevent a transaction to be inserted after a given block height. - 870: Add 3 new ZK-related opcodes: eadd (ecAdd on EVM), emul (ecMul on EVM), epar (ecPairing on EVM)
- 875: Updated
wasm-bindgen
to0.2.97
Fixed
- 860: Fixed missing fuzzing coverage report in CI.
Breaking
- 863: Changed StorageRead::read to load a serialized value starting from a offset. The function returns an optional value equal to the number of bytes read when defined, or none if the offset specified in input is outside the boundaries of the serialized value read.
- 868: Fixed error message when having a nonexistent contract in inputs. Instead of saying "contract was in inputs, but doesn't exist", the message was just "contract not in inputs". Now there's a separate error for that.
- 837: Change
diff
function to get VM instance diff to arollback_to
that allow to fetch changes to make self -> previous state. However, this support the new memory management that allow memory to grow between instances instead of fixed memory size.
Changed
- 847: Changed
interpreter::blockchain::load_contract_code
andinterpreter::blockchain::code_copy
to use the new version ofStorageRead::read
where the contract is loaded into a buffer starting from an offset. The contract is copied directly into the portion of memory starting at the destination address, rather than having to be copied indirectly after being fetched from storage.
What's Changed
- Create SECURITY.md by @Voxelot in #858
- fix(fuzz_coverage): Don't specify compiler version to avoid raw profile version mismatch by @netrome in #860
- Update packages versions to remove dependency to proc-macro-error by @AurelienFT in #861
- Add the possibility to specify an offset for the read value in StorageRead::read by @acerone85 in #863
- Add new ZK opcodes by @AurelienFT in #870
- chore: bump wasm-bindgen from
0.2.88
to0.2.97
by @petertonysmith94 in #875 - Add expiration policy by @AurelienFT in #871
- Add a separate error for nonexistent contract input by @Dentosal in #868
- Optimize
interpreter::blockchain::{load_contract_code, code_copy}
to read contract starting from offset by @acerone85 in #847 - Rollback memory changes by @xgreenx in #837
- Release v0.59.0 by @AurelienFT in #877
New Contributors
- @AurelienFT made their first contribution in #861
- @petertonysmith94 made their first contribution in #875
Full Changelog: v0.58.2...v0.59.0