diff --git a/Cargo.lock b/Cargo.lock index 38b4e26..359964d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3047,7 +3047,7 @@ dependencies = [ "futures 0.3.31", "hex", "itertools 0.14.0", - "rand 0.7.3", + "rand 0.9.2", "serde", "serde_json", "solana-cli-config", @@ -3105,7 +3105,7 @@ dependencies = [ "itertools 0.14.0", "jsonrpsee", "nitro-sender", - "rand 0.7.3", + "rand 0.9.2", "rstest", "serde", "serde_json", @@ -3229,7 +3229,7 @@ dependencies = [ "data-anchor-prover", "data-anchor-utils", "itertools 0.14.0", - "rand 0.7.3", + "rand 0.9.2", "sp1-sdk", ] diff --git a/Cargo.toml b/Cargo.toml index 9798e59..827dc6a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ jsonrpsee = { version = "0.24.9", features = [ lz4_flex = "0.11.5" postcard = { version = "1.1.3", features = ["use-std"] } # Has to be 0.7 for Solana SDK compatibility -rand = "0.7" +rand = "0.9" rstest = "0.26.1" serde = { version = "1.0.219", default-features = false } serde_json = { version = "1.0.143", default-features = false } diff --git a/programs/Cargo.toml b/programs/Cargo.toml index 5186d86..7bfbc30 100644 --- a/programs/Cargo.toml +++ b/programs/Cargo.toml @@ -16,7 +16,7 @@ repository = "https://github.com/nitro-svm/data-anchor" bincode = "1.3.3" futures = "0.3.31" hex = "0.4.3" -rand = "0.8.5" +rand = "0.9.2" tokio = "1.43.0" # Solana & Agave