feat: use alloy genesis now (#6135)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Supernovahs.eth
2024-01-20 15:38:32 +05:30
committed by GitHub
parent 51b40a029d
commit bf3264b257
16 changed files with 287 additions and 1491 deletions

View File

@ -45,6 +45,7 @@ cfg-if = "1.0.0"
[dev-dependencies]
# reth
reth-payload-builder = { workspace = true, features = ["test-utils"] }
reth-primitives = { workspace = true, features = ["test-utils"] }
reth-interfaces = { workspace = true, features = ["test-utils"] }
reth-stages = { workspace = true, features = ["test-utils"] }
reth-blockchain-tree = { workspace = true, features = ["test-utils"] }

View File

@ -2346,7 +2346,10 @@ mod tests {
mod new_payload {
use super::*;
use reth_interfaces::test_utils::{generators, generators::random_block};
use reth_primitives::{Genesis, GenesisAllocator, Hardfork, U256};
use reth_primitives::{
genesis::{Genesis, GenesisAllocator},
Hardfork, U256,
};
use reth_provider::test_utils::blocks::BlockChainTestData;
#[tokio::test]