diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c0c86b0c6..4f9156ad7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ Because this is workspace with multi libraries, tags will be simplified, and with this document you can match version of project with git tag. +# v15 tag +date: 10.09.2022 + +* revm: v2.0.0 +* revm_precompiles: v1.1.1 # v14 tag date: 09.08.2022 diff --git a/Cargo.lock b/Cargo.lock index 3d176ef985..7297429785 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1482,7 +1482,7 @@ dependencies = [ [[package]] name = "revm" -version = "1.9.0" +version = "2.0.0" dependencies = [ "arrayref", "auto_impl", @@ -1513,7 +1513,7 @@ dependencies = [ [[package]] name = "revm_precompiles" -version = "1.1.0" +version = "1.1.1" dependencies = [ "bytes", "hashbrown", diff --git a/bins/revm-test/Cargo.toml b/bins/revm-test/Cargo.toml index 54b774dba9..d3a81b3c9f 100644 --- a/bins/revm-test/Cargo.toml +++ b/bins/revm-test/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" bytes = "1.1" hex = "0.4" primitive-types = { version = "0.11", features = ["rlp"] } -revm = { path = "../../crates/revm", version = "1.3" } +revm = { path = "../../crates/revm", version = "2.0" } [[bin]] name = "analysis" diff --git a/bins/revme/Cargo.toml b/bins/revme/Cargo.toml index 3ac097cb6c..9eb1bfa562 100644 --- a/bins/revme/Cargo.toml +++ b/bins/revme/Cargo.toml @@ -17,7 +17,7 @@ hex = "0.4" indicatif = "0.17" plain_hasher = "0.2" primitive-types = { version = "0.11", features = ["rlp", "serde"] } -revm = { path = "../../crates/revm", version = "1.3", default-features = false, features = ["web3db","std","secp256k1"] } +revm = { path = "../../crates/revm", version = "2.0", default-features = false, features = ["web3db","std","secp256k1"] } rlp = { version = "0.5", default-features = false } serde = "1.0" serde_derive = "1.0" diff --git a/crates/revm/CHANGELOG.md b/crates/revm/CHANGELOG.md index a0429b164f..88df1eb44a 100644 --- a/crates/revm/CHANGELOG.md +++ b/crates/revm/CHANGELOG.md @@ -1,3 +1,29 @@ +# v2.0.0 +date: 10.09.2022 + +Release with `Database` interface changed, execution result, consensus bug fixes and support for all past forks. Additional optimizations on evm initialization. + +Main changes: +* Add support for old forks. (#191) (9 days ago) +* revm/evm: Return `ExecutionResult`, which includes `gas_refunded` (#169) (4 weeks ago) +* JournaledState (#175) + * Optimize handling of precompiles. Initialization and account loading. + * Fixes SELFDESTRUCT bug. +* Optimize calldataload. Some cleanup (#168) +* Handle HighNonce tests (#176) +* feat: expose hash on `BytecodeLocked` (#189) (12 days ago) +* revm: Update account storage methods in CacheDB (#171) (4 weeks ago) +* reexport revm_precompiles as precompiles (#197) (6 days ago) +* chore(ci): use ethtests profile for CI tests (#188) (2 weeks ago) +* Bump dependencies version +* current_opcode fn and rename program_counter to instruction_pointer (#211) +* Cfg choose create analysis, option on bytecode size limit (#210) +* Cleanup remove U256 and use u64 for gas calculation (#213) + +Consensus bugs: +* SELFDESTRUCT was not handled correctly. It would remove account/storage but it should just mark it for removal. This bug was here from earlier version of revm. (#175) +* fix: set gas_block to empty bytecode (#172). Introduced in v1.8.0 with bytecode format. + # v1.9.0 date: 09.08.2022 diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index 019ba5335f..8ac66d003a 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 = "1.9.0" +version = "2.0.0" readme = "../../README.md" [dependencies] @@ -19,7 +19,7 @@ hex = { version = "0.4", optional = true } num_enum = { version = "0.5", default-features = false }#used for SpecId from u8 cast parking_lot = { version = "0.12", optional = true } primitive-types = { version = "0.11", default-features = false, features = ["rlp"] } -revm_precompiles = { path = "../revm_precompiles", version = "1.1", default-features = false } +revm_precompiles = { path = "../revm_precompiles", version = "1.1.1", default-features = false } rlp = { version = "0.5", default-features = false }#used for create2 address calculation serde = { version = "1.0", features = ["derive","rc"], optional = true } sha3 = { version = "0.10", default-features = false } diff --git a/crates/revm_precompiles/CHANGELOG.md b/crates/revm_precompiles/CHANGELOG.md index aa0a2441e6..a93c99fb39 100644 --- a/crates/revm_precompiles/CHANGELOG.md +++ b/crates/revm_precompiles/CHANGELOG.md @@ -1,3 +1,10 @@ +# v1.1.1 +date: 06.09.2022 + +Small release: +* refactor(precompiles): Vec -> BTreeMap (#177) (3 weeks ago) +* Cache precompile map with once_cell +* Bump dependencies version # v1.1.0 date: 11.06.2022 diff --git a/crates/revm_precompiles/Cargo.toml b/crates/revm_precompiles/Cargo.toml index b6e36c2aff..82700f7749 100644 --- a/crates/revm_precompiles/Cargo.toml +++ b/crates/revm_precompiles/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["no_std", "ethereum", "evm", "precompiles"] license = "MIT" name = "revm_precompiles" repository = "https://github.com/bluealloy/revm" -version = "1.1.0" +version = "1.1.1" [dependencies] bn = { package = "substrate-bn", version = "0.6", default-features = false } diff --git a/crates/revmjs/Cargo.toml b/crates/revmjs/Cargo.toml index 2848a75adc..ee67d81d70 100644 --- a/crates/revmjs/Cargo.toml +++ b/crates/revmjs/Cargo.toml @@ -13,11 +13,10 @@ crate-type = ["cdylib"] [dependencies] bn-rs = "0.2.3" -bytes = "1.1" +bytes = "1.2" getrandom = { version = "0.2", features = ["js"] } hex = "0.4" js-sys = "0.3" primitive-types = { version = "0.11", default-features = false, features = ["rlp", "rustc-hex"] } -# for windows build remove ecrecover features. see more here: https://github.com/bluealloy/revm/issues/3 -revm = { path = "../revm", version = "1.1", default-features = false, features = ["k256"] } +revm = { path = "../revm", version = "2.0", default-features = false, features = ["k256"] } wasm-bindgen = "0.2"