-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): add geth interop integration tests
* add CliqueGethBuilder and CliqueGethInstance for configuring a geth instance with Clique consensus, enabling clique block production, and funding accounts at genesis * add RethTestInstance and an associated builder which are used to configure reth and start its pipeline for tests * pull StageConfig from the reth cli - this is duplication and might be worth moving * add a test for generating clique blocks with geth, adding geth as an outbound peer from reth, and starting the reth pipeline to sync
- Loading branch information
Showing
8 changed files
with
1,200 additions
and
217 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[package] | ||
name = "reth-tests" | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/paradigmxyz/reth" | ||
readme = "README.md" | ||
description = """ | ||
Reth integration tests | ||
""" | ||
|
||
[dependencies] | ||
# reth | ||
reth-primitives = { path = "../primitives" } | ||
reth-tracing = { path = "../tracing" } | ||
reth-stages = { path = "../stages" } | ||
reth-db = { path = "../storage/db" } | ||
reth-consensus = { path = "../consensus" } | ||
reth-cli-utils = { path = "../cli/utils" } | ||
reth-interfaces = { path = "../interfaces" } | ||
reth-downloaders = { path = "../net/downloaders" } | ||
reth-network = { path = "../net/network", features = ["test-utils"] } | ||
reth-eth-wire = { path = "../net/eth-wire" } | ||
reth-executor = { path = "../executor" } | ||
reth-provider = { path = "../storage/provider"} | ||
|
||
# ethers | ||
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false } | ||
ethers-providers = { git = "https://github.com/gakonst/ethers-rs", features = ["ws"], default-features = false } | ||
ethers-signers = { git = "https://github.com/gakonst/ethers-rs", default-features = false } | ||
ethers-middleware = { git = "https://github.com/gakonst/ethers-rs", default-features = false } | ||
|
||
# enr | ||
enr = { version = "0.7.0", features = ["serde", "rust-secp256k1"] } | ||
|
||
# crypto | ||
rand = "0.8" | ||
secp256k1 = { version = "0.24", features = [ | ||
"global-context", | ||
"rand-std", | ||
"recovery", | ||
] } | ||
|
||
# errors | ||
thiserror = "1.0.37" | ||
|
||
# async/futures | ||
futures = "0.3" | ||
tokio = { version = "1", features = ["io-util", "net", "macros", "rt-multi-thread", "time"] } | ||
tokio-stream = "0.1" | ||
|
||
# tracing | ||
tracing = "0.1" | ||
|
||
# misc | ||
hex = "0.4" | ||
tempfile = "3.3" |
Oops, something went wrong.