diff --git a/crates/l2/prover/bench/src/rpc.rs b/crates/l2/prover/bench/src/rpc.rs index 7bed4f97d..0cd6aa8b2 100644 --- a/crates/l2/prover/bench/src/rpc.rs +++ b/crates/l2/prover/bench/src/rpc.rs @@ -121,7 +121,7 @@ mod test { #[ignore = "needs to manually set rpc url in constant"] #[tokio::test] async fn get_block_works() { - get_block(RPC_URL, BLOCK_NUMBER).await.unwrap(); + get_block(RPC_URL, &BLOCK_NUMBER).await.unwrap(); } #[ignore = "needs to manually set rpc url in constant"] @@ -129,8 +129,8 @@ mod test { async fn get_account_works() { get_account( RPC_URL, - BLOCK_NUMBER, - Address::from_slice(&hex::decode(VITALIK_ADDR).unwrap()), + &BLOCK_NUMBER, + &Address::from_slice(&hex::decode(VITALIK_ADDR).unwrap()), ) .await .unwrap();