diff --git a/.circleci/config.yml b/.circleci/config.yml index 13fe34e..a674e7e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,17 @@ jobs: RUSTUP_TOOLCHAIN: << parameters.rust_toolchain >> resource_class: large steps: - - checkout + - run: + command: | + set -euo pipefail + echo "Checking out public core revision ${CIRCLE_SHA1}" + git init . + git remote add origin https://github.com/ethereum-optimism/reth-core.git + git fetch --no-tags --depth=1 origin "$CIRCLE_SHA1" + git checkout --detach FETCH_HEAD + test "$(git rev-parse HEAD)" = "$CIRCLE_SHA1" + echo "Checked out public core revision ${CIRCLE_SHA1}" + name: Checkout public release revision - restore_cache: keys: - core-v1-<< parameters.rust_toolchain >>-{{ arch }}-{{ checksum "Cargo.lock" }} diff --git a/Cargo.lock b/Cargo.lock index b67844a..bdb6972 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -783,22 +783,18 @@ checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" [[package]] name = "bit-set" -version = "0.11.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56d87354e4229f54a44f7bf2435906a4656dba36026ab6eaca629a2c436a691c" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" dependencies = [ "bit-vec", ] [[package]] name = "bit-vec" -version = "0.10.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5727b15fa97d4f4fee0a3b7c3d550ed0269f54329207b86388de918604e31269" -dependencies = [ - "borsh", - "serde", -] +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" [[package]] name = "bitcoin-consensus-encoding" @@ -1135,12 +1131,6 @@ version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" -[[package]] -name = "core_detect" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48" - [[package]] name = "cpufeatures" version = "0.2.17" @@ -2502,17 +2492,16 @@ dependencies = [ [[package]] name = "proptest" -version = "1.12.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8530004ccb15eae51c7e40009fbe317f341f804db54dc033eec1c50be28cfa0" +checksum = "37566cb3fdacef14c0737f9546df7cfeadbfbc9fef10991038bf5015d0c80532" dependencies = [ "bit-set", "bit-vec", "bitflags 2.13.2", - "chacha20", - "core_detect", "num-traits", - "rand 0.10.3", + "rand 0.9.5", + "rand_chacha 0.9.0", "rand_xorshift", "regex-syntax", "rusty-fork", @@ -2690,11 +2679,11 @@ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" [[package]] name = "rand_xorshift" -version = "0.5.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60aa6af80be32871323012e02e6e65f8a7cc7890931ae421d217ad8fe0df2ccf" +checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" dependencies = [ - "rand_core 0.10.1", + "rand_core 0.9.5", ] [[package]] @@ -4079,18 +4068,18 @@ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" [[package]] name = "zstd" -version = "0.13.3" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" +checksum = "db3ae9bf90af6e40197bef767eeefc46ad6397420fe873830bd85e5fbbfb3c70" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "7.3.0" +version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64d80649ab6db9d9f6f9c80a40becd948eda4714a0a5ac8c4d157a32231c7882" +checksum = "ded520f16b29e1a9b771c722221b2b0a0398c2316d9bb3c42b458a5414d7434b" dependencies = [ "zstd-sys", ] diff --git a/Cargo.toml b/Cargo.toml index b4fff91..15a5ecd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ serde = { version = "1.0", default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } thiserror = { version = "2.0.0", default-features = false } visibility = "0.1.1" -zstd = "0.13" +zstd = "0.14.3" arbitrary = "1.3" rand = "0.9" rand_08 = { package = "rand", version = "0.8" } @@ -62,7 +62,8 @@ syn = "2.0" # test deps test-fuzz = "7" -proptest = "1.6" +# The interop test adapter requires Proptest's Rand 0.9 interface. +proptest = ">=1.6, <1.11" proptest-arbitrary-interop = "0.1" rstest = "0.26.1" similar-asserts = { version = "1.5.0", features = ["serde"] } @@ -92,7 +93,6 @@ equatable_if_let = "warn" explicit_into_iter_loop = "warn" explicit_iter_loop = "warn" flat_map_option = "warn" -from_iter_instead_of_collect = "warn" if_not_else = "warn" if_then_some_else_none = "warn" implicit_clone = "warn" @@ -107,7 +107,7 @@ manual_clamp = "warn" manual_is_variant_and = "warn" manual_string_new = "warn" match_same_arms = "warn" -missing-const-for-fn = "warn" +missing_const_for_fn = "warn" mutex_integer = "warn" naive_bytecount = "warn" needless_bitwise_bool = "warn" diff --git a/deny.toml b/deny.toml index 4af161a..cd29c59 100644 --- a/deny.toml +++ b/deny.toml @@ -12,6 +12,8 @@ ignore = [ "RUSTSEC-2026-0097", # https://rustsec.org/advisories/RUSTSEC-2026-0173 proc-macro-error2 is unmaintained, transitive dep via alloy-sol-macro "RUSTSEC-2026-0173", + # crypto-bigint 0.5 has no patched release compatible with elliptic-curve 0.13. + "RUSTSEC-2026-0387", ] # This section is considered when running `cargo deny check bans`.