diff --git a/Cargo.lock b/Cargo.lock index 8c654db..91c1bae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -174,7 +174,7 @@ dependencies = [ "auto_impl", "derive_more 2.0.1", "either", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -456,7 +456,7 @@ dependencies = [ "digest 0.10.7", "fnv", "merlin", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -1273,7 +1273,7 @@ dependencies = [ "serde_derive", "serde_json", "sha1", - "sha2 0.10.8", + "sha2 0.10.9", "ssri", "tempfile", "thiserror 1.0.69", @@ -1687,7 +1687,7 @@ dependencies = [ "crate_crypto_internal_eth_kzg_maybe_rayon", "crate_crypto_internal_eth_kzg_polynomial", "hex", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -2322,7 +2322,7 @@ dependencies = [ "ed25519", "rand_core 0.6.4", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "subtle", "zeroize", ] @@ -2708,7 +2708,7 @@ dependencies = [ "serde", "serde_json", "serde_yaml 0.8.26", - "sha2 0.10.8", + "sha2 0.10.9", "ssz_rs", "thiserror 1.0.69", ] @@ -2737,7 +2737,7 @@ checksum = "c853bd72c9e5787f8aafc3df2907c2ed03cff3150c3acd94e2e53a98ab70a8ab" dependencies = [ "cpufeatures", "ring", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -4278,7 +4278,7 @@ dependencies = [ "cfg-if", "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.8", + "sha2 0.10.9", "sha3", ] @@ -4292,7 +4292,7 @@ dependencies = [ "ecdsa 0.16.9", "elliptic-curve 0.13.8", "once_cell", - "sha2 0.10.8", + "sha2 0.10.9", "signature 2.2.0", ] @@ -4460,7 +4460,7 @@ dependencies = [ "k256 0.13.4", "multihash 0.19.3", "quick-protobuf", - "sha2 0.10.8", + "sha2 0.10.9", "thiserror 2.0.12", "tracing", "zeroize", @@ -4979,7 +4979,7 @@ dependencies = [ "core2", "digest 0.10.7", "multihash-derive", - "sha2 0.10.8", + "sha2 0.10.9", "unsigned-varint 0.7.2", ] @@ -5475,7 +5475,7 @@ dependencies = [ "digest 0.10.7", "hmac 0.12.1", "password-hash", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -6433,7 +6433,7 @@ dependencies = [ "directories", "hex", "rayon", - "sha2 0.10.8", + "sha2 0.10.9", "tempfile", ] @@ -6493,7 +6493,7 @@ dependencies = [ "risc0-sys", "risc0-zkp", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "tracing", "zip 2.4.2", ] @@ -6644,7 +6644,7 @@ dependencies = [ "risc0-sys", "risc0-zkvm-platform", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "stability", "tracing", ] @@ -6692,7 +6692,7 @@ dependencies = [ "rzup", "semver 1.0.26", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "stability", "tempfile", "tracing", @@ -7050,7 +7050,7 @@ dependencies = [ "semver 1.0.26", "serde", "serde_with", - "sha2 0.10.8", + "sha2 0.10.9", "strum 0.27.2", "tempfile", "thiserror 2.0.12", @@ -7441,9 +7441,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures", @@ -7661,7 +7661,7 @@ dependencies = [ "miette", "serde", "sha-1", - "sha2 0.10.8", + "sha2 0.10.9", "thiserror 1.0.69", "xxhash-rust", ] @@ -7680,7 +7680,7 @@ dependencies = [ "rayon", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", "smallvec", "ssz_rs", "thiserror 2.0.12", @@ -7690,13 +7690,13 @@ dependencies = [ [[package]] name = "ssz_rs" version = "0.9.0" -source = "git+https://github.com/willemolding/ssz-rs?rev=d939604c3693aadaff63dcacf9a810d8845fafef#d939604c3693aadaff63dcacf9a810d8845fafef" +source = "git+https://github.com/willemolding/ssz-rs?rev=f9348a9c91948e69b820cd91daef28666b37133b#f9348a9c91948e69b820cd91daef28666b37133b" dependencies = [ "alloy-primitives", "bitvec", "rayon", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "ssz_rs_derive", "thread_local", "tracing", @@ -7705,7 +7705,7 @@ dependencies = [ [[package]] name = "ssz_rs_derive" version = "0.9.0" -source = "git+https://github.com/willemolding/ssz-rs?rev=d939604c3693aadaff63dcacf9a810d8845fafef#d939604c3693aadaff63dcacf9a810d8845fafef" +source = "git+https://github.com/willemolding/ssz-rs?rev=f9348a9c91948e69b820cd91daef28666b37133b#f9348a9c91948e69b820cd91daef28666b37133b" dependencies = [ "proc-macro2", "quote", @@ -9555,7 +9555,7 @@ dependencies = [ "serde_arrays", "serde_json", "serde_with", - "sha2 0.10.8", + "sha2 0.10.9", "ssz-multiproofs", "swap_or_not_shuffle", "thiserror 2.0.12", diff --git a/Cargo.toml b/Cargo.toml index 2a37613..e3b3df4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,12 +12,12 @@ repository = "https://github.com/boundless-xyz/The-Signal.Ethereum/" opt-level = 3 [profile.release] -opt-level = 3 # Optimize for build time and code size; use "3" for maximum runtime performance -codegen-units = 16 # Increases parallelism in code generation -debug = false # Disable debug information to speed up builds -lto = false # Link Time Optimization disabled for faster linking -panic = "unwind" # Keeps unwinding for better build speed; "abort" is faster but changes behavior -incremental = false # Disable incremental compilation for deterministic builds +opt-level = 3 # Optimize for build time and code size; use "3" for maximum runtime performance +codegen-units = 16 # Increases parallelism in code generation +debug = false # Disable debug information to speed up builds +lto = false # Link Time Optimization disabled for faster linking +panic = "unwind" # Keeps unwinding for better build speed; "abort" is faster but changes behavior +incremental = false # Disable incremental compilation for deterministic builds overflow-checks = false # Skip overflow checks for better performance [workspace.dependencies] @@ -36,9 +36,9 @@ risc0-zkvm = { version = "3.0.3", default-features = false } tracing-subscriber = { version = "0.3", features = ["env-filter"] } serde = "1.0" -sha2 = { version = "0.10.8", default-features = false } +sha2 = { version = "0.10.9", default-features = false } ethereum-consensus = { git = "https://github.com/boundless-xyz/ethereum-consensus.git", rev = "1186e3e50bd10f00ef2caf1846ee8d62f5c8e4ef", default-features = false } -ssz_rs = { git = "https://github.com/willemolding/ssz-rs", rev = "d939604c3693aadaff63dcacf9a810d8845fafef", default-features = false } +ssz_rs = { git = "https://github.com/willemolding/ssz-rs", rev = "f9348a9c91948e69b820cd91daef28666b37133b", default-features = false } bitvec = { version = "1", features = ["serde"] } tracing = "0.1.41" anyhow = "1.0.57" @@ -47,11 +47,13 @@ tokio = { version = "1.45", features = ["full"] } # Lighthouse crates beacon_chain = { git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2" } -beacon_types = { package = "types", git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2", default-features = false, features = ["legacy-arith"] } +beacon_types = { package = "types", git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2", default-features = false, features = [ + "legacy-arith", +] } bls = { git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2" } swap_or_not_shuffle = { git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2" } safe_arith = { git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2" } [patch."https://github.com/ralexstokes/ssz-rs"] # Get the merkle tree empty node virtualization so non-trivial merkle trees actually fit in memory -ssz_rs = { git = "https://github.com/willemolding/ssz-rs", rev = "d939604c3693aadaff63dcacf9a810d8845fafef" } +ssz_rs = { git = "https://github.com/willemolding/ssz-rs", rev = "f9348a9c91948e69b820cd91daef28666b37133b" } diff --git a/methods/guest/Cargo.lock b/methods/guest/Cargo.lock index 2806cdc..8df9508 100644 --- a/methods/guest/Cargo.lock +++ b/methods/guest/Cargo.lock @@ -246,7 +246,7 @@ dependencies = [ "digest 0.10.7", "fnv", "merlin", - "sha2", + "sha2 0.10.9", ] [[package]] @@ -624,7 +624,7 @@ dependencies = [ "chainspec", "risc0-zkvm", "serde_cbor", - "sha2", + "sha2 0.10.9", "z-core", ] @@ -1088,7 +1088,7 @@ dependencies = [ "crate_crypto_internal_eth_kzg_maybe_rayon", "crate_crypto_internal_eth_kzg_polynomial", "hex", - "sha2", + "sha2 0.10.9", ] [[package]] @@ -1529,7 +1529,7 @@ name = "ethereum_hashing" version = "0.7.0" source = "git+https://github.com/boundless-xyz/ethereum_hashing?rev=f9826065df48bab455afe6a0639d5c625ced57a2#f9826065df48bab455afe6a0639d5c625ced57a2" dependencies = [ - "sha2", + "sha2 0.10.8", ] [[package]] @@ -2253,7 +2253,7 @@ dependencies = [ "elliptic-curve", "once_cell", "risc0-bigint2", - "sha2", + "sha2 0.10.9", ] [[package]] @@ -3409,7 +3409,7 @@ dependencies = [ "risc0-core", "risc0-zkvm-platform", "serde", - "sha2", + "sha2 0.10.9", "stability", "tracing", ] @@ -3444,7 +3444,7 @@ dependencies = [ "rzup", "semver 1.0.26", "serde", - "sha2", + "sha2 0.10.9", "stability", "tempfile", "tracing", @@ -3682,7 +3682,7 @@ dependencies = [ "semver 1.0.26", "serde", "serde_with", - "sha2", + "sha2 0.10.9", "strum", "tempfile", "thiserror", @@ -3893,6 +3893,16 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "sha2" +version = "0.10.9" +source = "git+https://github.com/risc0/RustCrypto-hashes?tag=sha2-v0.10.9-risczero.0#8631fabdea7bdffa97b11868e04e73491d8e5bcf" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + [[package]] name = "sha3" version = "0.10.8" @@ -3978,7 +3988,7 @@ dependencies = [ "bitvec", "itertools 0.14.0", "serde", - "sha2", + "sha2 0.10.9", "thiserror", "tracing", ] @@ -5053,7 +5063,7 @@ dependencies = [ "serde", "serde_arrays", "serde_with", - "sha2", + "sha2 0.10.9", "ssz-multiproofs", "swap_or_not_shuffle", "thiserror", diff --git a/methods/guest/Cargo.toml b/methods/guest/Cargo.toml index 8b69903..2b347ed 100644 --- a/methods/guest/Cargo.toml +++ b/methods/guest/Cargo.toml @@ -15,13 +15,13 @@ blst = { version = "0.3.14", default-features = false, features = ["no-threads"] chainspec = { path = "../../chainspec", features = ["mainnet", "sepolia"] } risc0-zkvm = { version = "3.0.3", features = ["std", "unstable"] } serde_cbor = "0.11" -sha2 = "=0.10.8" +sha2 = "0.10.9" z-core = { path = "../../core" } [patch.crates-io] blst = { git = "https://github.com/risc0/blst.git", branch = "wollac/clean/v0.3.15" } crypto-bigint = { git = "https://github.com/risc0/RustCrypto-crypto-bigint", tag = "v0.5.5-risczero.0" } -sha2 = { git = "https://github.com/risc0/RustCrypto-hashes", tag = "sha2-v0.10.8-risczero.0" } +sha2 = { git = "https://github.com/risc0/RustCrypto-hashes", tag = "sha2-v0.10.9-risczero.0" } k256 = { git = "https://github.com/risc0/RustCrypto-elliptic-curves", tag = "k256/v0.13.4-risczero.1" } ethereum_hashing = { git = "https://github.com/boundless-xyz/ethereum_hashing", rev = "f9826065df48bab455afe6a0639d5c625ced57a2" } c-kzg = { git = "https://github.com/risc0/c-kzg-4844", tag = "c-kzg/v2.1.1-risczero.0" }