From a8e5ae27dce6b97842d3d63411c66768dc3112b2 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 10 Sep 2024 01:57:35 +0200 Subject: [PATCH] test: dont use fork test (#1263) --- crates/node-bindings/src/nodes/anvil.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/node-bindings/src/nodes/anvil.rs b/crates/node-bindings/src/nodes/anvil.rs index 0572cf0fdd1..7fbdf1f4c30 100644 --- a/crates/node-bindings/src/nodes/anvil.rs +++ b/crates/node-bindings/src/nodes/anvil.rs @@ -408,8 +408,9 @@ mod tests { #[test] fn assert_chain_id() { - let anvil = Anvil::new().fork("https://eth.llamarpc.com ").spawn(); - assert_eq!(anvil.chain_id(), 1); + let id = 99999; + let anvil = Anvil::new().chain_id(id).spawn(); + assert_eq!(anvil.chain_id(), id); } #[test]