diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f9156ad7b..e18bbef6fc 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. +# v16 tag +date: 25.09.2022 + +* revm: v2.1.0 + # v15 tag date: 10.09.2022 diff --git a/Cargo.lock b/Cargo.lock index 7297429785..dc76ab6882 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1482,7 +1482,7 @@ dependencies = [ [[package]] name = "revm" -version = "2.0.0" +version = "2.1.0" dependencies = [ "arrayref", "auto_impl", diff --git a/bins/revm-test/Cargo.toml b/bins/revm-test/Cargo.toml index d3a81b3c9f..2aded237bb 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 = "2.0" } +revm = { path = "../../crates/revm", version = "2.1" } [[bin]] name = "analysis" diff --git a/bins/revme/Cargo.toml b/bins/revme/Cargo.toml index 9eb1bfa562..8b753a8fe4 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 = "2.0", default-features = false, features = ["web3db","std","secp256k1"] } +revm = { path = "../../crates/revm", version = "2.1", 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 88df1eb44a..e6bcdf9d39 100644 --- a/crates/revm/CHANGELOG.md +++ b/crates/revm/CHANGELOG.md @@ -1,3 +1,13 @@ +# v2.1.0 +date: 25.09.2022 + +GasInspector added by Alexey Shekhirin and some helper functions. +Changes: + +* ca14d61 - gas inspector (#222) (7 days ago) +* 1e25c99 - chore: expose original value on storageslot (#216) (13 days ago) +* aa39d64 - feat: add Memory::shrink_to_fit (#215) (13 days ago) Option { let base = CREATE; // ceil(len / 32.0) let len = len as u64; - let sha_addup_base = (len / 32) + if (len % 32) == 0 { 0 } else { 1 }; + let sha_addup_base = (len / 32) + u64::from((len % 32) != 0); let sha_addup = SHA3WORD.checked_mul(sha_addup_base)?; let gas = base.checked_add(sha_addup)?;