From 1cb2fe0247ac89aa131f32b2846fce67dbdd3a6a Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 27 Jul 2021 23:55:55 +0300 Subject: [PATCH] chore: update deps (#352) * chore(deps): bump elliptic-curve from 0.10.4 to 0.10.5 Bumps [elliptic-curve](https://github.com/RustCrypto/traits) from 0.10.4 to 0.10.5. - [Release notes](https://github.com/RustCrypto/traits/releases) - [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.10.4...elliptic-curve-v0.10.5) --- updated-dependencies: - dependency-name: elliptic-curve dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * chore: bump deps Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 18 +++++++++--------- ethers-core/Cargo.toml | 8 ++++---- ethers-core/src/abi/tokens.rs | 2 +- ethers-signers/Cargo.toml | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9ac800eb..f769b061 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -597,9 +597,9 @@ dependencies = [ [[package]] name = "ecdsa" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05cb0ed2d2ce37766ac86c05f66973ace8c51f7f1533bedce8fb79e2b54b3f14" +checksum = "713c32426287891008edb98f8b5c6abb2130aa043c93a818728fcda78606f274" dependencies = [ "der", "elliptic-curve", @@ -638,9 +638,9 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "elliptic-curve" -version = "0.10.4" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83e5c176479da93a0983f0a6fdc3c1b8e7d5be0d7fe3fe05a99f15b96582b9a8" +checksum = "069397e10739989e400628cbc0556a817a8a64119d7a2315767f4456e1332c23" dependencies = [ "crypto-bigint", "ff", @@ -796,7 +796,7 @@ dependencies = [ name = "ethers-core" version = "0.4.0" dependencies = [ - "arrayvec 0.5.2", + "arrayvec 0.7.1", "bincode", "bytes", "ecdsa", @@ -1370,9 +1370,9 @@ dependencies = [ [[package]] name = "k256" -version = "0.9.4" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a26a4a8e8b0ab315c687767b543c923c9667a1f2bf42a42818d1453891c7c1" +checksum = "903ae2481bcdfdb7b68e0a9baa4b7c9aff600b9ae2e8e5bb5833b8c91ab851ea" dependencies = [ "cfg-if 1.0.0", "ecdsa", @@ -2839,9 +2839,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.3.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" +checksum = "377db0846015f7ae377174787dd452e1c5f5a9050bc6f954911d01f116daa0cd" dependencies = [ "zeroize_derive", ] diff --git a/ethers-core/Cargo.toml b/ethers-core/Cargo.toml index cce73b4a..102bcfe9 100644 --- a/ethers-core/Cargo.toml +++ b/ethers-core/Cargo.toml @@ -12,13 +12,13 @@ keywords = ["ethereum", "web3", "celo", "ethers"] [dependencies] rlp = { version = "0.5.0", default-features = false } ethabi = { version = "14.1.0", default-features = false } -arrayvec = { version = "0.5.1", default-features = false } +arrayvec = { version = "0.7.1", default-features = false } # crypto -ecdsa = { version = "0.12.2", default-features = false, features = ["std"] } -elliptic-curve = { version = "0.10.4", default-features = false } +ecdsa = { version = "0.12.3", default-features = false, features = ["std"] } +elliptic-curve = { version = "0.10.5", default-features = false } generic-array = { version = "0.14.4", default-features = false } -k256 = { version = "0.9.4", default-features = false, features = ["keccak256", "ecdsa"] } +k256 = { version = "0.9.5", default-features = false, features = ["keccak256", "ecdsa"] } rand = { version = "0.8.4", default-features = false } tiny-keccak = { version = "2.0.2", default-features = false } diff --git a/ethers-core/src/abi/tokens.rs b/ethers-core/src/abi/tokens.rs index 904397f7..40221511 100644 --- a/ethers-core/src/abi/tokens.rs +++ b/ethers-core/src/abi/tokens.rs @@ -414,7 +414,7 @@ macro_rules! impl_fixed_types { ))); } - let mut arr = ArrayVec::<[T; $num]>::new(); + let mut arr = ArrayVec::::new(); let mut it = tokens.into_iter().map(T::from_token); for _ in 0..$num { arr.push(it.next().expect("Length validated in guard; qed")?); diff --git a/ethers-signers/Cargo.toml b/ethers-signers/Cargo.toml index d9ab9777..ca83be81 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.3.0" } hex = { version = "0.4.3", default-features = false, features = ["std"] } async-trait = { version = "0.1.50", default-features = false } -elliptic-curve = { version = "0.10.4", default-features = false } +elliptic-curve = { version = "0.10.5", default-features = false } sha2 = { version = "0.9.3", default-features = false } rand = { version = "0.8.4", default-features = false } yubihsm = { version = "0.39.0", features = ["secp256k1", "http", "usb"], optional = true }