Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix versions for determinist sensitive crates #3990

Merged
merged 3 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion massa-async-pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Massa Labs <info@massa.net>"]
edition = "2021"

[dependencies]
nom = "7.1"
nom = "=7.1"
num = "0.4"
serde = { version = "1.0", features = ["derive"] }
rand = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion massa-bootstrap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
[dependencies]
displaydoc = "0.2"
num_enum = "0.5"
nom = "7.1"
nom = "=7.1"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion massa-consensus-exports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
[dependencies]
crossbeam-channel = "0.5.6"
displaydoc = "0.2"
nom = "7.1"
nom = "=7.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion massa-executed-ops/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Massa Labs <info@massa.net>"]
edition = "2021"

[dependencies]
nom = "7.1"
nom = "=7.1"
massa_models = { path = "../massa-models" }
massa_hash = { path = "../massa-hash" }
massa_serialization = { path = "../massa-serialization" }
2 changes: 1 addition & 1 deletion massa-final-state/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
[dependencies]
displaydoc = "0.2"
serde = { version = "1.0", features = ["derive"] }
nom = "7.1"
nom = "=7.1"
bs58 = { version = "0.4", features = ["check"] }
thiserror = "1.0"
tracing = "0.1"
Expand Down
6 changes: 3 additions & 3 deletions massa-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
blake3 = "1.3"
bs58 = { version = "0.4", features = ["check"] }
blake3 = "=1.3"
bs58 = { version = "=0.4", features = ["check"] }
displaydoc = "0.2"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
nom = "7.1"
nom = "=7.1"

# custom modules
massa_serialization = { path = "../massa-serialization" }
Expand Down
2 changes: 1 addition & 1 deletion massa-ledger-exports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tempfile = { version = "3.3", optional = true } # use with testing feature
thiserror = "1.0"
nom = "7.1"
nom = "=7.1"

# custom modules
massa_proto = { path = "../massa-proto" }
Expand Down
2 changes: 1 addition & 1 deletion massa-ledger-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
serde_json = "1.0"
tempfile = { version = "3.3", optional = true } # use with testing feature
rocksdb = "0.20"
nom = "7.1"
nom = "=7.1"
tracing = "0.1"

# custom modules
Expand Down
2 changes: 1 addition & 1 deletion massa-models/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ directories = "4.0"
config = "0.13"
bs58 = { version = "0.4", features = ["check"] }
damip marked this conversation as resolved.
Show resolved Hide resolved
bitvec = { version = "1.0", features = ["serde"] }
damip marked this conversation as resolved.
Show resolved Hide resolved
nom = "7.1"
nom = "=7.1"

# custom modules
massa_hash = { path = "../massa-hash" }
damip marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
2 changes: 1 addition & 1 deletion massa-module-cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rocksdb = "0.20"
serial_test = "1.0.0"
rand = "0.8.5"
num_enum = "0.5"
nom = "7.1"
nom = "=7.1"
displaydoc = "0.2"
thiserror = "1.0"
anyhow = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion massa-pos-exports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
[dependencies]
bitvec = { version = "1.0", features = ["serde"] }
displaydoc = "0.2"
nom = "7.1"
nom = "=7.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions massa-pos-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ edition = "2021"

[dependencies]
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
rand = "0.8.5" # pin exact version for determinism
rand_distr = "0.4.3" # pin exact version for determinism
rand_xoshiro = "0.6"
rand = "=0.8.5"
rand_distr = "=0.4.3"
rand_xoshiro = "=0.6"
tracing = "0.1"
# custom modules
massa_hash = { path = "../massa-hash" }
Expand Down
2 changes: 1 addition & 1 deletion massa-protocol-exports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
[dependencies]
displaydoc = "0.2"
thiserror = "1.0"
nom = "7.1"
nom = "=7.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
peernet = { git = "https://github.com/massalabs/PeerNet", rev = "0ad0e2e" }
damip marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
2 changes: 1 addition & 1 deletion massa-protocol-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rand = "0.8"
parking_lot = "0.12"
crossbeam = "0.8"
serde_json = "1.0"
nom = "7.1"
nom = "=7.1"
num_enum = "0.5"
peernet = { git = "https://github.com/massalabs/PeerNet", rev = "0ad0e2e" }
damip marked this conversation as resolved.
Show resolved Hide resolved
tempfile = { version = "3.3", optional = true } # use with testing feature
Expand Down
2 changes: 1 addition & 1 deletion massa-serialization/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
[dependencies]
displaydoc = "0.2"
thiserror = "1.0"
nom = "7.1"
nom = "=7.1"
unsigned-varint = { version = "0.7.1", features = [
"nom",
], git = "https://github.com/cyphar/unsigned-varint.git", branch = "nom6-errors" }
Expand Down
6 changes: 3 additions & 3 deletions massa-signature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bs58 = { version = "0.4", features = ["check"] }
bs58 = { version = "=0.4", features = ["check"] }
displaydoc = "0.2"
ed25519-dalek = { version = "1.0", features = ["batch"] }
ed25519-dalek = { version = "=1.0", features = ["batch"] }
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
nom = "7.1"
nom = "=7.1"
rand = "0.7"
damip marked this conversation as resolved.
Show resolved Hide resolved
transition = { git = "https://github.com/massalabs/transition.git" }

Expand Down
2 changes: 1 addition & 1 deletion massa-time/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ time = { version = "0.3", features = ["serde", "formatting"] }
displaydoc = "0.2"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
nom = "7.1"
nom = "=7.1"

# Custom dependencies
massa_serialization = { path = "../massa-serialization" }
2 changes: 1 addition & 1 deletion massa-versioning/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ machine = { git = "https://github.com/antifuchs/machine", branch = "fix-workspac
parking_lot = "0.12"
thiserror = "1.0"
num_enum = "0.5"
nom = "7.1"
nom = "=7.1"
tracing = "0.1"

# custom module
damip marked this conversation as resolved.
Show resolved Hide resolved
Expand Down