feat(p2p): Include forkid file from apache licenced repo (#68)

* Start using reth-rlp
* Include apache licenced forkid file in primitives
* Move forkid to eth-wire
This commit is contained in:
rakita
2022-10-14 16:52:59 +02:00
committed by GitHub
parent 19d001fbdd
commit a644318c32
11 changed files with 963 additions and 76 deletions

View File

@ -8,16 +8,17 @@ readme = "README.md"
[dependencies]
bytes = { version = "1.1" }
# can remove these restrictions once ethereum-types is bumped across the board
fastrlp = { version = "0.1.3", features = ["alloc", "derive", "std", "ethereum-types"] }
ethereum-forkid = "=0.10"
hex = "0.4"
thiserror = "1"
# reth
reth-primitives = { path = "../../primitives" }
reth-rlp = { path = "../../common/rlp", features = ["alloc", "derive", "std", "ethereum-types"] }
#used for forkid
crc = "1"
maplit = "1"
[dev-dependencies]
hex-literal = "0.3"
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false }