From 9d439d6fc8eac6577758795120cc11e98a6e7fe6 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Fri, 23 Dec 2022 13:04:35 +0100 Subject: [PATCH] chore(deps): bump ethers (#591) --- Cargo.lock | 5 +++-- crates/primitives/src/chain.rs | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 175b23fd3..1bc3fe971 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1270,7 +1270,7 @@ dependencies = [ [[package]] name = "ethers-core" version = "1.0.2" -source = "git+https://github.com/gakonst/ethers-rs#91cd6ccce8c71c82f462d8a8838a94087565623a" +source = "git+https://github.com/gakonst/ethers-rs#612cce016cb90de049495bb3c23c360787beb4b1" dependencies = [ "arrayvec", "bytes", @@ -1280,6 +1280,7 @@ dependencies = [ "generic-array", "hex", "k256", + "num_enum", "open-fastrlp", "rand 0.8.5", "rlp", @@ -1295,7 +1296,7 @@ dependencies = [ [[package]] name = "ethers-providers" version = "1.0.2" -source = "git+https://github.com/gakonst/ethers-rs#91cd6ccce8c71c82f462d8a8838a94087565623a" +source = "git+https://github.com/gakonst/ethers-rs#612cce016cb90de049495bb3c23c360787beb4b1" dependencies = [ "async-trait", "auto_impl", diff --git a/crates/primitives/src/chain.rs b/crates/primitives/src/chain.rs index 68b01d562..8be1ecf44 100644 --- a/crates/primitives/src/chain.rs +++ b/crates/primitives/src/chain.rs @@ -1,5 +1,5 @@ use crate::U256; -use ethers_core::types::{ParseChainError, U64}; +use ethers_core::types::U64; use reth_rlp::{Decodable, Encodable}; use serde::{Deserialize, Serialize}; use std::{fmt, str::FromStr}; @@ -87,7 +87,7 @@ impl From for U256 { } impl TryFrom for ethers_core::types::Chain { - type Error = ParseChainError; + type Error = >::Error; fn try_from(chain: Chain) -> Result { match chain {