From f1c4810e14cfb9de3bb6789a5971e1fcc70af824 Mon Sep 17 00:00:00 2001 From: Evgeny Ukhanov Date: Sat, 11 Jun 2022 20:11:16 +0200 Subject: [PATCH] Changed libsecp256k1 --- engine-precompiles/Cargo.toml | 2 +- engine/Cargo.toml | 2 +- etc/state-migration-test/Cargo.lock | 21 --------------------- 3 files changed, 2 insertions(+), 23 deletions(-) diff --git a/engine-precompiles/Cargo.toml b/engine-precompiles/Cargo.toml index 7ee882284..0f5ef6919 100644 --- a/engine-precompiles/Cargo.toml +++ b/engine-precompiles/Cargo.toml @@ -20,7 +20,7 @@ borsh = "0.8.2" bn = { package = "aurora-bn", git = "https://github.com/aurora-is-near/aurora-bn.git", default-features = false } evm = { git = "https://github.com/aurora-is-near/sputnikvm.git", rev = "37448b6cacd98b06282cff5a559684505c29bd2b", default-features = false } evm-core = { git = "https://github.com/aurora-is-near/sputnikvm.git", rev = "37448b6cacd98b06282cff5a559684505c29bd2b", default-features = false } -libsecp256k1 = { version = "0.7.0", features = ["static-context", "hmac"] } +libsecp256k1 = { version = "0.7.0", default-features = false, features = ["static-context", "hmac"] } num = "0.4.0" primitive-types = { version = "0.10.0", default-features = false, features = ["rlp"] } ripemd160 = "0.9.1" diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 59a8752ae..892d22eb6 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -25,7 +25,7 @@ borsh = "0.8.2" bn = { package = "aurora-bn", git = "https://github.com/aurora-is-near/aurora-bn.git", default-features = false } evm = { git = "https://github.com/aurora-is-near/sputnikvm.git", rev = "37448b6cacd98b06282cff5a559684505c29bd2b", default-features = false } evm-core = { git = "https://github.com/aurora-is-near/sputnikvm.git", rev = "37448b6cacd98b06282cff5a559684505c29bd2b", default-features = false } -libsecp256k1 = { version = "0.7.0" } +libsecp256k1 = { version = "0.7.0", default-features = false } num = "0.4.0" primitive-types = { version = "0.10.0", default-features = false, features = ["rlp"] } ripemd160 = "0.9.1" diff --git a/etc/state-migration-test/Cargo.lock b/etc/state-migration-test/Cargo.lock index 38fb0888e..d7eb518cb 100644 --- a/etc/state-migration-test/Cargo.lock +++ b/etc/state-migration-test/Cargo.lock @@ -797,12 +797,6 @@ dependencies = [ "syn", ] -[[package]] -name = "ppv-lite86" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" - [[package]] name = "primitive-types" version = "0.10.1" @@ -883,18 +877,6 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", "rand_core", ] @@ -903,9 +885,6 @@ name = "rand_core" version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" -dependencies = [ - "getrandom", -] [[package]] name = "regex-syntax"