Skip to content

Commit

Permalink
fix unit test faile
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehao committed Jan 16, 2025
1 parent 5e505f2 commit 2cfea98
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions crates/scroll/alloy/consensus/src/transaction/tx_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,13 @@ mod tests {

#[test]
fn test_all_tx_types() {
assert_eq!(ScrollTxType::ALL.len(), 2);
let all = vec![ScrollTxType::Legacy, ScrollTxType::L1Message];
assert_eq!(ScrollTxType::ALL.len(), 4);
let all = vec![
ScrollTxType::Legacy,
ScrollTxType::Eip1559,
ScrollTxType::Eip2930,
ScrollTxType::L1Message,
];
assert_eq!(ScrollTxType::ALL.to_vec(), all);
}

Expand Down

0 comments on commit 2cfea98

Please sign in to comment.