chore(deps): bump ethers + ethereum types + revm (#228)

* chore(deps): bump ethers + ethereum types

* bump revm

* chore(clippy): make clippy happy
This commit is contained in:
Matthias Seitz
2022-11-23 11:54:54 +01:00
committed by GitHub
parent 82b37b9bfb
commit d6a11c7f48
5 changed files with 52 additions and 32 deletions

74
Cargo.lock generated
View File

@ -60,6 +60,17 @@ dependencies = [
"version_check",
]
[[package]]
name = "ahash"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf6ccdb167abbf410dcb915cabd428929d7f6a04980b54a11f26a39f1c7f7107"
dependencies = [
"cfg-if",
"once_cell",
"version_check",
]
[[package]]
name = "aho-corasick"
version = "0.7.19"
@ -376,9 +387,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
[[package]]
name = "bytes"
version = "1.2.1"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db"
checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c"
dependencies = [
"serde",
]
@ -1190,9 +1201,9 @@ dependencies = [
[[package]]
name = "ethabi"
version = "17.2.0"
version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4966fba78396ff92db3b817ee71143eccd98acf0f876b8d600e585a670c5d1b"
checksum = "7413c5f74cc903ea37386a8965a936cbeb334bd270862fdece542c1b2dcbc898"
dependencies = [
"ethereum-types",
"hex",
@ -1207,9 +1218,9 @@ dependencies = [
[[package]]
name = "ethbloom"
version = "0.12.1"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "11da94e443c60508eb62cf256243a64da87304c2802ac2528847f79d750007ef"
checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60"
dependencies = [
"crunchy",
"fixed-hash",
@ -1222,9 +1233,9 @@ dependencies = [
[[package]]
name = "ethereum-types"
version = "0.13.1"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2827b94c556145446fcce834ca86b7abf0c39a805883fe20e72c5bfdb5a0dc6"
checksum = "81224dc661606574f5a0f28c9947d0ee1d93ff11c5f1c4e7272f52e8c0b5483c"
dependencies = [
"ethbloom",
"fixed-hash",
@ -1239,7 +1250,7 @@ dependencies = [
[[package]]
name = "ethers-core"
version = "1.0.0"
source = "git+https://github.com/gakonst/ethers-rs#8de8a29dc286403aeceb843563c3c29803e92e7c"
source = "git+https://github.com/gakonst/ethers-rs#c17c0c3c956f12d205a5ede3176599d8a30ca739"
dependencies = [
"arrayvec",
"bytes",
@ -1304,9 +1315,9 @@ dependencies = [
[[package]]
name = "fixed-hash"
version = "0.7.0"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c"
checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534"
dependencies = [
"byteorder",
"rand 0.8.5",
@ -1612,7 +1623,7 @@ version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
dependencies = [
"ahash",
"ahash 0.7.6",
]
[[package]]
@ -1621,7 +1632,16 @@ version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
dependencies = [
"ahash",
"ahash 0.7.6",
]
[[package]]
name = "hashbrown"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33ff8ae62cd3a9102e5637afc8452c55acf3844001bd5374e0b0bd7b6616c038"
dependencies = [
"ahash 0.8.2",
]
[[package]]
@ -1848,9 +1868,9 @@ dependencies = [
[[package]]
name = "impl-serde"
version = "0.3.2"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c"
checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd"
dependencies = [
"serde",
]
@ -2246,7 +2266,7 @@ version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b9b8653cec6897f73b519a43fba5ee3d50f62fe9af80b428accdcc093b4a849"
dependencies = [
"ahash",
"ahash 0.7.6",
"metrics-macros",
"portable-atomic",
]
@ -2478,9 +2498,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
[[package]]
name = "open-fastrlp"
version = "0.1.2"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "131de184f045153e72c537ef4f1d57babddf2a897ca19e67bdff697aebba7f3d"
checksum = "786393f80485445794f6043fd3138854dd109cc6c4bd1a6383db304c9ce9b9ce"
dependencies = [
"arrayvec",
"auto_impl",
@ -2768,9 +2788,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]]
name = "primitive-types"
version = "0.11.1"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a"
checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66"
dependencies = [
"fixed-hash",
"impl-codec",
@ -3241,7 +3261,7 @@ dependencies = [
"auto_impl",
"eyre",
"hash-db",
"hashbrown 0.12.3",
"hashbrown 0.13.1",
"plain_hasher",
"reth-consensus",
"reth-interfaces",
@ -3535,14 +3555,14 @@ dependencies = [
[[package]]
name = "revm"
version = "2.3.0"
version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3d296f0199135e573ba817ed0024d0d4eafa7add1c9a8dd08488c3515598156"
checksum = "73d84c8f9836efb0f5f5f8de4700a953c4e1f3119e5cfcb0aad8e5be73daf991"
dependencies = [
"arrayref",
"auto_impl",
"bytes",
"hashbrown 0.12.3",
"hashbrown 0.13.1",
"num_enum",
"primitive-types",
"revm_precompiles",
@ -3552,12 +3572,12 @@ dependencies = [
[[package]]
name = "revm_precompiles"
version = "1.1.1"
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00e68901326fe20437526cb6d64a2898d2976383b7d222329dfce1717902da50"
checksum = "0353d456ef3e989dc9190f42c6020f09bc2025930c37895826029304413204b5"
dependencies = [
"bytes",
"hashbrown 0.12.3",
"hashbrown 0.13.1",
"num",
"once_cell",
"primitive-types",

View File

@ -12,7 +12,7 @@ auto_impl = "1"
bytes = { version = "1", default-features = false }
ethnum = { version = "1", default-features = false, optional = true }
smol_str = { version = "0.1", default-features = false, optional = true }
ethereum-types = { version = "0.13", features = ["codec"], optional = true }
ethereum-types = { version = "0.14", features = ["codec"], optional = true }
reth-rlp-derive = { version = "0.1", path = "../rlp-derive", optional = true }
[dev-dependencies]

View File

@ -13,9 +13,9 @@ reth-interfaces = { path = "../interfaces" }
reth-rlp = { path = "../common/rlp" }
reth-consensus = { path = "../consensus" }
revm = "2.2"
revm = "2.3"
# remove from reth and reexport from revm
hashbrown = "0.12"
hashbrown = "0.13"
# common
async-trait = "0.1.57"

View File

@ -124,7 +124,7 @@ impl Discv4 {
) -> io::Result<Self> {
let (discv4, service) = Self::bind(local_address, local_enr, secret_key, config).await?;
let _ = service.spawn();
service.spawn();
Ok(discv4)
}

View File

@ -20,7 +20,7 @@ reth-codecs = { version = "0.1.0", path = "../codecs" }
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
parity-scale-codec = { version = "3.2.1", features = ["derive", "bytes"] }
tiny-keccak = { version = "2.0", features = ["keccak"] }
ethbloom = { version = "0.12", features = ["codec"] }
ethbloom = { version = "0.13", features = ["codec"] }
# crypto
secp256k1 = { version = "0.24.0", default-features = false, features = [