diff --git a/Cargo.lock b/Cargo.lock index d33302f65..6936fca47 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -711,6 +711,22 @@ dependencies = [ "zeroize", ] +[[package]] +name = "bitcoin-io" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b47c4ab7a93edb0c7198c5535ed9b52b63095f4e9b45279c6736cec4b856baf" + +[[package]] +name = "bitcoin_hashes" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb18c03d0db0247e147a21a6faafd5a7eb851c743db062de72018b6b7e8e4d16" +dependencies = [ + "bitcoin-io", + "hex-conservative", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -2016,7 +2032,7 @@ dependencies = [ "eip712-common", "ethers-core", "primitives-ethereum", - "secp256k1 0.27.0", + "secp256k1 0.31.1", "serde_json", "sp-core", ] @@ -3543,6 +3559,15 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hex-conservative" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5313b072ce3c597065a808dbf612c4c8e8590bdbf8b579508bf7a762c5eae6cd" +dependencies = [ + "arrayvec 0.7.4", +] + [[package]] name = "hex-literal" version = "0.4.1" @@ -5751,7 +5776,7 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.107", @@ -7408,6 +7433,16 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", +] + [[package]] name = "rand_chacha" version = "0.2.2" @@ -7428,6 +7463,16 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", +] + [[package]] name = "rand_core" version = "0.5.1" @@ -7446,6 +7491,15 @@ dependencies = [ "getrandom 0.2.15", ] +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.4", +] + [[package]] name = "rand_hc" version = "0.2.0" @@ -9152,6 +9206,17 @@ dependencies = [ "secp256k1-sys 0.8.1", ] +[[package]] +name = "secp256k1" +version = "0.31.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3c81b43dc2d8877c216a3fccf76677ee1ebccd429566d3e67447290d0c42b2" +dependencies = [ + "bitcoin_hashes", + "rand 0.9.2", + "secp256k1-sys 0.11.0", +] + [[package]] name = "secp256k1-sys" version = "0.6.1" @@ -9170,6 +9235,15 @@ dependencies = [ "cc", ] +[[package]] +name = "secp256k1-sys" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcb913707158fadaf0d8702c2db0e857de66eb003ccfdda5924b5f5ac98efb38" +dependencies = [ + "cc", +] + [[package]] name = "secrecy" version = "0.8.0" diff --git a/Cargo.toml b/Cargo.toml index 86425e102..d68d32193 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ reqwest = { version = "0.11", default-features = false } rlp = { version = "0.5", default-features = false } rustc-hex = { version = "2", default-features = false } scale-info = { version = "2.11.6", default-features = false } -secp256k1 = { version = "0.27", default-features = false } +secp256k1 = { version = "0.31", default-features = false } serde = { version = "1", default-features = false } serde_json = { version = "1", default-features = false } sha3 = { version = "0.10", default-features = false } diff --git a/utils/checks/snapshots/features.yaml b/utils/checks/snapshots/features.yaml index 60ec42106..1284dec20 100644 --- a/utils/checks/snapshots/features.yaml +++ b/utils/checks/snapshots/features.yaml @@ -207,6 +207,15 @@ - pbkdf2 - secp256k1 - std +- name: bitcoin-io 0.1.3 + features: + - alloc + - std +- name: bitcoin_hashes 0.14.0 + features: + - alloc + - bitcoin-io + - std - name: bitflags 1.3.2 features: - default @@ -1151,7 +1160,8 @@ features: - std - name: getrandom 0.3.4 - features: [] + features: + - std - name: ghash 0.5.0 features: [] - name: gimli 0.27.3 @@ -1238,6 +1248,10 @@ - alloc - default - std +- name: hex-conservative 0.2.1 + features: + - alloc + - std - name: hex-literal 0.4.1 features: [] - name: hmac 0.11.0 @@ -2350,12 +2364,22 @@ - small_rng - std - std_rng +- name: rand 0.9.2 + features: + - alloc + - os_rng + - std + - std_rng + - thread_rng - name: rand_chacha 0.2.2 features: - std - name: rand_chacha 0.3.1 features: - std +- name: rand_chacha 0.9.0 + features: + - std - name: rand_core 0.5.1 features: - alloc @@ -2366,6 +2390,10 @@ - alloc - getrandom - std +- name: rand_core 0.9.3 + features: + - os_rng + - std - name: rand_hc 0.2.0 features: [] - name: rand_pcg 0.3.1 @@ -2750,10 +2778,17 @@ - recovery - std - name: secp256k1 0.27.0 + features: + - alloc +- name: secp256k1 0.31.1 features: - alloc - default - std +- name: secp256k1-sys 0.11.0 + features: + - alloc + - std - name: secp256k1-sys 0.6.1 features: - alloc @@ -2762,7 +2797,6 @@ - name: secp256k1-sys 0.8.1 features: - alloc - - std - name: secrecy 0.8.0 features: - alloc