Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
6 changes: 5 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[target.x86_64-unknown-linux-gnu]
rustflags = ["-Ctarget-cpu=x86-64-v2"]
rustflags = [
"-Ctarget-cpu=x86-64-v2",
"-Csha2_backend=x86-avx2",
"-Ctarget-feature=+avx2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just specifying x86-64-v3 is better? According to wikipedia, it is basically what we need.

]
2 changes: 1 addition & 1 deletion crates/blockchain/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ use crate::{
};

use thiserror::Error;
use tracing::{debug, error, warn};
use tracing::{debug, warn};

#[derive(Debug)]
pub struct PayloadBuildTask {
Expand Down
2 changes: 1 addition & 1 deletion crates/networking/p2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
7 changes: 5 additions & 2 deletions crates/networking/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
] }

# Clients
envy = "0.4.2"
Expand Down
2 changes: 1 addition & 1 deletion crates/vm/levm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading