Skip to content

Commit 9ba7d51

Browse files
committed
Merge branch 'master' of github.com:foundry-rs/foundry into rusowsky/support-num-keys
2 parents 2ce8cc5 + e345c17 commit 9ba7d51

File tree

33 files changed

+351
-125
lines changed

33 files changed

+351
-125
lines changed

.github/workflows/nextest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
fail-fast: false
4848
matrix: ${{ fromJson(needs.matrices.outputs.test-matrix) }}
4949
env:
50+
ETH_RPC_URL: https://reth-ethereum.ithaca.xyz/rpc
5051
CARGO_PROFILE_DEV_DEBUG: 0
5152
steps:
5253
- uses: actions/checkout@v5

Cargo.lock

Lines changed: 49 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ foundry-linking = { path = "crates/linking" }
205205
# solc & compilation utilities
206206
foundry-block-explorers = { version = "0.20.0", default-features = false }
207207
foundry-compilers = { version = "0.18.2", default-features = false }
208-
foundry-fork-db = "0.16"
208+
foundry-fork-db = "0.17"
209209
solang-parser = { version = "=0.3.9", package = "foundry-solang-parser" }
210210
solar-ast = { version = "=0.1.5", default-features = false }
211211
solar-parse = { version = "=0.1.5", default-features = false }
@@ -262,13 +262,13 @@ op-alloy-rpc-types = "0.18.13"
262262
op-alloy-flz = "0.13.1"
263263

264264
## revm
265-
revm = { version = "27.1.0", default-features = false }
266-
revm-inspectors = { version = "0.27.1", features = ["serde"] }
267-
op-revm = { version = "8.1.0", default-features = false }
265+
revm = { version = "28.0.0", default-features = false }
266+
revm-inspectors = { version = "0.28.0", features = ["serde"] }
267+
op-revm = { version = "9.0.1", default-features = false }
268268

269269
## alloy-evm
270-
alloy-evm = "0.16.0"
271-
alloy-op-evm = "0.16.0"
270+
alloy-evm = "0.18.3"
271+
alloy-op-evm = "0.18.3"
272272

273273
## cli
274274
anstream = "0.6"
@@ -401,14 +401,14 @@ idna_adapter = "=1.1.0"
401401
# alloy-op-evm = { git = "https://github.com/alloy-rs/evm.git", rev = "7762adc" }
402402

403403
## revm
404-
revm = { git = "https://github.com/bluealloy/revm.git", rev = "d9cda3a" }
405-
op-revm = { git = "https://github.com/bluealloy/revm.git", rev = "d9cda3a" }
404+
# revm = { git = "https://github.com/bluealloy/revm.git", rev = "d9cda3a" }
405+
# op-revm = { git = "https://github.com/bluealloy/revm.git", rev = "d9cda3a" }
406406
# revm-inspectors = { git = "https://github.com/paradigmxyz/revm-inspectors.git", rev = "956bc98" }
407407

408408
## foundry
409409
# foundry-block-explorers = { git = "https://github.com/foundry-rs/block-explorers.git", rev = "e09cb89" }
410410
# foundry-compilers = { git = "https://github.com/foundry-rs/compilers.git", rev = "e4a9b04" }
411-
# foundry-fork-db = { git = "https://github.com/foundry-rs/foundry-fork-db", rev = "4ed9afb" }
411+
# foundry-fork-db = { git = "https://github.com/foundry-rs/foundry-fork-db", rev = "50683eb" }
412412

413413
## solar
414414
# solar-ast = { git = "https://github.com/paradigmxyz/solar.git", branch = "main" }

benches/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ tokio = { workspace = true, features = ["full"] }
2222
chrono = { version = "0.4", features = ["serde"] }
2323
rayon.workspace = true
2424
clap = { version = "4", features = ["derive"] }
25-
num_cpus = "1.17"
2625
once_cell = "1.21"
2726

2827
[dev-dependencies]

benches/src/results.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::RepoConfig;
22
use eyre::Result;
33
use serde::{Deserialize, Serialize};
4-
use std::{collections::HashMap, process::Command};
4+
use std::{collections::HashMap, process::Command, thread};
55

66
/// Hyperfine benchmark result
77
#[derive(Debug, Deserialize, Serialize)]
@@ -131,7 +131,10 @@ impl BenchmarkResults {
131131
// System info
132132
output.push_str("## System Information\n\n");
133133
output.push_str(&format!("- **OS**: {}\n", std::env::consts::OS));
134-
output.push_str(&format!("- **CPU**: {}\n", num_cpus::get()));
134+
output.push_str(&format!(
135+
"- **CPU**: {}\n",
136+
thread::available_parallelism().map_or(1, |n| n.get())
137+
));
135138
output.push_str(&format!(
136139
"- **Rustc**: {}\n",
137140
get_rustc_version().unwrap_or_else(|_| "unknown".to_string())

crates/anvil/src/cmd.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ pub struct AnvilEvmArgs {
408408
long,
409409
short,
410410
visible_alias = "rpc-url",
411-
env = "ETH_RPC_URL",
412411
value_name = "URL",
413412
help_heading = "Fork config"
414413
)]

crates/anvil/tests/it/state.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -669,11 +669,7 @@ async fn test_backward_compatibility_state_dump_deserialization_v1_2() {
669669
"gas_limit": 143385,
670670
"status": "Return",
671671
"steps": [],
672-
"decoded": {
673-
"label": null,
674-
"return_data": null,
675-
"call_data": null
676-
}
672+
"decoded": null
677673
},
678674
"logs": [],
679675
"ordering": []

crates/cheatcodes/assets/cheatcodes.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cheatcodes/assets/cheatcodes.schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cheatcodes/spec/src/vm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ interface Vm {
434434

435435
/// Returns an array of `StorageAccess` from current `vm.stateStateDiffRecording` session
436436
#[cheatcode(group = Evm, safety = Safe)]
437-
function getStorageAccesses() external view returns (StorageAccess[] memory accesses);
437+
function getStorageAccesses() external view returns (StorageAccess[] memory storageAccesses);
438438

439439
// -------- Recording Map Writes --------
440440

0 commit comments

Comments
 (0)