This is a development pre-release.
Supported polkadot-sdk
rev: 274a781e8ca1a9432c7ec87593bd93214abbff50
- Support for the
coinbase
opcode.
- Missing the
--overwrite
flag emits an error instead of a warning. - The
resolc
executable prints the help by default. - Removed support for legacy EVM assembly (EVMLA) translation.
- integration: identify cached code blobs on source code to fix potential confusions.
- Setting base, include or allow paths in emscripten is now a hard error.
- Employ a heuristic to detect
address.transfer
andaddress.send
calls. If detected, the re-entrant call flag is not set and 0 deposit limit is endowed.
- Solidity: Add the solc
--libraries
files to sources. - A data race in tests.
- Fix
broken pipe
errors. - llvm-builder: Allow warnings.
- solidity: Fix the custom compiler warning messages.
This is a development pre-release.
- Syscalls with more than 6 arguments now pack them into registers.
- Remove reloading of the resolc.js file (fix issue with relative path in web worker)
This is a development pre-release.
- The
revive-llvm-builder
crate with therevive-llvm
helper utility for streamlined management of the LLVM framework dependency. - Initial support for running
resolc
in the browser.
- Suported contracts runtime is polkadot-sdk git version
d62a90c8c729acd98c7e9a5cab9803b8b211ffc5
. - The minimum supported Rust version is
1.81.0
. - Error out early instead of invoking
solc
with invalid base or include path flags.
- Decouple the LLVM target dependency from the LLVM host dependency.
- Do not error out if no files and no errors were produced. This aligns resolc closer to solc.
- Fixes input normalization in the Wasm version.
This is a development pre-release.
- Implement the
GASPRICE
opcode. - Implement the
BASEFEE
opcode. - Implement the
GASLIMIT
opcode.
- The
GAS
opcode now returns the remainingref_time
. - Contracts can now be supplied call data input of arbitrary size.
- Some syscalls now return the value in a register, slightly improving emitted contract code.
- Calls forward maximum weight limits instead of 0, anticipating a change in polkadot-sdk where weight limits of 0 no longer interprets as uncapped limit.
- A linker bug which was preventing certain contracts from linking with the PVM linker.
- JS: Fix encoding conversion from JS string (UTF-16) to UTF-8.
- The git commit hash slug is always displayed in the version string.
This is a development pre-release.
- Implement the
BLOCKHASH
opcode. - Implement delegate calls.
- Implement the
GASPRICE
opcode. Currently hard-coded to return1
. - The ELF shared object contract artifact is dumped into the debug output directory.
- Initial support for emitting debug info (opt in via the
-g
flag)
- resolc now emits 64bit PolkaVM blobs, reducing contract code size and execution time.
- The RISC-V bit-manipulation target feature (
zbb
) is enabled.
- Compilation to Wasm (for usage in node and web browsers)
This is development pre-release.
- Implement the
CODESIZE
andEXTCODESIZE
opcodes.
- Include the full revive version in the contract metadata.
This is development pre-release.
- Support the
ORIGIN
opcode.
- Update polkavm to
v0.14.0
. - Enable the
a
,fast-unaligned-access
andxtheadcondmov
LLVM target features, decreasing the code size for some contracts.