From e82b09f52110987916e2900cc6234c4352bdfc65 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 16 Feb 2021 20:58:45 +0200 Subject: [PATCH] Update deps (#196) * chore: bump ethtypes and ethabi * chore: bump elliptic curve --- Cargo.lock | 100 ++++++++++++++++++++++---------------- ethers-core/Cargo.toml | 6 +-- ethers-signers/Cargo.toml | 2 +- 3 files changed, 61 insertions(+), 47 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 774c4b35..4245ae69 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -172,16 +172,6 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" -[[package]] -name = "bitvec" -version = "0.17.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41262f11d771fd4a61aa3ce019fca363b4b6c282fca9da2a31186d3965a47a5c" -dependencies = [ - "either", - "radium 0.3.0", -] - [[package]] name = "bitvec" version = "0.18.4" @@ -193,6 +183,18 @@ dependencies = [ "wyz", ] +[[package]] +name = "bitvec" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5011ffc90248764d7005b0e10c7294f5aa1bd87d9dd7248f4ad475b347c294d" +dependencies = [ + "funty", + "radium 0.6.2", + "tap", + "wyz", +] + [[package]] name = "blake2b_simd" version = "0.5.11" @@ -238,9 +240,9 @@ checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" [[package]] name = "byte-slice-cast" -version = "0.3.5" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0a5e3906bcbf133e33c1d4d95afc664ad37fbdb9f6568d8043e7ea8c27d93d3" +checksum = "65c1bf4a04a88c54f589125563643d773f3254b5c38571395e2b591c693bbc81" [[package]] name = "byteorder" @@ -479,7 +481,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41fbdb4ff710acb4db8ca29f93b897529ea6d6a45626d5183b47e012aa6ae7e4" dependencies = [ - "elliptic-curve", + "elliptic-curve 0.8.4", "hmac", "signature", ] @@ -507,12 +509,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "either" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" - [[package]] name = "elliptic-curve" version = "0.8.4" @@ -530,6 +526,17 @@ dependencies = [ "zeroize", ] +[[package]] +name = "elliptic-curve" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3f5ababd466cd3fc23b934ce7e1854a27bba9c172a47026f682cf801268a249" +dependencies = [ + "generic-array", + "rand_core 0.6.1", + "subtle", +] + [[package]] name = "encoding_rs" version = "0.8.26" @@ -563,12 +570,13 @@ dependencies = [ [[package]] name = "ethabi-next" -version = "13.0.0" +version = "13.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4bb43ca3464de349cd4f94bb37113eb4938dfb7df1a28320049bbbe3e9ffc6a" +checksum = "2121446a221088af92b3bd94d020e349eff0e1b0a4f8f923c243978fe942412a" dependencies = [ "anyhow", "ethereum-types", + "funty", "hex", "serde", "serde_json", @@ -579,9 +587,9 @@ dependencies = [ [[package]] name = "ethbloom" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22a621dcebea74f2a6f2002d0a885c81ccf6cbdf86760183316a7722b5707ca4" +checksum = "779864b9c7f7ead1f092972c3257496c6a84b46dba2ce131dd8a282cb2cc5972" dependencies = [ "crunchy", "fixed-hash", @@ -592,9 +600,9 @@ dependencies = [ [[package]] name = "ethereum-types" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05dc5f0df4915fa6dff7f975a8366ecfaaa8959c74235469495153e7bb1b280e" +checksum = "f64b5df66a228d85e4b17e5d6c6aa43b0310898ffe8a85988c4c032357aaabfd" dependencies = [ "ethbloom", "fixed-hash", @@ -677,7 +685,7 @@ dependencies = [ "bincode", "bytes", "ecdsa", - "elliptic-curve", + "elliptic-curve 0.9.2", "ethabi-next", "ethereum-types", "ethers", @@ -751,7 +759,7 @@ version = "0.2.0" dependencies = [ "async-trait", "coins-ledger", - "elliptic-curve", + "elliptic-curve 0.9.2", "eth-keystore", "ethers", "ethers-core", @@ -1138,9 +1146,9 @@ dependencies = [ [[package]] name = "impl-codec" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1be51a921b067b0eaca2fad532d9400041561aa922221cc65f95a85641c6bf53" +checksum = "df170efa359aebdd5cb7fe78edcc67107748e4737bdca8a8fb40d15ea7a877ed" dependencies = [ "parity-scale-codec", ] @@ -1211,7 +1219,7 @@ checksum = "cf02ecc966e1b7e8db1c81ac8f321ba24d1cfab5b634961fab10111f015858e1" dependencies = [ "cfg-if 1.0.0", "ecdsa", - "elliptic-curve", + "elliptic-curve 0.8.4", "sha2", "sha3", ] @@ -1445,7 +1453,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39f37a291d378ba3291c1fa4e925edb6729c8593d4c6064be79e4a4c12fa2d97" dependencies = [ "ecdsa", - "elliptic-curve", + "elliptic-curve 0.8.4", "sha2", ] @@ -1456,17 +1464,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea33960aac2200d19a5c9ab06a11ebd48a37a23144496632c358182e6765d80b" dependencies = [ "ecdsa", - "elliptic-curve", + "elliptic-curve 0.8.4", ] [[package]] name = "parity-scale-codec" -version = "1.3.5" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c740e5fbcb6847058b40ac7e5574766c6388f585e184d769910fe0d3a2ca861" +checksum = "75c823fdae1bb5ff5708ee61a62697e6296175dc671710876871c853f48592b3" dependencies = [ "arrayvec", - "bitvec 0.17.4", + "bitvec 0.20.1", "byte-slice-cast", "serde", ] @@ -1575,9 +1583,9 @@ checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" [[package]] name = "primitive-types" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3824ae2c5e27160113b9e029a10ec9e3f0237bad8029f69c7724393c9fdefd8" +checksum = "2415937401cb030a2a0a4d922483f945fa068f52a7dbb22ce0fe5f2b6f6adace" dependencies = [ "fixed-hash", "impl-codec", @@ -1640,18 +1648,18 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "radium" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "def50a86306165861203e7f84ecffbbdfdea79f0e51039b33de1e952358c47ac" - [[package]] name = "radium" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64de9a0c5361e034f1aefc9f71a86871ec870e766fe31a009734a989b329286a" +[[package]] +name = "radium" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb" + [[package]] name = "rand" version = "0.7.3" @@ -2109,6 +2117,12 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + [[package]] name = "tempfile" version = "3.2.0" diff --git a/ethers-core/Cargo.toml b/ethers-core/Cargo.toml index 386ccb1f..34b4a117 100644 --- a/ethers-core/Cargo.toml +++ b/ethers-core/Cargo.toml @@ -11,14 +11,14 @@ keywords = ["ethereum", "web3", "celo", "ethers"] [dependencies] # ethereum related -ethereum-types = { version = "0.10.0", default-features = false } +ethereum-types = { version = "0.11.0", default-features = false } rlp = { version = "0.5.0", default-features = false } -ethabi = { package = "ethabi-next", version = "13.0.0", default-features = false } +ethabi = { package = "ethabi-next", version = "13.1.0", default-features = false } arrayvec = { version = "0.5.1", default-features = false } # crypto ecdsa = { version = "0.10.2", default-features = false, features = ["std"] } -elliptic-curve = { version = "0.8.4", default-features = false } +elliptic-curve = { version = "0.9.2", default-features = false } generic-array = { version = "0.14.4", default-features = false } k256 = { version = "0.7.2", default-features = false, features = ["keccak256", "ecdsa"] } rand = { version = "0.7.1", default-features = false } diff --git a/ethers-signers/Cargo.toml b/ethers-signers/Cargo.toml index f2514777..b912033a 100644 --- a/ethers-signers/Cargo.toml +++ b/ethers-signers/Cargo.toml @@ -22,7 +22,7 @@ coins-ledger = { version = "0.1.0", default-features = false, optional = true } eth-keystore = { version = "0.2.0" } hex = { version = "0.4.2", default-features = false, features = ["std"] } async-trait = { version = "0.1.40", default-features = false } -elliptic-curve = { version = "0.8.4", default-features = false } +elliptic-curve = { version = "0.9.2", default-features = false } sha2 = { version = "0.9.3", default-features = false } rand = { version = "0.7.3", default-features = false } yubihsm = { version = "0.38.0", features = ["secp256k1", "http", "usb"], optional = true }