Breaking Changes:
- SSVM is now WasmEdge. WasmEdge is hosted by the Cloud Native Computing Foundation (CNCF) as a sandbox project.
- Migrate all SSVM components with WasmEdge components.
- Bump SSVM from 0.7.3 to WasmEdge 0.9.0
- Bump EVMC to 0.7.4
- Bump WasmEdge-evmc to 0.9.0 for matching the WasmEdge 0.9.0 release.
Refactor:
- Update host function signature.
- Use memory instance pointer rather than reference due to API change of host function base class.
- Remove
revert
error code.- Return as terminated and handle revert event in EEI environment.
Features:
- Ethereum environment interface
- Moved from SSVM project.
- Implemented all EEI functions in a host module.
Tools:
- SSVM-EVMC
- SSVM-EVMC integrates EVMC and Ethereum Environment Interface(EEI).
- SSVM-EVMC is a shared library for EVMC-compatible clients.
Tests:
- ERC20 contracts for SSVM-EVMC
- Create an example VM for testing.
- Test the following functionalities of ERC20 contracts:
- Deploy ERC20 contract
- Check balance
- Check total supply
- Transfer
- Approve
- Check allowance