mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(deps): bump ethers (#591)
This commit is contained in:
5
Cargo.lock
generated
5
Cargo.lock
generated
@ -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",
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user