diff --git a/CHANGELOG.md b/CHANGELOG.md index db2105e..7f96e28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,10 +16,12 @@ Supported `polkadot-sdk` rev: `unstable2507` - Standard JSON mode: Don't forward EVM bytecode related output selections to solc. - The supported `polkadot-sdk` release is `unstable2507`. - The `INVALID` opcode and OOB memory accesses now consume all remaining gas. +- Emit the `call_evm` and `delegate_call_evm` syscalls for contract calls. ### Fixed: - The missing `STOP` instruction at the end of `code` blocks. - The missing bounds check in the internal sbrk implementation. +- The call gas is no longer ignored. ## v0.5.0 diff --git a/crates/solc-json-interface/src/standard_json/output/error/mod.rs b/crates/solc-json-interface/src/standard_json/output/error/mod.rs index 208e132..9787d18 100644 --- a/crates/solc-json-interface/src/standard_json/output/error/mod.rs +++ b/crates/solc-json-interface/src/standard_json/output/error/mod.rs @@ -113,10 +113,9 @@ impl Error { let message = r#" Warning: It looks like you are using '
.send/transfer()'. Using '
.send/transfer()' is deprecated and strongly discouraged! -The resolc compiler uses a heuristic to detect '
.send/transfer()' calls, -which disables call re-entrancy and supplies all remaining gas instead of the 2300 gas stipend. -However, detection is not guaranteed. You are advised to carefully test this, employ -re-entrancy guards or use the withdrawal pattern instead! +The revive runtime uses a heuristic to detect '
.send/transfer()' calls and +the gas stipend used by the runtime is different from the EVM. +You are advised to carefully test this, employ re-entrancy guards or use the withdrawal pattern instead! Learn more on https://docs.soliditylang.org/en/latest/security-considerations.html#reentrancy and https://docs.soliditylang.org/en/latest/common-patterns.html#withdrawal-from-contracts "#