Skip to content

Commit

Permalink
Use OpPrimitives in test
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Nov 19, 2024
1 parent c93fb43 commit 4f58318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/optimism/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,8 @@ mod tests {

// Create a Chain object with a BTreeMap of blocks mapped to their block numbers,
// including block1_hash and block2_hash, and the execution_outcome
let chain: Chain = Chain::new([block1, block2], execution_outcome.clone(), None);
let chain: Chain<OpPrimitives> =
Chain::new([block1, block2], execution_outcome.clone(), None);

// Assert that the proper receipt vector is returned for block1_hash
assert_eq!(chain.receipts_by_block_hash(block1_hash), Some(vec![&receipt1]));
Expand Down

0 comments on commit 4f58318

Please sign in to comment.