diff --git a/CHANGELOG.md b/CHANGELOG.md index 08a031fdec..3e26dd3048 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ Because this is workspace with multi libraries, tags will be simplified, and with this document you can match version of project with git tag. +# v21 tag +date 04.04.2023 + +Shanghai supported and gas block optimization removed. + +* revm: v3.1.0 +* revm-precompile: v2.0.1 +* revm-primitives: v1.1.0 +* revm-interpreter: v1.1.0 + # v20 tag date 29.01.2023 Big release. primitives and interpreter libs and optimizations. diff --git a/Cargo.lock b/Cargo.lock index 550d3debb7..44868641c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1626,7 +1626,7 @@ dependencies = [ [[package]] name = "revm" -version = "3.0.0" +version = "3.1.0" dependencies = [ "auto_impl", "ethers-core", @@ -1642,7 +1642,7 @@ dependencies = [ [[package]] name = "revm-interpreter" -version = "1.0.0" +version = "1.1.0" dependencies = [ "arbitrary", "derive_more", @@ -1656,7 +1656,7 @@ dependencies = [ [[package]] name = "revm-precompile" -version = "2.0.0" +version = "2.0.1" dependencies = [ "hex", "k256", @@ -1672,7 +1672,7 @@ dependencies = [ [[package]] name = "revm-primitives" -version = "1.0.0" +version = "1.1.0" dependencies = [ "arbitrary", "auto_impl", diff --git a/bins/revm-test/Cargo.toml b/bins/revm-test/Cargo.toml index cc6b41d98c..f129a2289a 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 = "3.0.0" } +revm = { path = "../../crates/revm", version = "3.1.0" } microbench = "0.5" [[bin]] diff --git a/bins/revme/Cargo.toml b/bins/revme/Cargo.toml index 77e7eb8aed..9ba7440e55 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.12", features = ["rlp", "serde"] } -revm = { path = "../../crates/revm", version = "3.0.0", default-features = false, features = [ +revm = { path = "../../crates/revm", version = "3.1.0", default-features = false, features = [ "ethersdb", "std", "secp256k1", diff --git a/crates/interpreter/CHANGELOG.md b/crates/interpreter/CHANGELOG.md index 410794a68f..2db49cc601 100644 --- a/crates/interpreter/CHANGELOG.md +++ b/crates/interpreter/CHANGELOG.md @@ -1,3 +1,25 @@ +# v1.1.0 +date: 04.04.2023 + +Biggest changes are Shanghai support 08ce847 and removal of gas blocks f91d5f9. + +Changelog: +* c2ee8ff - add feature for ignoring base fee check (#436) (6 days ago) +* 0eff6a7 - Fix panic! message (#431) (2 weeks ago) +* d0038e3 - chore(deps): bump arbitrary from 1.2.3 to 1.3.0 (#428) (2 weeks ago) +* dd0e227 - feat: Add all internals results to Halt (#413) (4 weeks ago) +* d8dc652 - fix(interpreter): halt on CreateInitcodeSizeLimit (#412) (4 weeks ago) +* a193d79 - chore: enabled primtive default feature in precompile (#409) (4 weeks ago) +* 1720729 - chore: add display impl for Opcode (#406) (4 weeks ago) +* 33bf8a8 - feat: use singular bytes for the jumpmap (#402) (4 weeks ago) +* 394e8e9 - feat: extend SuccessOrHalt (#405) (4 weeks ago) +* f91d5f9 - refactor: remove gas blocks (#391) (5 weeks ago) +* a8ae3f4 - fix: using pop_top instead of pop in eval_exp (#379) (7 weeks ago) +* 08ce847 - feat(Shanghai): All EIPs: push0, warm coinbase, limit/measure initcode (#376) (7 weeks ago) +* 6710511 - add no_std to primitives (#366) (7 weeks ago) +* 1fca102 - chore(deps): bump proptest from 1.0.0 to 1.1.0 (#358) (8 weeks ago) +* 9b663bb - feat: Different OutOfGas Error types (#354) (9 weeks ago) + # v1.0.0 date: 29.01.2023 diff --git a/crates/interpreter/Cargo.toml b/crates/interpreter/Cargo.toml index 167abb9577..8a767cd751 100644 --- a/crates/interpreter/Cargo.toml +++ b/crates/interpreter/Cargo.toml @@ -6,11 +6,11 @@ keywords = ["no_std", "ethereum", "evm", "revm", "interpreter"] license = "MIT" name = "revm-interpreter" repository = "https://github.com/bluealloy/revm" -version = "1.0.0" +version = "1.1.0" readme = "../../README.md" [dependencies] -revm-primitives = { path = "../primitives", version="1.0.0", default-features = false } +revm-primitives = { path = "../primitives", version="1.1.0", default-features = false } #utility derive_more = "0.99" diff --git a/crates/precompile/CHANGELOG.md b/crates/precompile/CHANGELOG.md index a03b9d1aa5..49d8014f4f 100644 --- a/crates/precompile/CHANGELOG.md +++ b/crates/precompile/CHANGELOG.md @@ -1,3 +1,12 @@ +# v2.0.1 +date: 04.04.2023 + +Small changes + +Changelog: +* 992a11c - (HEAD -> v/310, origin/lib_versions) bump all (89 minutes ago) +* d935525 - chore(deps): bump secp256k1 from 0.26.0 to 0.27.0 (#429) (2 weeks ago) +* f2656b7 - chore: add primitive SpecId to precompile SpecId conversion (#408) (4 weeks ago) # v2.0.0 date: 29.01.2023 diff --git a/crates/precompile/Cargo.toml b/crates/precompile/Cargo.toml index 34a3c22f62..36d5d94194 100644 --- a/crates/precompile/Cargo.toml +++ b/crates/precompile/Cargo.toml @@ -6,10 +6,10 @@ keywords = ["no_std", "ethereum", "evm", "revm", "precompiles"] license = "MIT" name = "revm-precompile" repository = "https://github.com/bluealloy/revm" -version = "2.0.0" +version = "2.0.1" [dependencies] -revm-primitives = { path = "../primitives", version="1.0.0", default-features = false } +revm-primitives = { path = "../primitives", version="1.1.0", default-features = false } bn = { package = "substrate-bn", version = "0.6", default-features = false } k256 = { version = "0.13", default-features = false, features = ["ecdsa"] } num = { version = "0.4.0", default-features = false, features = ["alloc"] } diff --git a/crates/primitives/CHANGELOG.md b/crates/primitives/CHANGELOG.md index 410794a68f..895db5368c 100644 --- a/crates/primitives/CHANGELOG.md +++ b/crates/primitives/CHANGELOG.md @@ -1,3 +1,40 @@ +# v1.1.0 +date: 04.04.2023 + +Mosty utility functions, addional checks and convenience changes. +Old bytecode that supported gas block was replaced with jumpmap only bitvec. + +Changelog: +* 992a11c - (HEAD -> v/310, origin/lib_versions) bump all (81 minutes ago) +* c2ee8ff - add feature for ignoring base fee check (#436) (6 days ago) +* 2d5b710 - Comment Fix (#430) (2 weeks ago) +* d0038e3 - chore(deps): bump arbitrary from 1.2.3 to 1.3.0 (#428) (2 weeks ago) +* 3d8ca66 - feat: add Output::into_data (#420) (3 weeks ago) +* dd0e227 - feat: Add all internals results to Halt (#413) (4 weeks ago) +* d8dc652 - fix(interpreter): halt on CreateInitcodeSizeLimit (#412) (4 weeks ago) +* a193d79 - chore: enabled primtive default feature in precompile (#409) (4 weeks ago) +* 33bf8a8 - feat: use singular bytes for the jumpmap (#402) (4 weeks ago) +* 394e8e9 - feat: extend SuccessOrHalt (#405) (4 weeks ago) +* cff1070 - Update readmdoc of `perf_analyse_created_bytecodes` (#404) (4 weeks ago) +* 7bb73da - feat: Add check for chainID (#393) (4 weeks ago) +* 3a17ca8 - feat: add b256<->u256 from impls (#398) (4 weeks ago) +* 3789509 - feat: add API to retrieve unpadded bytecode (#397) (5 weeks ago) +* f91d5f9 - refactor: remove gas blocks (#391) (5 weeks ago) +* 5efd9d1 - impl NonceTooHigh/ NonceTooLow checks (#383) (6 weeks ago) +* 188dacf - improvement: derive Debug for DatabaseComponentError (#377) (7 weeks ago) +* 0401cfd - Add B160/B256 From primitive_types traits (#380) (7 weeks ago) +* 08ce847 - feat(Shanghai): All EIPs: push0, warm coinbase, limit/measure initcode (#376) (7 weeks ago) +* 6710511 - add no_std to primitives (#366) (7 weeks ago) +* 5788340 - chore(deps): bump bytes from 1.3.0 to 1.4.0 (#355) (7 weeks ago) +* b4c62e9 - chore: rename Then to Than (#368) (7 weeks ago) +* 1c3e9e3 - improvement: use alloc & core for Arc impl (#367) (8 weeks ago) +* 3158ce9 - feat: implement Debug for DatabaseComponentError if supported (#363) (8 weeks ago) +* d9727c2 - improvement: add error details to InvalidTransaction::LackOfFundForGasLimit (#364) (8 weeks ago) +* 5d6ecd0 - improvement: implement BlockHash for Arc (#361) (8 weeks ago) +* ae9baba - improvement: implement State for Arc (#360) (8 weeks ago) +* 1fca102 - chore(deps): bump proptest from 1.0.0 to 1.1.0 (#358) (8 weeks ago) +* 9b663bb - feat: Different OutOfGas Error types (#354) (9 weeks ago) + # v1.0.0 date: 29.01.2023 diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 8f8aa9f1b3..eec6114138 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 = "1.0.0" +version = "1.1.0" readme = "../../README.md" [dependencies] diff --git a/crates/revm/CHANGELOG.md b/crates/revm/CHANGELOG.md index 4492bbf612..3220eb79b0 100644 --- a/crates/revm/CHANGELOG.md +++ b/crates/revm/CHANGELOG.md @@ -1,3 +1,79 @@ +# v3.1.0 +date: 04.04.2022 + +Main changes can be summarizes in: +* f91d5f9 - refactor: remove gas blocks (#391) (5 weeks ago) + * removal of gas block allowed us to have more compact analysis data. Gas block from beginning didn't have big impact on performance but introduced not intuitive gas calculations that was + source of some bugs. +* 08ce847 - feat(Shanghai): All EIPs: push0, warm coinbase, limit/measure initcode (#376) (7 weeks ago) + * revm is Shanghai ready +* afc3066 - fix(db): preserve existing account state (#414) (4 weeks ago) + * There wasone bug inside CacheDB that was here for a long time, and would happen only if + selfdestruct/create2 is called in multiple transaction on same account on same cache data. +* 92f08be - feat: json opcode traces EIP-3155 (#356) (7 weeks ago) + + +Changelogs: +* 9edb8f4 - (origin/main, origin/HEAD) Improve EthersDB::new (#440) (5 days ago) +* c2ee8ff - add feature for ignoring base fee check (#436) (6 days ago) +* 6b09caf - chore(deps): bump serde_json from 1.0.94 to 1.0.95 (#434) (6 days ago) +* 77f1735 - chore(deps): bump walkdir from 2.3.2 to 2.3.3 (#426) (8 days ago) +* ed981c3 - chore(deps): bump serde from 1.0.157 to 1.0.158 (#425) (8 days ago) +* 0eff6a7 - Fix panic! message (#431) (2 weeks ago) +* 2d5b710 - Comment Fix (#430) (2 weeks ago) +* d0038e3 - chore(deps): bump arbitrary from 1.2.3 to 1.3.0 (#428) (2 weeks ago) +* d935525 - chore(deps): bump secp256k1 from 0.26.0 to 0.27.0 (#429) (2 weeks ago) +* a85ff79 - Update README.md (#424) (2 weeks ago) +* 9645015 - chore(deps): bump thiserror from 1.0.38 to 1.0.40 (#421) (2 weeks ago) +* aa6519f - chore(deps): bump enumn from 0.1.6 to 0.1.8 (#422) (2 weeks ago) +* d63146f - chore(deps): bump futures from 0.3.26 to 0.3.27 (#416) (2 weeks ago) +* 52fe7c4 - chore(deps): bump serde_json from 1.0.93 to 1.0.94 (#401) (2 weeks ago) +* b98d9c9 - chore(deps): bump serde from 1.0.152 to 1.0.157 (#423) (2 weeks ago) +* 3d8ca66 - feat: add Output::into_data (#420) (3 weeks ago) +* afc3066 - fix(db): preserve existing account state (#414) (4 weeks ago) +* dd0e227 - feat: Add all internals results to Halt (#413) (4 weeks ago) +* d8dc652 - fix(interpreter): halt on CreateInitcodeSizeLimit (#412) (4 weeks ago) +* b1208fe - feat: add contract+target to selfdestruct hook (#410) (4 weeks ago) +* a193d79 - chore: enabled primtive default feature in precompile (#409) (4 weeks ago) +* f2656b7 - chore: add primitive SpecId to precompile SpecId conversion (#408) (4 weeks ago) +* 1720729 - chore: add display impl for Opcode (#406) (4 weeks ago) +* 33bf8a8 - feat: use singular bytes for the jumpmap (#402) (4 weeks ago) +* 394e8e9 - feat: extend SuccessOrHalt (#405) (4 weeks ago) +* cff1070 - Update readmdoc of `perf_analyse_created_bytecodes` (#404) (4 weeks ago) +* fbc62a3 - chore: fix typo StorageChange (#403) (4 weeks ago) +* 7bb73da - feat: Add check for chainID (#393) (4 weeks ago) +* 3a17ca8 - feat: add b256<->u256 from impls (#398) (4 weeks ago) +* 3789509 - feat: add API to retrieve unpadded bytecode (#397) (5 weeks ago) +* 5ab154a - chore(deps): bump tokio from 1.25.0 to 1.26.0 (#395) (5 weeks ago) +* f91d5f9 - refactor: remove gas blocks (#391) (5 weeks ago) +* 8dc024a - Add copyright start year (#387) (5 weeks ago) +* 4d2f074 - feat: add EVM::with_env (#385) (6 weeks ago) +* 5efd9d1 - impl NonceTooHigh/ NonceTooLow checks (#383) (6 weeks ago) +* 8e6f4f2 - chore: fix compilation if serde not enabled (#381) (7 weeks ago) +* 92f08be - feat: json opcode traces EIP-3155 (#356) (7 weeks ago) +* ec582a8 - chore(deps): bump once_cell from 1.17.0 to 1.17.1 (#378) (7 weeks ago) +* 188dacf - improvement: derive Debug for DatabaseComponentError (#377) (7 weeks ago) +* 0401cfd - Add B160/B256 From primitive_types traits (#380) (7 weeks ago) +* a8ae3f4 - fix: using pop_top instead of pop in eval_exp (#379) (7 weeks ago) +* 08ce847 - feat(Shanghai): All EIPs: push0, warm coinbase, limit/measure initcode (#376) (7 weeks ago) +* 6710511 - add no_std to primitives (#366) (7 weeks ago) +* d5ebdb0 - chore(deps): bump tokio from 1.24.2 to 1.25.0 (#352) (7 weeks ago) +* ebaccca - chore(deps): bump futures from 0.3.25 to 0.3.26 (#353) (7 weeks ago) +* 5788340 - chore(deps): bump bytes from 1.3.0 to 1.4.0 (#355) (7 weeks ago) +* d3fba88 - chore(deps): bump serde_json from 1.0.92 to 1.0.93 (#365) (7 weeks ago) +* e22c3f3 - fix: call create_end for all code paths (#362) (7 weeks ago) +* b4c62e9 - chore: rename Then to Than (#368) (7 weeks ago) +* 1c3e9e3 - improvement: use alloc & core for Arc impl (#367) (8 weeks ago) +* 3158ce9 - feat: implement Debug for DatabaseComponentError if supported (#363) (8 weeks ago) +* d9727c2 - improvement: add error details to InvalidTransaction::LackOfFundForGasLimit (#364) (8 weeks ago) +* 6b170b4 - Use gas price in place of effective gas price for initial balance check (#359) (8 weeks ago) +* 5d6ecd0 - improvement: implement BlockHash for Arc (#361) (8 weeks ago) +* ae9baba - improvement: implement State for Arc (#360) (8 weeks ago) +* 2e4e800 - chore(deps): bump serde_json from 1.0.91 to 1.0.92 (#357) (8 weeks ago) +* 1fca102 - chore(deps): bump proptest from 1.0.0 to 1.1.0 (#358) (8 weeks ago) +* 9b663bb - feat: Different OutOfGas Error types (#354) (9 weeks ago) +* 10187ed - data change (9 weeks ago) + # v3.0.0 date 29.01.2022 diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index fcfa1b6e3d..947cfce0ce 100644 --- a/crates/revm/Cargo.toml +++ b/crates/revm/Cargo.toml @@ -6,12 +6,12 @@ keywords = ["no_std", "ethereum", "evm", "revm"] license = "MIT" name = "revm" repository = "https://github.com/bluealloy/revm" -version = "3.0.0" +version = "3.1.0" readme = "../../README.md" [dependencies] -revm-precompile = { path = "../precompile", version = "2.0.0", default-features = false } -revm-interpreter = { path = "../interpreter", version = "1.0.0", default-features = false } +revm-precompile = { path = "../precompile", version = "2.0.1", default-features = false } +revm-interpreter = { path = "../interpreter", version = "1.1.0", default-features = false } auto_impl = { version = "1.0", default-features = false }