Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Commit a54ce42

Browse files
committed
test: add 7702 e2e test
1 parent f8904ec commit a54ce42

File tree

7 files changed

+247
-199
lines changed

7 files changed

+247
-199
lines changed

Cargo.lock

Lines changed: 43 additions & 167 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,16 @@ strip = false
5757
alphanet-node = { path = "crates/node" }
5858
alphanet-precompile = { path = "crates/precompile" }
5959

60-
alloy = { version = "0.3", features = [
61-
"contract",
62-
"providers",
63-
"provider-http",
64-
"signers",
65-
] }
66-
alloy-network = { version = "0.3" }
67-
alloy-signer-local = { version = "0.3", features = ["mnemonic"] }
68-
6960
# tokio
7061
tokio = { version = "1.21", default-features = false }
7162

7263
# reth
73-
reth = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7" }
7464
reth-chainspec = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7", features = [
7565
"optimism",
7666
] }
7767
reth-cli = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7" }
7868
reth-cli-util = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7" }
69+
reth-e2e-test-utils = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7" }
7970
reth-node-api = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7" }
8071
reth-node-builder = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7" }
8172
reth-node-core = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7", features = [
@@ -104,6 +95,7 @@ reth-tracing = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7"
10495
reth-transaction-pool = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.7" }
10596

10697
# misc
98+
alloy-eips = "0.3"
10799
clap = "4"
108100
eyre = "0.6.12"
109101
tracing = "0.1.0"

crates/node/src/chainspec.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,9 @@ pub static ALPHANET_FORKS: Lazy<ChainHardforks> = Lazy::new(|| {
4141
/// Alphanet dev testnet specification.
4242
pub static ALPHANET_DEV: Lazy<Arc<ChainSpec>> = Lazy::new(|| {
4343
ChainSpec {
44-
chain: Chain::dev(),
45-
genesis: serde_json::from_str(include_str!("../../../etc/alphanet-genesis.json"))
44+
chain: Chain::from_named(NamedChain::Alphanet),
45+
genesis: serde_json::from_str(include_str!("../../../etc/dev-genesis.json"))
4646
.expect("Can't deserialize alphanet genesis json"),
47-
genesis_hash: once_cell_set(b256!(
48-
"2f980576711e3617a5e4d83dd539548ec0f7792007d505a3d2e9674833af2d7c"
49-
)),
5047
paris_block_and_final_difficulty: Some((0, U256::from(0))),
5148
hardforks: ALPHANET_FORKS.clone(),
5249
base_fee_params: BaseFeeParamsKind::Constant(BaseFeeParams::ethereum()),

0 commit comments

Comments
 (0)