Fix execution engine integration tests with latest geth version (#6996)

https://github.com/sigp/lighthouse/issues/6937


  - Use `ethers-rs` [`Signer`](https://www.gakonst.com/ethers-rs/middleware/signer.html) middleware for local signing and sending raw txs to geth
- ~~Set `totalDifficulty = 0` through `serde` default if the block does not contain a `totalDifficulty` field~~
This commit is contained in:
EllipticPoint
2025-04-12 19:03:50 +10:00
committed by GitHub
parent be68dd24d0
commit 08882c64ca
6 changed files with 461 additions and 62 deletions

View File

@@ -32,12 +32,12 @@ fn main() {
fn test_geth() {
let test_dir = build_utils::prepare_dir();
geth::build(&test_dir);
TestRig::new(GethEngine).perform_tests_blocking();
TestRig::new(GethEngine, true).perform_tests_blocking();
geth::clean(&test_dir);
}
fn test_nethermind() {
let test_dir = build_utils::prepare_dir();
nethermind::build(&test_dir);
TestRig::new(NethermindEngine).perform_tests_blocking();
TestRig::new(NethermindEngine, false).perform_tests_blocking();
}