Changelog
This is a development pre-release.
Supported polkadot-sdk rev: unstable2507
Added
- The comprehensive revive compiler book documentation page: https://paritytech.github.io/revive/
- Support for solc v0.8.33.
- Support for the
clzYul builtin.
Changed
- Instruct the LLVM backend and linker to
--relax(may lead to smaller contract code size). - Standard JSON mode: Don't forward EVM bytecode related output selections to solc.
- The supported
polkadot-sdkrelease isunstable2507. - The
INVALIDopcode and OOB memory accesses now consume all remaining gas. - Emit the
call_evmanddelegate_call_evmsyscalls for contract calls. - The
revive-runnercan execute arbitrarily large contract blobs. - Set the default PolkaVM stack and heap size values to 128KB.
Fixed:
- The missing
STOPinstruction at the end ofcodeblocks. - The missing bounds check in the internal sbrk implementation.
- The call gas is no longer ignored.
- The
settings.polkavm.memoryConfigobject and its fields are now in camelCase.
Note for macOS Users
The macOS binary is unsigned and it needs to be made runnable using xattr -c resolc-universal-apple-darwin.