diff --git a/Cargo.lock b/Cargo.lock index aa2818eb99..9b614df32e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2321,7 +2321,7 @@ dependencies = [ [[package]] name = "revm" -version = "6.1.0" +version = "7.0.0" dependencies = [ "anyhow", "auto_impl", @@ -2341,7 +2341,7 @@ dependencies = [ [[package]] name = "revm-interpreter" -version = "3.1.0" +version = "3.2.0" dependencies = [ "revm-primitives", "serde", @@ -2349,7 +2349,7 @@ dependencies = [ [[package]] name = "revm-precompile" -version = "4.1.0" +version = "5.0.0" dependencies = [ "aurora-engine-modexp", "c-kzg", @@ -2364,7 +2364,7 @@ dependencies = [ [[package]] name = "revm-primitives" -version = "2.1.0" +version = "3.0.0" dependencies = [ "alloy-primitives", "auto_impl", @@ -2397,7 +2397,7 @@ dependencies = [ [[package]] name = "revme" -version = "0.2.2" +version = "0.3.0" dependencies = [ "alloy-rlp", "hash-db", diff --git a/bins/revm-test/Cargo.toml b/bins/revm-test/Cargo.toml index 8ef7fdf013..f5c4d1f86b 100644 --- a/bins/revm-test/Cargo.toml +++ b/bins/revm-test/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] bytes = "1.4" hex = "0.4" -revm = { path = "../../crates/revm", version = "6.1.0",default-features=false } +revm = { path = "../../crates/revm", version = "7.0.0",default-features=false } microbench = "0.5" alloy-sol-macro = "0.6.4" alloy-sol-types = "0.6.4" diff --git a/bins/revme/CHANGELOG.md b/bins/revme/CHANGELOG.md index cdd52ccc7b..eb0a0551f2 100644 --- a/bins/revme/CHANGELOG.md +++ b/bins/revme/CHANGELOG.md @@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.0](https://github.com/bluealloy/revm/compare/revme-v0.2.2...revme-v0.3.0) - 2024-03-08 + +### Added +- use `impl` instead of `dyn` in `GetInspector` ([#1157](https://github.com/bluealloy/revm/pull/1157)) +- add evm script ([#1039](https://github.com/bluealloy/revm/pull/1039)) + +### Fixed +- *(revme)* revme error output and remove double summary ([#1169](https://github.com/bluealloy/revm/pull/1169)) + +### Other +- *(deps)* bump walkdir from 2.4.0 to 2.5.0 ([#1149](https://github.com/bluealloy/revm/pull/1149)) + ## [0.2.2](https://github.com/bluealloy/revm/compare/revme-v0.2.1...revme-v0.2.2) - 2024-02-22 ### Added diff --git a/bins/revme/Cargo.toml b/bins/revme/Cargo.toml index 1e3d946214..b353a5dabc 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 = "0.2.2" +version = "0.3.0" [dependencies] hash-db = "0.15" @@ -15,7 +15,7 @@ hashbrown = "0.14" indicatif = "0.17" microbench = "0.5" plain_hasher = "0.2" -revm = { path = "../../crates/revm", version = "6.1.0", default-features = false, features = [ +revm = { path = "../../crates/revm", version = "7.0.0", default-features = false, features = [ "ethersdb", "std", "serde-json", diff --git a/crates/interpreter/CHANGELOG.md b/crates/interpreter/CHANGELOG.md index 27a0b381af..1efbbae10d 100644 --- a/crates/interpreter/CHANGELOG.md +++ b/crates/interpreter/CHANGELOG.md @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.2.0](https://github.com/bluealloy/revm/compare/revm-interpreter-v3.1.0...revm-interpreter-v3.2.0) - 2024-03-08 + +### Added +- add insert method on instruction table ([#1167](https://github.com/bluealloy/revm/pull/1167)) +- use `impl` instead of `dyn` in `GetInspector` ([#1157](https://github.com/bluealloy/revm/pull/1157)) + +### Other +- *(interpreter)* use already-computed sign in SAR ([#1147](https://github.com/bluealloy/revm/pull/1147)) +- *(interpreter)* factor out jump logic ([#1146](https://github.com/bluealloy/revm/pull/1146)) +- *(interpreter)* evaluate instruction table constructor at compile time ([#1140](https://github.com/bluealloy/revm/pull/1140)) + ## [3.1.0](https://github.com/bluealloy/revm/compare/revm-interpreter-v3.0.0...revm-interpreter-v3.1.0) - 2024-02-22 ### Added diff --git a/crates/interpreter/Cargo.toml b/crates/interpreter/Cargo.toml index 90d4e3fc20..36229518b8 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 = "3.1.0" +version = "3.2.0" readme = "../../README.md" [package.metadata.docs.rs] @@ -14,7 +14,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -revm-primitives = { path = "../primitives", version = "2.1.0", default-features = false } +revm-primitives = { path = "../primitives", version = "3.0.0", default-features = false } # optional serde = { version = "1.0", default-features = false, features = [ diff --git a/crates/precompile/CHANGELOG.md b/crates/precompile/CHANGELOG.md index c4ed76761e..b6f04fb97d 100644 --- a/crates/precompile/CHANGELOG.md +++ b/crates/precompile/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.0.0](https://github.com/bluealloy/revm/compare/revm-precompile-v4.1.0...revm-precompile-v5.0.0) - 2024-03-08 + +### Added +- *(precompile)* add a bool to bytes32 helper function ([#1170](https://github.com/bluealloy/revm/pull/1170)) +- precompile with generic context ([#1155](https://github.com/bluealloy/revm/pull/1155)) +- Add boxed precompile trait ([#1131](https://github.com/bluealloy/revm/pull/1131)) + ## [4.1.0](https://github.com/bluealloy/revm/compare/revm-precompile-v4.0.1...revm-precompile-v4.1.0) - 2024-02-22 ### Added diff --git a/crates/precompile/Cargo.toml b/crates/precompile/Cargo.toml index b11643c2c0..b27ac67511 100644 --- a/crates/precompile/Cargo.toml +++ b/crates/precompile/Cargo.toml @@ -6,14 +6,14 @@ keywords = ["no_std", "ethereum", "evm", "revm", "precompiles"] license = "MIT" name = "revm-precompile" repository = "https://github.com/bluealloy/revm" -version = "4.1.0" +version = "5.0.0" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -revm-primitives = { path = "../primitives", version = "2.1.0", default-features = false } +revm-primitives = { path = "../primitives", version = "3.0.0", default-features = false } bn = { package = "substrate-bn", version = "0.6", default-features = false } once_cell = { version = "1.19", default-features = false, features = ["alloc"] } ripemd = { version = "0.1", default-features = false } diff --git a/crates/primitives/CHANGELOG.md b/crates/primitives/CHANGELOG.md index 2def267bb5..11d98effec 100644 --- a/crates/primitives/CHANGELOG.md +++ b/crates/primitives/CHANGELOG.md @@ -6,6 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.0.0](https://github.com/bluealloy/revm/compare/revm-primitives-v2.1.0...revm-primitives-v3.0.0) - 2024-03-08 + +### Added +- *(primitives)* derive Default for SpecId ([#1171](https://github.com/bluealloy/revm/pull/1171)) +- implement DatabaseCommit for DatabaseComponents ([#1163](https://github.com/bluealloy/revm/pull/1163)) +- add PrecompileError::Other ([#1165](https://github.com/bluealloy/revm/pull/1165)) +- use `impl` instead of `dyn` in `GetInspector` ([#1157](https://github.com/bluealloy/revm/pull/1157)) +- Add boxed precompile trait ([#1131](https://github.com/bluealloy/revm/pull/1131)) + +### Other +- *(interpreter)* evaluate instruction table constructor at compile time ([#1140](https://github.com/bluealloy/revm/pull/1140)) +- *(deps)* bump auto_impl from 1.1.2 to 1.2.0 ([#1132](https://github.com/bluealloy/revm/pull/1132)) +- add helper function for spec id ([#1130](https://github.com/bluealloy/revm/pull/1130)) + ## [2.1.0](https://github.com/bluealloy/revm/compare/revm-primitives-v2.0.1...revm-primitives-v2.1.0) - 2024-02-22 ### Added diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index de3ef28577..d4b5a70801 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 = "2.1.0" +version = "3.0.0" readme = "../../README.md" # Don't need to run build script outside of this repo diff --git a/crates/revm/CHANGELOG.md b/crates/revm/CHANGELOG.md index c09dc77418..7dc83b3f10 100644 --- a/crates/revm/CHANGELOG.md +++ b/crates/revm/CHANGELOG.md @@ -6,6 +6,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [7.0.0](https://github.com/bluealloy/revm/compare/revm-v6.1.0...revm-v7.0.0) - 2024-03-08 + +### Added +- add insert method on instruction table ([#1167](https://github.com/bluealloy/revm/pull/1167)) +- precompile with generic context ([#1155](https://github.com/bluealloy/revm/pull/1155)) +- use `impl` instead of `dyn` in `GetInspector` ([#1157](https://github.com/bluealloy/revm/pull/1157)) +- add more JournaledState methods to EvmContext ([#1158](https://github.com/bluealloy/revm/pull/1158)) +- add example for using a database by reference ([#1150](https://github.com/bluealloy/revm/pull/1150)) +- Add boxed precompile trait ([#1131](https://github.com/bluealloy/revm/pull/1131)) +- add with_handler method to EvmBuilder ([#1124](https://github.com/bluealloy/revm/pull/1124)) + +### Fixed +- *(revme)* revme error output and remove double summary ([#1169](https://github.com/bluealloy/revm/pull/1169)) +- gas cost calculation ([#1166](https://github.com/bluealloy/revm/pull/1166)) +- reset tstorage on finalize ([#1168](https://github.com/bluealloy/revm/pull/1168)) +- make `feature = "optional_gas_refund"` work ([#1134](https://github.com/bluealloy/revm/pull/1134)) + +### Other +- *(deps)* bump ethers-contract from 2.0.13 to 2.0.14 ([#1161](https://github.com/bluealloy/revm/pull/1161)) +- *(interpreter)* evaluate instruction table constructor at compile time ([#1140](https://github.com/bluealloy/revm/pull/1140)) +- remove clone for context in handler_register.rs ([#1138](https://github.com/bluealloy/revm/pull/1138)) +- Check runtime dynamically ([#1135](https://github.com/bluealloy/revm/pull/1135)) +- *(deps)* bump auto_impl from 1.1.2 to 1.2.0 ([#1132](https://github.com/bluealloy/revm/pull/1132)) +- Add `db` and `db_mut` to evm ([#1133](https://github.com/bluealloy/revm/pull/1133)) +- add ToString for no_std add exports some types in no_std ([#1128](https://github.com/bluealloy/revm/pull/1128)) +- Add `clone` method to `ContextWithHandlerCfg` ([#1127](https://github.com/bluealloy/revm/pull/1127)) +- remove unused EvmInstructionTables type alias ([#1123](https://github.com/bluealloy/revm/pull/1123)) + ## [6.1.0](https://github.com/bluealloy/revm/compare/revm-v6.0.0...revm-v6.1.0) - 2024-02-22 ### Added diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index e2e1be70f0..e06b29139c 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 = "6.1.0" +version = "7.0.0" readme = "../../README.md" [package.metadata.docs.rs] @@ -15,8 +15,8 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] # revm -revm-interpreter = { path = "../interpreter", version = "3.1.0", default-features = false } -revm-precompile = { path = "../precompile", version = "4.1.0", default-features = false } +revm-interpreter = { path = "../interpreter", version = "3.2.0", default-features = false } +revm-precompile = { path = "../precompile", version = "5.0.0", default-features = false } # misc auto_impl = { version = "1.2", default-features = false }