Skip to content

Commit 55e3098

Browse files
committed
Cap ed25519-dalek <3.0.0 to keep it aligned with rand 0.8.5
ed25519-dalek 3.0.0 (2026-07-06) bumped its rand_core past the rand 0.8.5 / rand_chacha 0.3.1 pinned in soroban-env-host, breaking the ChaCha20Rng: CryptoRng bound used by SigningKey::generate in builtin_contracts testutils. Cap the requirement at <3.0.0 so fresh downstream resolves (e.g. the SDK's cargo-semver-checks rustdoc build) pick 2.x.
1 parent ba50c6d commit 55e3098

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

soroban-env-host/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ sha2 = "0.10.8"
2424
hex-literal = "0.4.1"
2525
hmac = "0.12.1"
2626
# NB: We'll need to pin this again after switching the Core to the new env version.
27-
ed25519-dalek = {version = ">=2.0.0", features = ["rand_core"] }
27+
# ed25519-dalek 3.0.0 (2026-07-06) bumped its rand_core past the rand 0.8.5 /
28+
# rand_chacha 0.3.1 pinned below, breaking `ChaCha20Rng: CryptoRng`. Cap <3.0.0.
29+
ed25519-dalek = {version = ">=2.0.0, <3.0.0", features = ["rand_core"] }
2830
# NB: this must match the same rand version used by ed25519-dalek above
2931
rand = "0.8.5"
3032
# NB: this must match the same rand_chacha version used by ed25519-dalek above

0 commit comments

Comments
 (0)