Skip to content

Commit

Permalink
test: dont use fork test (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Sep 9, 2024
1 parent 1e9f45a commit a8e5ae2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/node-bindings/src/nodes/anvil.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a8e5ae2

Please sign in to comment.