Skip to content
Closed

test #63

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
e2ea527
fix: implement `PartialEq` for `JumpTable` correctly (#2654)
klkvr Jun 20, 2025
8534f8e
chore: fix typo (#2660)
lechpzn Jun 23, 2025
435153d
feat: optional_eip3541 (#2661)
bernard-wagner Jun 23, 2025
ae0dccc
feat: implement `Transaction` for `Either` (#2662)
klkvr Jun 24, 2025
e80a3a2
docs: fix copy-pasted inner doc comments (#2663)
quentin Jun 24, 2025
bce6778
refactor: use TxEnv::builder (#2652)
rakita Jun 24, 2025
e36bed7
refactor: statetest runner cleanup (#2665)
rakita Jun 24, 2025
8032618
docs: inline documentation of revm top modules (#2666)
quentin Jun 25, 2025
0815115
test(op/handler): verify caller account is touched by zero value tran…
emhane Jun 26, 2025
ea3d139
chore: cargo clippy --fix --all (#2671)
rakita Jun 27, 2025
89f40a0
feat: implement Database traits for either::Either (#2673)
mattsse Jun 30, 2025
ef0175b
feat: blake2 avx2 (#2670)
rakita Jun 30, 2025
e253f4a
chore: release (#2659)
github-actions[bot] Jun 30, 2025
f061873
bump: tag v79 revm v27.0.0 (#2680)
rakita Jun 30, 2025
498a298
fix: OpTransactionBuilder dont override envelope (#2681)
rakita Jul 1, 2025
57fe171
bump: v80 revm v27.0.1 (#2683)
rakita Jul 1, 2025
59066f0
docs: fix in pre_execution.rs about nonce bump for CREATE (#2684)
so-schen Jul 1, 2025
48853c9
feat: add custom precompile with journal access example (#2677)
rakita Jul 1, 2025
7f0f7ef
docs: minor fixes (#2686)
quentin Jul 3, 2025
c3385e3
docs: document external state transitions for EIP-4788 and EIP-2935 (…
VolodymyrBg Jul 3, 2025
320338a
chore: add PartialEq u8 (#2688)
mattsse Jul 3, 2025
4a7be59
fix(inspector): revert pointer before calling step_end (#2687)
rakita Jul 3, 2025
7013583
bump: tag v81 revm v27.0.1 (#2689)
rakita Jul 3, 2025
937457c
docs: fix minor typo (#2672)
kks-code Jul 3, 2025
d9f5cb8
docs: bump changelog for v81 (#2691)
rakita Jul 3, 2025
c431f2c
fix typo: Rename is_created_globaly to is_created_globally (#2692)
leopardracer Jul 4, 2025
08badc0
test: add comprehensive tests for TxEnvBuilder (#2690)
rakita Jul 4, 2025
b3cb181
chore: use c-kzg precompute value 8 (#2698)
rakita Jul 8, 2025
56def7e
fix(Inspector): call_end not calle on first call fast return (#2697)
rakita Jul 8, 2025
0ba0d33
chore: incorrect StorageKey and StorageValue parameter order in burnt…
reallesee Jul 14, 2025
360e248
refactor: simplify gas calculations by introducing a used() method (#…
jackwener Jul 14, 2025
051c3a8
chore: release (#2682)
github-actions[bot] Jul 14, 2025
356b138
bump: tag v82 revm v27.0.3 (#2710)
rakita Jul 14, 2025
791de82
Merge commit '356b138a53c9208fb9f26658207aac6719bcb17d' into feat/v82
greged93 Jul 28, 2025
6d25d5e
fix: lints
greged93 Jul 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 68 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,74 @@
Because this is workspace with multi libraries, tags will be simplified, and with this document you can match version of project with git tag.

# v82
date 14.07.2025

Fix for inspector not calling `step_end`.

* `revm-context`: 8.0.2 -> 8.0.3 (✓ API compatible changes)
* `revm-interpreter`: 23.0.1 -> 23.0.2 (✓ API compatible changes)
* `revm-precompile`: 24.0.0 -> 24.0.1 (✓ API compatible changes)
* `revm-handler`: 8.0.2 -> 8.0.3 (✓ API compatible changes)
* `revm-inspector`: 8.0.2 -> 8.0.3 (✓ API compatible changes)
* `revme`: 7.0.3 -> 7.0.4 (✓ API compatible changes)
* `op-revm`: 8.0.2 -> 8.0.3 (✓ API compatible changes)
* `custom_precompile_journal`: 0.1.0
* `revm`: 27.0.2 -> 27.0.3
* `revm-statetest-types`: 8.0.3 -> 8.0.4

# v81
date: 03.07.2025

Fix inspector step_end panic for opcode fn.

* `revm-bytecode`: 6.0.0 -> 6.0.1 (✓ API compatible changes)
* `revm-handler`: 8.0.1 -> 8.0.2 (✓ API compatible changes)
* `revm-inspector`: 8.0.1 -> 8.0.2 (✓ API compatible changes)
* `revme`: 7.0.2 -> 7.0.3 (✓ API compatible changes)
* `custom_precompile_journal`: 0.1.0
* `revm-state`: 7.0.0 -> 7.0.1
* `revm-database-interface`: 7.0.0 -> 7.0.1
* `revm-context-interface`: 8.0.0 -> 8.0.1
* `revm-context`: 8.0.1 -> 8.0.2
* `revm-database`: 7.0.0 -> 7.0.1
* `revm-interpreter`: 23.0.0 -> 23.0.1
* `revm`: 27.0.1 -> 27.0.2
* `revm-statetest-types`: 8.0.2 -> 8.0.3
* `op-revm`: 8.0.1 -> 8.0.2

# v80
date 01.07.2025

Fix `build` and `build_fill` for OpTransactionBuilder

* `revm-context`: 8.0.0 -> 8.0.1 (✓ API compatible changes)
* `revm-handler`: 8.0.0 -> 8.0.1 (✓ API compatible changes)
* `revm-inspector`: 8.0.0 -> 8.0.1 (✓ API compatible changes)
* `revm`: 27.0.0 -> 27.0.1 (✓ API compatible changes)
* `op-revm`: 8.0.0 -> 8.0.1 (✓ API compatible changes)

# v79
date: 01.07.2025

Fix for bytecode eq operation.

* `revm-bytecode`: 5.0.0 -> 6.0.0 (⚠ API breaking changes)
* `revm-state`: 6.0.0 -> 7.0.0 (✓ API compatible changes)
* `revm-database-interface`: 6.0.0 -> 7.0.0 (✓ API compatible changes)
* `revm-context-interface`: 7.0.1 -> 8.0.0 (⚠ API breaking changes)
* `revm-context`: 7.0.1 -> 8.0.0 (✓ API compatible changes)
* `revm-interpreter`: 22.0.1 -> 23.0.0 (✓ API compatible changes)
* `revm-precompile`: 23.0.0 -> 24.0.0 (✓ API compatible changes)
* `revm-handler`: 7.0.1 -> 8.0.0 (⚠ API breaking changes)
* `revm-inspector`: 7.0.1 -> 8.0.0 (✓ API compatible changes)
* `revm`: 26.0.1 -> 27.0.0 (✓ API compatible changes)
* `revm-statetest-types`: 8.0.1 -> 8.0.2 (✓ API compatible changes)
* `revme`: 7.0.1 -> 7.0.2 (✓ API compatible changes)
* `op-revm`: 7.0.1 -> 8.0.0 (⚠ API breaking changes)
* `revm-database`: 6.0.0 -> 7.0.0

# v78
date 20.05.2025
date: 20.05.2025

Quick fix for not calling `frame_stack.clear()` https://github.com/bluealloy/revm/pull/2656

Expand Down
40 changes: 26 additions & 14 deletions Cargo.lock

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

27 changes: 14 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,27 @@ members = [
"examples/erc20_gas",
"examples/my_evm",
"examples/custom_opcodes",
"examples/custom_precompile_journal",
]
resolver = "2"
default-members = ["crates/revm"]

[workspace.dependencies]
# revm
revm = { path = "crates/revm", version = "26.0.1", default-features = false }
revm = { path = "crates/revm", version = "27.0.3", default-features = false }
primitives = { path = "crates/primitives", package = "revm-primitives", version = "20.0.0", default-features = false }
bytecode = { path = "crates/bytecode", package = "revm-bytecode", version = "5.0.0", default-features = false }
database = { path = "crates/database", package = "revm-database", version = "6.0.0", default-features = false }
database-interface = { path = "crates/database/interface", package = "revm-database-interface", version = "6.0.0", default-features = false }
state = { path = "crates/state", package = "revm-state", version = "6.0.0", default-features = false }
interpreter = { path = "crates/interpreter", package = "revm-interpreter", version = "22.0.1", default-features = false }
inspector = { path = "crates/inspector", package = "revm-inspector", version = "7.0.1", default-features = false }
precompile = { path = "crates/precompile", package = "revm-precompile", version = "23.0.0", default-features = false }
statetest-types = { path = "crates/statetest-types", package = "revm-statetest-types", version = "8.0.1", default-features = false }
context = { path = "crates/context", package = "revm-context", version = "7.0.1", default-features = false }
context-interface = { path = "crates/context/interface", package = "revm-context-interface", version = "7.0.1", default-features = false }
handler = { path = "crates/handler", package = "revm-handler", version = "7.0.1", default-features = false }
op-revm = { path = "crates/op-revm", package = "op-revm", version = "7.0.1", default-features = false }
bytecode = { path = "crates/bytecode", package = "revm-bytecode", version = "6.0.1", default-features = false }
database = { path = "crates/database", package = "revm-database", version = "7.0.1", default-features = false }
database-interface = { path = "crates/database/interface", package = "revm-database-interface", version = "7.0.1", default-features = false }
state = { path = "crates/state", package = "revm-state", version = "7.0.1", default-features = false }
interpreter = { path = "crates/interpreter", package = "revm-interpreter", version = "23.0.2", default-features = false }
inspector = { path = "crates/inspector", package = "revm-inspector", version = "8.0.3", default-features = false }
precompile = { path = "crates/precompile", package = "revm-precompile", version = "24.0.1", default-features = false }
statetest-types = { path = "crates/statetest-types", package = "revm-statetest-types", version = "8.0.4", default-features = false }
context = { path = "crates/context", package = "revm-context", version = "8.0.3", default-features = false }
context-interface = { path = "crates/context/interface", package = "revm-context-interface", version = "8.0.1", default-features = false }
handler = { path = "crates/handler", package = "revm-handler", version = "8.0.3", default-features = false }
op-revm = { path = "crates/op-revm", package = "op-revm", version = "8.0.3", default-features = false }

# alloy
alloy-eip2930 = { version = "0.2.1", default-features = false }
Expand Down
6 changes: 6 additions & 0 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

# v80 tag (revm v27.0.0) -> v81 tag ( revm v27.0.1)

* Inspector fn `step_end` is now called even if Inspector `step` sets the action. Previously this was not the case.
* https://github.com/bluealloy/revm/pull/2687
* this additionally fixes panic bug where `bytecode.opcode()` would panic in `step_end`

# v70 tag (revm v22.0.2) -> v71 tag ( revm v23.0.0)

* Removal of `EvmData`.
Expand Down
20 changes: 20 additions & 0 deletions bins/revme/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [7.0.4](https://github.com/bluealloy/revm/compare/revme-v7.0.3...revme-v7.0.4) - 2025-07-14

### Other

- incorrect StorageKey and StorageValue parameter order in burntpix benchmark ([#2704](https://github.com/bluealloy/revm/pull/2704))

## [7.0.3](https://github.com/bluealloy/revm/compare/revme-v7.0.2...revme-v7.0.3) - 2025-07-03

### Other

- update Cargo.lock dependencies

## [7.0.2](https://github.com/bluealloy/revm/compare/revme-v7.0.1...revme-v7.0.2) - 2025-06-30

### Other

- cargo clippy --fix --all ([#2671](https://github.com/bluealloy/revm/pull/2671))
- statetest runner cleanup ([#2665](https://github.com/bluealloy/revm/pull/2665))
- use TxEnv::builder ([#2652](https://github.com/bluealloy/revm/pull/2652))

## [7.0.1](https://github.com/bluealloy/revm/compare/revme-v7.0.0...revme-v7.0.1) - 2025-06-20

### Other
Expand Down
2 changes: 1 addition & 1 deletion bins/revme/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "revme"
description = "Rust Ethereum Virtual Machine Executable"
version = "7.0.1"
version = "7.0.4"
authors.workspace = true
edition.workspace = true
keywords.workspace = true
Expand Down
12 changes: 6 additions & 6 deletions bins/revme/src/cmd/bench/analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ pub fn run(criterion: &mut Criterion) {
let context = Context::mainnet()
.with_db(BenchmarkDB::new_bytecode(bytecode))
.modify_cfg_chained(|c| c.disable_nonce_check = true);
let tx = TxEnv {
caller: BENCH_CALLER,
kind: TxKind::Call(BENCH_TARGET),
data: bytes!("8035F0CE"),
..Default::default()
};
let tx = TxEnv::builder()
.caller(BENCH_CALLER)
.kind(TxKind::Call(BENCH_TARGET))
.data(bytes!("8035F0CE"))
.build()
.unwrap();
let mut evm = context.build_mainnet();
criterion.bench_function("analysis", |b| {
b.iter_batched(
Expand Down
18 changes: 9 additions & 9 deletions bins/revme/src/cmd/bench/burntpix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ pub fn run(criterion: &mut Criterion) {
.modify_cfg_chained(|c| c.disable_nonce_check = true)
.build_mainnet();

let tx = TxEnv {
caller: BENCH_CALLER,
kind: TxKind::Call(BURNTPIX_MAIN_ADDRESS),
data: run_call_data.clone().into(),
gas_limit: u64::MAX,
..Default::default()
};
let tx = TxEnv::builder()
.caller(BENCH_CALLER)
.kind(TxKind::Call(BURNTPIX_MAIN_ADDRESS))
.data(run_call_data.clone().into())
.gas_limit(u64::MAX)
.build()
.unwrap();

criterion.bench_function("burntpix", |b| {
b.iter_batched(
Expand Down Expand Up @@ -163,8 +163,8 @@ fn init_db() -> CacheDB<EmptyDB> {
cache_db
.insert_account_storage(
BURNTPIX_MAIN_ADDRESS,
StorageValue::from(2),
StorageKey::from_be_bytes(*STORAGE_TWO),
StorageKey::from(2),
StorageValue::from_be_bytes(*STORAGE_TWO),
)
.unwrap();

Expand Down
12 changes: 6 additions & 6 deletions bins/revme/src/cmd/bench/gas_cost_estimator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ pub fn run(criterion: &mut Criterion) {
.modify_cfg_chained(|c| c.disable_nonce_check = true)
.build_mainnet();

let tx = TxEnv {
caller: BENCH_CALLER,
kind: TxKind::Call(BENCH_TARGET),
gas_limit: 1_000_000_000,
..Default::default()
};
let tx = TxEnv::builder()
.caller(BENCH_CALLER)
.kind(TxKind::Call(BENCH_TARGET))
.gas_limit(1_000_000_000)
.build()
.unwrap();

criterion.bench_function(name, |b| {
b.iter_batched(
Expand Down
Loading
Loading