From a144921ba80b2eb9895db41b5f27b747a94b284a Mon Sep 17 00:00:00 2001 From: rakita Date: Tue, 11 Feb 2025 14:45:22 +0100 Subject: [PATCH 1/2] fix(op-isthmus): missing granite precompiles and disable eof (#2065) * fix(op-isthmus): missing precompile and disable eof * small refactor --- crates/primitives/src/specification.rs | 4 ++-- crates/revm/src/optimism/handler_register.rs | 16 ++++++---------- crates/revm/src/optimism/precompile.rs | 2 +- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/crates/primitives/src/specification.rs b/crates/primitives/src/specification.rs index f2abf01bc5..8ccd01700a 100644 --- a/crates/primitives/src/specification.rs +++ b/crates/primitives/src/specification.rs @@ -68,8 +68,8 @@ pub enum SpecId { GRANITE = 23, HOLOCENE = 24, PRAGUE = 25, - OSAKA = 26, - ISTHMUS = 27, + ISTHMUS = 26, + OSAKA = 27, #[default] LATEST = u8::MAX, } diff --git a/crates/revm/src/optimism/handler_register.rs b/crates/revm/src/optimism/handler_register.rs index 06b61e0c83..c09339b186 100644 --- a/crates/revm/src/optimism/handler_register.rs +++ b/crates/revm/src/optimism/handler_register.rs @@ -355,25 +355,21 @@ pub fn deduct_caller( )); }; - let tx_l1_cost = context + let l1_block = context .evm .inner .l1_block_info .as_mut() - .expect("L1BlockInfo should be loaded") - .calculate_tx_l1_cost(enveloped_tx, SPEC::SPEC_ID); + .expect("L1BlockInfo should be loaded"); + + let tx_l1_cost = l1_block.calculate_tx_l1_cost(enveloped_tx, SPEC::SPEC_ID); caller_account.info.balance = caller_account.info.balance.saturating_sub(tx_l1_cost); // Deduct the operator fee from the caller's account. let gas_limit = U256::from(context.evm.inner.env.tx.gas_limit); - let operator_fee_charge = context - .evm - .inner - .l1_block_info - .as_ref() - .expect("L1BlockInfo should be loaded") - .operator_fee_charge(enveloped_tx, gas_limit, SPEC::SPEC_ID); + let operator_fee_charge = + l1_block.operator_fee_charge(enveloped_tx, gas_limit, SPEC::SPEC_ID); caller_account.info.balance = caller_account .info diff --git a/crates/revm/src/optimism/precompile.rs b/crates/revm/src/optimism/precompile.rs index bfd579ccfb..2e59b4c22d 100644 --- a/crates/revm/src/optimism/precompile.rs +++ b/crates/revm/src/optimism/precompile.rs @@ -38,7 +38,7 @@ pub(crate) fn granite() -> &'static Precompiles { pub(crate) fn isthmus() -> &'static Precompiles { static INSTANCE: OnceBox = OnceBox::new(); INSTANCE.get_or_init(|| { - let precompiles = Precompiles::cancun().clone(); + let precompiles = granite().clone(); // Don't include BLS12-381 precompiles in no_std builds. #[cfg(feature = "blst")] From bd961b7ad0ca04cbc3005af25c7bd000f8bed6aa Mon Sep 17 00:00:00 2001 From: rakita Date: Tue, 11 Feb 2025 15:09:47 +0100 Subject: [PATCH 2/2] bump: tag v56 revm v19.5.0 (#2066) * bump: tag v56 revm v19.5.0 * main changelog --- CHANGELOG.md | 11 ++ Cargo.lock | 10 +- bins/revm-test/CHANGELOG.md | 243 -------------------------------- bins/revm-test/Cargo.toml | 2 +- bins/revme/CHANGELOG.md | 6 + bins/revme/Cargo.toml | 4 +- crates/interpreter/CHANGELOG.md | 6 + crates/interpreter/Cargo.toml | 4 +- crates/precompile/CHANGELOG.md | 6 + crates/precompile/Cargo.toml | 4 +- crates/primitives/Cargo.toml | 2 +- crates/revm/CHANGELOG.md | 8 ++ crates/revm/Cargo.toml | 6 +- 13 files changed, 53 insertions(+), 259 deletions(-) delete mode 100644 bins/revm-test/CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 74c05e53b6..501a7fbcc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ Because this is workspace with multi libraries, tags will be simplified, and with this document you can match version of project with git tag. +# v56 tag +date: 11.02.2025 + +Optimism fixes and improvements. + +* `revm`: 19.4.0 -> 19.5.0 +* `revm-interpreter`: 15.1.0 -> 15.2.0 +* `revm-primitives`: 15.1.0 -> 15.2.0 +* `revm-precompile`: 16.0.0 -> 16.1.0 +* `revme`: 2.4.0 -> 2.5.0 + # v55 tag date: 28.01.2025 diff --git a/Cargo.lock b/Cargo.lock index 90989ca968..ec676f0656 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3245,7 +3245,7 @@ dependencies = [ [[package]] name = "revm" -version = "19.4.0" +version = "19.5.0" dependencies = [ "alloy-eips", "alloy-provider", @@ -3272,7 +3272,7 @@ dependencies = [ [[package]] name = "revm-interpreter" -version = "15.1.0" +version = "15.2.0" dependencies = [ "bincode", "paste", @@ -3285,7 +3285,7 @@ dependencies = [ [[package]] name = "revm-precompile" -version = "16.0.0" +version = "16.1.0" dependencies = [ "aurora-engine-modexp", "blst", @@ -3311,7 +3311,7 @@ dependencies = [ [[package]] name = "revm-primitives" -version = "15.1.0" +version = "15.2.0" dependencies = [ "alloy-eip2930", "alloy-eip7702 0.5.0", @@ -3344,7 +3344,7 @@ dependencies = [ [[package]] name = "revme" -version = "2.4.0" +version = "2.5.0" dependencies = [ "alloy-rlp", "hash-db", diff --git a/bins/revm-test/CHANGELOG.md b/bins/revm-test/CHANGELOG.md deleted file mode 100644 index 31a16f63dc..0000000000 --- a/bins/revm-test/CHANGELOG.md +++ /dev/null @@ -1,243 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [Unreleased] - -## [1.0.0](https://github.com/bluealloy/revm/releases/tag/revm-test-v1.0.0) - 2024-12-26 - -### Added - -- EOF (Ethereum Object Format) ([#1143](https://github.com/bluealloy/revm/pull/1143)) -- add tests for shift instructions ([#1254](https://github.com/bluealloy/revm/pull/1254)) -- EvmBuilder and External Contexts ([#888](https://github.com/bluealloy/revm/pull/888)) -- separate initial checks ([#486](https://github.com/bluealloy/revm/pull/486)) -- revm-interpreter created ([#320](https://github.com/bluealloy/revm/pull/320)) -- *(interpreter)* Unify instruction fn signature ([#283](https://github.com/bluealloy/revm/pull/283)) -- Migrate `primitive_types::U256` to `ruint::Uint<256, 4>` ([#239](https://github.com/bluealloy/revm/pull/239)) -- Introduce ByteCode format, Update Readme ([#156](https://github.com/bluealloy/revm/pull/156)) - -### Fixed - -- *(eof)* fixture 2 tests ([#1550](https://github.com/bluealloy/revm/pull/1550)) -- *(clippy)* fix some clippy lints - -### Other - -- tag v50, revm v18.0.0, changelogs ([#1849](https://github.com/bluealloy/revm/pull/1849)) -- v49 release ([#1833](https://github.com/bluealloy/revm/pull/1833)) -- v48 bump versions and changelogs ([#1831](https://github.com/bluealloy/revm/pull/1831)) -- bump major version number -- release-plz update -- Bump v46 versions ([#1826](https://github.com/bluealloy/revm/pull/1826)) -- release-plz update ([#1807](https://github.com/bluealloy/revm/pull/1807)) -- release-plz update -- *(deps)* bump alloy-sol-types from 0.8.0 to 0.8.2 ([#1762](https://github.com/bluealloy/revm/pull/1762)) -- release ([#1729](https://github.com/bluealloy/revm/pull/1729)) -- release ([#1722](https://github.com/bluealloy/revm/pull/1722)) -- *(deps)* bump alloy and primitives ([#1725](https://github.com/bluealloy/revm/pull/1725)) -- *(deps)* bump bytes from 1.6.1 to 1.7.1 ([#1700](https://github.com/bluealloy/revm/pull/1700)) -- tag v41 revm v13.0.0 ([#1692](https://github.com/bluealloy/revm/pull/1692)) -- release ([#1683](https://github.com/bluealloy/revm/pull/1683)) -- *(deps)* bump regex from 1.10.5 to 1.10.6 ([#1682](https://github.com/bluealloy/revm/pull/1682)) -- bump versions bcs of primitives ([#1631](https://github.com/bluealloy/revm/pull/1631)) -- release ([#1620](https://github.com/bluealloy/revm/pull/1620)) -- *(deps)* bump alloy-sol-types from 0.7.6 to 0.7.7 ([#1614](https://github.com/bluealloy/revm/pull/1614)) -- *(deps)* bump alloy-sol-macro from 0.7.6 to 0.7.7 ([#1613](https://github.com/bluealloy/revm/pull/1613)) -- release ([#1579](https://github.com/bluealloy/revm/pull/1579)) -- release ([#1548](https://github.com/bluealloy/revm/pull/1548)) -- replace TransactTo with TxKind ([#1542](https://github.com/bluealloy/revm/pull/1542)) -- *(deps)* bump regex from 1.10.4 to 1.10.5 ([#1502](https://github.com/bluealloy/revm/pull/1502)) -- release ([#1261](https://github.com/bluealloy/revm/pull/1261)) -- *(interpreter)* rewrite gas accounting for memory expansion ([#1361](https://github.com/bluealloy/revm/pull/1361)) -- revert snailtracer without microbench ([#1259](https://github.com/bluealloy/revm/pull/1259)) -- release ([#1231](https://github.com/bluealloy/revm/pull/1231)) -- *(deps)* bump other alloy deps 0.7.0 ([#1252](https://github.com/bluealloy/revm/pull/1252)) -- *(deps)* bump regex from 1.10.3 to 1.10.4 ([#1223](https://github.com/bluealloy/revm/pull/1223)) -- *(deps)* bump bytes from 1.5.0 to 1.6.0 ([#1224](https://github.com/bluealloy/revm/pull/1224)) -- release ([#1175](https://github.com/bluealloy/revm/pull/1175)) -- tag v32 revm v7.1.0 ([#1176](https://github.com/bluealloy/revm/pull/1176)) -- release ([#1125](https://github.com/bluealloy/revm/pull/1125)) -- *(deps)* bump alloy-sol-types from 0.6.3 to 0.6.4 ([#1148](https://github.com/bluealloy/revm/pull/1148)) -- *(deps)* bump alloy-sol-macro from 0.6.3 to 0.6.4 ([#1136](https://github.com/bluealloy/revm/pull/1136)) -- release tag v30 revm v6.1.0 ([#1100](https://github.com/bluealloy/revm/pull/1100)) -- clippy cleanup ([#1112](https://github.com/bluealloy/revm/pull/1112)) -- *(deps)* bump alloy-sol-types from 0.6.2 to 0.6.3 ([#1103](https://github.com/bluealloy/revm/pull/1103)) -- release ([#1082](https://github.com/bluealloy/revm/pull/1082)) -- *(deps)* bump alloy-sol-macro from 0.6.2 to 0.6.3 ([#1094](https://github.com/bluealloy/revm/pull/1094)) -- license date and revm docs ([#1080](https://github.com/bluealloy/revm/pull/1080)) -- release ([#1067](https://github.com/bluealloy/revm/pull/1067)) -- tag v27, revm v4.0.0 release ([#1061](https://github.com/bluealloy/revm/pull/1061)) -- *(deps)* bump eyre from 0.6.11 to 0.6.12 ([#1051](https://github.com/bluealloy/revm/pull/1051)) -- *(deps)* bump alloy-sol-types from 0.6.0 to 0.6.2 ([#1035](https://github.com/bluealloy/revm/pull/1035)) -- *(deps)* bump alloy-sol-macro from 0.6.0 to 0.6.2 ([#1013](https://github.com/bluealloy/revm/pull/1013)) -- chore(Test) : const to static ([#1016](https://github.com/bluealloy/revm/pull/1016)) -- Burntpix criterion bench ([#1004](https://github.com/bluealloy/revm/pull/1004)) -- Instruction table ([#759](https://github.com/bluealloy/revm/pull/759)) -- rewrite revm-test as a criterion bench ([#579](https://github.com/bluealloy/revm/pull/579)) -- optimize stack usage for recursive `call` and `create` programs ([#522](https://github.com/bluealloy/revm/pull/522)) -- Bump v24, revm v3.3.0 ([#476](https://github.com/bluealloy/revm/pull/476)) -- Release v23, revm v3.2.0 ([#464](https://github.com/bluealloy/revm/pull/464)) -- Release v22, revm v3.1.1 ([#460](https://github.com/bluealloy/revm/pull/460)) -- v21, revm v3.1.0 ([#444](https://github.com/bluealloy/revm/pull/444)) -- remove gas blocks ([#391](https://github.com/bluealloy/revm/pull/391)) -- *(deps)* bump bytes from 1.3.0 to 1.4.0 ([#355](https://github.com/bluealloy/revm/pull/355)) -- Bump v20, changelog ([#350](https://github.com/bluealloy/revm/pull/350)) -- includes to libs ([#338](https://github.com/bluealloy/revm/pull/338)) -- Creating revm-primitives, revm better errors and db components ([#334](https://github.com/bluealloy/revm/pull/334)) -- Cleanup, move hot fields toggether in Interpreter ([#321](https://github.com/bluealloy/revm/pull/321)) -- native bits ([#278](https://github.com/bluealloy/revm/pull/278)) -- *(release)* Bump revm and precompiles versions -- Bump primitive_types. Add statetest spec -- Bump revm v2.1.0 ([#224](https://github.com/bluealloy/revm/pull/224)) -- revm bump v2.0.0, precompile bump v1.1.1 ([#212](https://github.com/bluealloy/revm/pull/212)) -- Cfg choose create analysis, option on bytecode size limit ([#210](https://github.com/bluealloy/revm/pull/210)) -- Cargo sort. Bump lib versions ([#208](https://github.com/bluealloy/revm/pull/208)) -- Return `ExecutionResult`, which includes `gas_refunded` ([#169](https://github.com/bluealloy/revm/pull/169)) -- Bytecode hash, remove override_spec, ([#165](https://github.com/bluealloy/revm/pull/165)) -- revm bump 1.8. update libs. snailtracer rename ([#159](https://github.com/bluealloy/revm/pull/159)) -- v6 changelog, bump versions -- Big Refactor. Machine to Interpreter. refactor instructions. call/create struct ([#52](https://github.com/bluealloy/revm/pull/52)) -- [revm] pop_top and unsafe comments ([#51](https://github.com/bluealloy/revm/pull/51)) -- [precompiles] remove unused borsh -- [recompl] Bump precompile deps, cargo sort on workspace -- [revm] output log. Stetetest test log output. fmt -- Bump versions, Changelogs, fmt, revm readme, clippy. -- [revm] Run test multiple times. fmt, BenchmarkDB -- Multiple changes: web3 db, debugger initial commit, precompile load -- Memory to usize, clippy,fmt -- wip optimize i256 -- TEMP switch stacks H256 with U256 -- [revm] some perfs -- [revm] Perfs stack pop. Benchmark snailtracer. -- [revm] cleanup -- fmt -- EVM Interface changed. Inspector called separately -- Bump revm v0.3.0. README updated -- DB ref mut polished -- And now we debug -- [revm] Interface. Inspector added, Env cleanup. revm-test passes -- Rename bin to bins -## [Unreleased] - -## [1.0.0](https://github.com/bluealloy/revm/releases/tag/revm-test-v1.0.0) - 2025-01-13 - -### Added - -- EOF (Ethereum Object Format) ([#1143](https://github.com/bluealloy/revm/pull/1143)) -- add tests for shift instructions ([#1254](https://github.com/bluealloy/revm/pull/1254)) -- EvmBuilder and External Contexts ([#888](https://github.com/bluealloy/revm/pull/888)) -- separate initial checks ([#486](https://github.com/bluealloy/revm/pull/486)) -- revm-interpreter created ([#320](https://github.com/bluealloy/revm/pull/320)) -- *(interpreter)* Unify instruction fn signature ([#283](https://github.com/bluealloy/revm/pull/283)) -- Migrate `primitive_types::U256` to `ruint::Uint<256, 4>` ([#239](https://github.com/bluealloy/revm/pull/239)) -- Introduce ByteCode format, Update Readme ([#156](https://github.com/bluealloy/revm/pull/156)) - -### Fixed - -- *(eof)* fixture 2 tests ([#1550](https://github.com/bluealloy/revm/pull/1550)) -- *(clippy)* fix some clippy lints - -### Other - -- v53 revm v19.2.0 ([#1972](https://github.com/bluealloy/revm/pull/1972)) -- bump for v51, revm v19.0.0 versions ([#1953](https://github.com/bluealloy/revm/pull/1953)) -- tag v50, revm v18.0.0, changelogs ([#1849](https://github.com/bluealloy/revm/pull/1849)) -- v49 release ([#1833](https://github.com/bluealloy/revm/pull/1833)) -- v48 bump versions and changelogs ([#1831](https://github.com/bluealloy/revm/pull/1831)) -- bump major version number -- release-plz update -- Bump v46 versions ([#1826](https://github.com/bluealloy/revm/pull/1826)) -- release-plz update ([#1807](https://github.com/bluealloy/revm/pull/1807)) -- release-plz update -- *(deps)* bump alloy-sol-types from 0.8.0 to 0.8.2 ([#1762](https://github.com/bluealloy/revm/pull/1762)) -- release ([#1729](https://github.com/bluealloy/revm/pull/1729)) -- release ([#1722](https://github.com/bluealloy/revm/pull/1722)) -- *(deps)* bump alloy and primitives ([#1725](https://github.com/bluealloy/revm/pull/1725)) -- *(deps)* bump bytes from 1.6.1 to 1.7.1 ([#1700](https://github.com/bluealloy/revm/pull/1700)) -- tag v41 revm v13.0.0 ([#1692](https://github.com/bluealloy/revm/pull/1692)) -- release ([#1683](https://github.com/bluealloy/revm/pull/1683)) -- *(deps)* bump regex from 1.10.5 to 1.10.6 ([#1682](https://github.com/bluealloy/revm/pull/1682)) -- bump versions bcs of primitives ([#1631](https://github.com/bluealloy/revm/pull/1631)) -- release ([#1620](https://github.com/bluealloy/revm/pull/1620)) -- *(deps)* bump alloy-sol-types from 0.7.6 to 0.7.7 ([#1614](https://github.com/bluealloy/revm/pull/1614)) -- *(deps)* bump alloy-sol-macro from 0.7.6 to 0.7.7 ([#1613](https://github.com/bluealloy/revm/pull/1613)) -- release ([#1579](https://github.com/bluealloy/revm/pull/1579)) -- release ([#1548](https://github.com/bluealloy/revm/pull/1548)) -- replace TransactTo with TxKind ([#1542](https://github.com/bluealloy/revm/pull/1542)) -- *(deps)* bump regex from 1.10.4 to 1.10.5 ([#1502](https://github.com/bluealloy/revm/pull/1502)) -- release ([#1261](https://github.com/bluealloy/revm/pull/1261)) -- *(interpreter)* rewrite gas accounting for memory expansion ([#1361](https://github.com/bluealloy/revm/pull/1361)) -- revert snailtracer without microbench ([#1259](https://github.com/bluealloy/revm/pull/1259)) -- release ([#1231](https://github.com/bluealloy/revm/pull/1231)) -- *(deps)* bump other alloy deps 0.7.0 ([#1252](https://github.com/bluealloy/revm/pull/1252)) -- *(deps)* bump regex from 1.10.3 to 1.10.4 ([#1223](https://github.com/bluealloy/revm/pull/1223)) -- *(deps)* bump bytes from 1.5.0 to 1.6.0 ([#1224](https://github.com/bluealloy/revm/pull/1224)) -- release ([#1175](https://github.com/bluealloy/revm/pull/1175)) -- tag v32 revm v7.1.0 ([#1176](https://github.com/bluealloy/revm/pull/1176)) -- release ([#1125](https://github.com/bluealloy/revm/pull/1125)) -- *(deps)* bump alloy-sol-types from 0.6.3 to 0.6.4 ([#1148](https://github.com/bluealloy/revm/pull/1148)) -- *(deps)* bump alloy-sol-macro from 0.6.3 to 0.6.4 ([#1136](https://github.com/bluealloy/revm/pull/1136)) -- release tag v30 revm v6.1.0 ([#1100](https://github.com/bluealloy/revm/pull/1100)) -- clippy cleanup ([#1112](https://github.com/bluealloy/revm/pull/1112)) -- *(deps)* bump alloy-sol-types from 0.6.2 to 0.6.3 ([#1103](https://github.com/bluealloy/revm/pull/1103)) -- release ([#1082](https://github.com/bluealloy/revm/pull/1082)) -- *(deps)* bump alloy-sol-macro from 0.6.2 to 0.6.3 ([#1094](https://github.com/bluealloy/revm/pull/1094)) -- license date and revm docs ([#1080](https://github.com/bluealloy/revm/pull/1080)) -- release ([#1067](https://github.com/bluealloy/revm/pull/1067)) -- tag v27, revm v4.0.0 release ([#1061](https://github.com/bluealloy/revm/pull/1061)) -- *(deps)* bump eyre from 0.6.11 to 0.6.12 ([#1051](https://github.com/bluealloy/revm/pull/1051)) -- *(deps)* bump alloy-sol-types from 0.6.0 to 0.6.2 ([#1035](https://github.com/bluealloy/revm/pull/1035)) -- *(deps)* bump alloy-sol-macro from 0.6.0 to 0.6.2 ([#1013](https://github.com/bluealloy/revm/pull/1013)) -- chore(Test) : const to static ([#1016](https://github.com/bluealloy/revm/pull/1016)) -- Burntpix criterion bench ([#1004](https://github.com/bluealloy/revm/pull/1004)) -- Instruction table ([#759](https://github.com/bluealloy/revm/pull/759)) -- rewrite revm-test as a criterion bench ([#579](https://github.com/bluealloy/revm/pull/579)) -- optimize stack usage for recursive `call` and `create` programs ([#522](https://github.com/bluealloy/revm/pull/522)) -- Bump v24, revm v3.3.0 ([#476](https://github.com/bluealloy/revm/pull/476)) -- Release v23, revm v3.2.0 ([#464](https://github.com/bluealloy/revm/pull/464)) -- Release v22, revm v3.1.1 ([#460](https://github.com/bluealloy/revm/pull/460)) -- v21, revm v3.1.0 ([#444](https://github.com/bluealloy/revm/pull/444)) -- remove gas blocks ([#391](https://github.com/bluealloy/revm/pull/391)) -- *(deps)* bump bytes from 1.3.0 to 1.4.0 ([#355](https://github.com/bluealloy/revm/pull/355)) -- Bump v20, changelog ([#350](https://github.com/bluealloy/revm/pull/350)) -- includes to libs ([#338](https://github.com/bluealloy/revm/pull/338)) -- Creating revm-primitives, revm better errors and db components ([#334](https://github.com/bluealloy/revm/pull/334)) -- Cleanup, move hot fields toggether in Interpreter ([#321](https://github.com/bluealloy/revm/pull/321)) -- native bits ([#278](https://github.com/bluealloy/revm/pull/278)) -- *(release)* Bump revm and precompiles versions -- Bump primitive_types. Add statetest spec -- Bump revm v2.1.0 ([#224](https://github.com/bluealloy/revm/pull/224)) -- revm bump v2.0.0, precompile bump v1.1.1 ([#212](https://github.com/bluealloy/revm/pull/212)) -- Cfg choose create analysis, option on bytecode size limit ([#210](https://github.com/bluealloy/revm/pull/210)) -- Cargo sort. Bump lib versions ([#208](https://github.com/bluealloy/revm/pull/208)) -- Return `ExecutionResult`, which includes `gas_refunded` ([#169](https://github.com/bluealloy/revm/pull/169)) -- Bytecode hash, remove override_spec, ([#165](https://github.com/bluealloy/revm/pull/165)) -- revm bump 1.8. update libs. snailtracer rename ([#159](https://github.com/bluealloy/revm/pull/159)) -- v6 changelog, bump versions -- Big Refactor. Machine to Interpreter. refactor instructions. call/create struct ([#52](https://github.com/bluealloy/revm/pull/52)) -- [revm] pop_top and unsafe comments ([#51](https://github.com/bluealloy/revm/pull/51)) -- [precompiles] remove unused borsh -- [recompl] Bump precompile deps, cargo sort on workspace -- [revm] output log. Stetetest test log output. fmt -- Bump versions, Changelogs, fmt, revm readme, clippy. -- [revm] Run test multiple times. fmt, BenchmarkDB -- Multiple changes: web3 db, debugger initial commit, precompile load -- Memory to usize, clippy,fmt -- wip optimize i256 -- TEMP switch stacks H256 with U256 -- [revm] some perfs -- [revm] Perfs stack pop. Benchmark snailtracer. -- [revm] cleanup -- fmt -- EVM Interface changed. Inspector called separately -- Bump revm v0.3.0. README updated -- DB ref mut polished -- And now we debug -- [revm] Interface. Inspector added, Env cleanup. revm-test passes -- Rename bin to bins - -## [1.0.0](https://github.com/bluealloy/revm/releases/tag/revm-test-v1.0.0) - 2024-11-06 diff --git a/bins/revm-test/Cargo.toml b/bins/revm-test/Cargo.toml index bca92098a3..153987cb0c 100644 --- a/bins/revm-test/Cargo.toml +++ b/bins/revm-test/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] bytes = "1.7" hex = "0.4" -revm = { path = "../../crates/revm", version = "19.4.0", default-features=false } +revm = { path = "../../crates/revm", version = "19.5.0", default-features=false } microbench = "0.5" alloy-sol-macro = "0.8.11" alloy-sol-types = "0.8.11" diff --git a/bins/revme/CHANGELOG.md b/bins/revme/CHANGELOG.md index 5e95f066be..4799336e9d 100644 --- a/bins/revme/CHANGELOG.md +++ b/bins/revme/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.5.0](https://github.com/bluealloy/revm/compare/revme-v2.4.0...revme-v2.5.0) - 2025-02-11 + +### Other + +- updated the following local packages: revm + ## [2.4.0](https://github.com/bluealloy/revm/compare/revme-v2.3.0...revme-v2.4.0) - 2025-01-28 ### Other diff --git a/bins/revme/Cargo.toml b/bins/revme/Cargo.toml index c29347be01..4b38f0cd25 100644 --- a/bins/revme/Cargo.toml +++ b/bins/revme/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["ethereum", "evm"] license = "MIT" repository = "https://github.com/bluealloy/revm" description = "Rust Ethereum Virtual Machine Executable" -version = "2.4.0" +version = "2.5.0" [dependencies] hash-db = "0.15" @@ -14,7 +14,7 @@ hex = "0.4" indicatif = "0.17" microbench = "0.5" plain_hasher = "0.2" -revm = { path = "../../crates/revm", version = "19.4.0", default-features = false, features = [ +revm = { path = "../../crates/revm", version = "19.5.0", default-features = false, features = [ "ethersdb", "std", "serde-json", diff --git a/crates/interpreter/CHANGELOG.md b/crates/interpreter/CHANGELOG.md index 0d1007b5e0..396b18e4ad 100644 --- a/crates/interpreter/CHANGELOG.md +++ b/crates/interpreter/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.2.0](https://github.com/bluealloy/revm/compare/revm-interpreter-v15.1.0...revm-interpreter-v15.2.0) - 2025-02-11 + +### Other + +- revm v19.4.0 tag v54 + ## [15.1.0](https://github.com/bluealloy/revm/compare/revm-interpreter-v15.0.0...revm-interpreter-v15.1.0) - 2025-01-13 ### Added diff --git a/crates/interpreter/Cargo.toml b/crates/interpreter/Cargo.toml index e7b0cc9cd9..316b92684b 100644 --- a/crates/interpreter/Cargo.toml +++ b/crates/interpreter/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["no_std", "ethereum", "evm", "revm", "interpreter"] license = "MIT" name = "revm-interpreter" repository = "https://github.com/bluealloy/revm" -version = "15.1.0" +version = "15.2.0" readme = "../../README.md" [package.metadata.docs.rs] @@ -22,7 +22,7 @@ rust_2018_idioms = "deny" all = "warn" [dependencies] -revm-primitives = { path = "../primitives", version = "15.1.0", default-features = false } +revm-primitives = { path = "../primitives", version = "15.2.0", default-features = false } paste = { version = "1.0", optional = true } phf = { version = "0.11", default-features = false, optional = true, features = [ diff --git a/crates/precompile/CHANGELOG.md b/crates/precompile/CHANGELOG.md index 4f8105f1c0..b08f8a9706 100644 --- a/crates/precompile/CHANGELOG.md +++ b/crates/precompile/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [16.1.0](https://github.com/bluealloy/revm/compare/revm-precompile-v16.0.0...revm-precompile-v16.1.0) - 2025-02-11 + +### Other + +- revm v19.4.0 tag v54 + ## [16.0.0](https://github.com/bluealloy/revm/compare/revm-precompile-v15.0.0...revm-precompile-v16.0.0) - 2024-12-26 ### Added diff --git a/crates/precompile/Cargo.toml b/crates/precompile/Cargo.toml index 396d7bfaca..f4f6393e83 100644 --- a/crates/precompile/Cargo.toml +++ b/crates/precompile/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["no_std", "ethereum", "evm", "revm", "precompiles"] license = "MIT" name = "revm-precompile" repository = "https://github.com/bluealloy/revm" -version = "16.0.0" +version = "16.1.0" readme = "../../README.md" [package.metadata.docs.rs] @@ -22,7 +22,7 @@ rust_2018_idioms = "deny" all = "warn" [dependencies] -revm-primitives = { path = "../primitives", version = "15.1.0", default-features = false } +revm-primitives = { path = "../primitives", version = "15.2.0", default-features = false } once_cell = { version = "1.19", default-features = false, features = ["alloc"] } # ecRecover diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index c562883310..f65021716c 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["no_std", "ethereum", "evm", "revm", "types"] license = "MIT" name = "revm-primitives" repository = "https://github.com/bluealloy/revm" -version = "15.1.0" +version = "15.2.0" readme = "../../README.md" [package.metadata.docs.rs] diff --git a/crates/revm/CHANGELOG.md b/crates/revm/CHANGELOG.md index dd64ca9ec0..37ba224dd7 100644 --- a/crates/revm/CHANGELOG.md +++ b/crates/revm/CHANGELOG.md @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [19.5.0](https://github.com/bluealloy/revm/compare/revm-v19.4.0...revm-v19.5.0) - 2025-02-11 + +### Fixed + +- *(op-isthmus)* missing granite precompiles and disable eof (#2065) +- *(op)* add operator fee scalar scaling factor on refund (#2050) +- fix ethersdb.rs forking ([#2047](https://github.com/bluealloy/revm/pull/2047)) + ## [19.4.0](https://github.com/bluealloy/revm/compare/revm-v19.3.0...revm-v19.4.0) - 2025-01-28 ### Added diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index 45fa00107e..cf37dc644f 100644 --- a/crates/revm/Cargo.toml +++ b/crates/revm/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["no_std", "ethereum", "evm", "revm"] license = "MIT" name = "revm" repository = "https://github.com/bluealloy/revm" -version = "19.4.0" +version = "19.5.0" readme = "../../README.md" [package.metadata.docs.rs] @@ -23,8 +23,8 @@ all = "warn" [dependencies] # revm -revm-interpreter = { path = "../interpreter", version = "15.1.0", default-features = false } -revm-precompile = { path = "../precompile", version = "16.0.0", default-features = false } +revm-interpreter = { path = "../interpreter", version = "15.2.0", default-features = false } +revm-precompile = { path = "../precompile", version = "16.1.0", default-features = false } # misc auto_impl = { version = "1.2", default-features = false }