mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-01 18:44:58 -05:00
test: flaky tx type test (#9542)
This commit is contained in:
@@ -316,8 +316,7 @@ mod tests {
|
||||
assert_eq!(tx_type, TxType::Eip7702);
|
||||
|
||||
// Test random byte not in range
|
||||
let buf = [rand::thread_rng().gen_range(4..=u8::MAX)];
|
||||
println!("{buf:?}");
|
||||
let buf = [rand::thread_rng().gen_range(5..=u8::MAX)];
|
||||
assert!(TxType::decode(&mut &buf[..]).is_err());
|
||||
|
||||
// Test for Deposit transaction
|
||||
|
||||
Reference in New Issue
Block a user