chore(deps): bump ethers (#591)

This commit is contained in:
Matthias Seitz
2022-12-23 13:04:35 +01:00
committed by GitHub
parent 2f81137d66
commit 9d439d6fc8
2 changed files with 5 additions and 4 deletions

5
Cargo.lock generated
View File

@ -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",

View File

@ -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<Chain> for U256 {
}
impl TryFrom<Chain> for ethers_core::types::Chain {
type Error = ParseChainError;
type Error = <ethers_core::types::Chain as TryFrom<u64>>::Error;
fn try_from(chain: Chain) -> Result<Self, Self::Error> {
match chain {