Skip to content

Commit

Permalink
fix rpc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xqft committed Dec 2, 2024
1 parent c3bfb49 commit b135c1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/l2/prover/bench/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,16 @@ 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"]
#[tokio::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();
Expand Down

0 comments on commit b135c1b

Please sign in to comment.