diff --git a/.cargo/config.toml b/.cargo/config.toml index aeeacca0145..934b5126f60 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,5 @@ [target.x86_64-unknown-linux-gnu] -rustflags = ["-Ctarget-cpu=x86-64-v2"] +rustflags = [ + "-Ctarget-cpu=x86-64-v3", + "-Ctarget-feature=+avx2,+sse2,+ssse3,+sse4.1,+sse4.2,+bmi1,+lzcnt,+pclmulqdq", +] diff --git a/crates/blockchain/payload.rs b/crates/blockchain/payload.rs index 40d0b3f7213..c3b1d845b00 100644 --- a/crates/blockchain/payload.rs +++ b/crates/blockchain/payload.rs @@ -43,7 +43,7 @@ use crate::{ }; use thiserror::Error; -use tracing::{debug, error, warn}; +use tracing::{debug, warn}; #[derive(Debug)] pub struct PayloadBuildTask { diff --git a/crates/networking/p2p/Cargo.toml b/crates/networking/p2p/Cargo.toml index f321678fff8..6bd308bc3fe 100644 --- a/crates/networking/p2p/Cargo.toml +++ b/crates/networking/p2p/Cargo.toml @@ -37,7 +37,7 @@ rocksdb = { workspace = true, optional = true } prometheus = "0.14.0" tokio-stream = "0.1.17" -sha3 = "0.10.8" +sha3.workspace = true serde_json = "1.0.117" diff --git a/crates/networking/rpc/Cargo.toml b/crates/networking/rpc/Cargo.toml index ad9729aa08a..aa22f5e3eab 100644 --- a/crates/networking/rpc/Cargo.toml +++ b/crates/networking/rpc/Cargo.toml @@ -20,7 +20,7 @@ ethrex-common.workspace = true ethrex-storage.workspace = true ethrex-vm.workspace = true ethrex-blockchain.workspace = true -ethrex-p2p = {workspace = true, features = ["test-utils"]} +ethrex-p2p = { workspace = true, features = ["test-utils"] } ethrex-rlp.workspace = true ethrex-trie.workspace = true ethrex-storage-rollup = { workspace = true, optional = true } @@ -32,9 +32,12 @@ jsonwebtoken.workspace = true rand.workspace = true tokio-util = { workspace = true, features = ["codec"] } reqwest.workspace = true -sha3 = "0.10.8" +sha3.workspace = true sha2.workspace = true -jemalloc_pprof = { version = "0.8.0", optional = true, features = ["flamegraph", "symbolize"] } +jemalloc_pprof = { version = "0.8.0", optional = true, features = [ + "flamegraph", + "symbolize", +] } spawned-rt.workspace = true spawned-concurrency.workspace = true diff --git a/crates/vm/levm/Cargo.toml b/crates/vm/levm/Cargo.toml index b2fdf9a43b1..e24dc844412 100644 --- a/crates/vm/levm/Cargo.toml +++ b/crates/vm/levm/Cargo.toml @@ -17,7 +17,7 @@ thiserror.workspace = true serde = { workspace = true, features = ["derive", "rc"] } serde_json.workspace = true -sha3 = "0.10.8" +sha3.workspace = true datatest-stable = "0.2.9" walkdir = "2.5.0" secp256k1.workspace = true