Skip to content

Commit

Permalink
revm bump v2.0.0, precompile bump v1.1.1 (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita authored Sep 10, 2022
1 parent 8f459e6 commit 46fa92e
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bins/revm-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion bins/revme/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
26 changes: 26 additions & 0 deletions crates/revm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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) <Nicolas Gotchac>
* 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) <Bjerg>
* revm: Update account storage methods in CacheDB (#171) (4 weeks ago) <Nicolas Gotchac>
* reexport revm_precompiles as precompiles (#197) (6 days ago) <Matthias Seitz>
* chore(ci): use ethtests profile for CI tests (#188) (2 weeks ago) <Alexey Shekhirin>
* 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

Expand Down
4 changes: 2 additions & 2 deletions crates/revm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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 }
Expand Down
7 changes: 7 additions & 0 deletions crates/revm_precompiles/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# v1.1.1
date: 06.09.2022

Small release:
* refactor(precompiles): Vec -> BTreeMap (#177) (3 weeks ago) <Alexey Shekhirin>
* Cache precompile map with once_cell
* Bump dependencies version

# v1.1.0
date: 11.06.2022
Expand Down
2 changes: 1 addition & 1 deletion crates/revm_precompiles/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
5 changes: 2 additions & 3 deletions crates/revmjs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 46fa92e

Please sign in to comment.