mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm 1 usage of optimism feature (#11813)
This commit is contained in:
@ -15,8 +15,6 @@ mod tests {
|
||||
// this check is to ensure we do not inadvertently add too many fields to a struct which would
|
||||
// expand the flags field and break backwards compatibility
|
||||
|
||||
#[cfg(feature = "optimism")]
|
||||
use crate::alloy::transaction::optimism::TxDeposit;
|
||||
use crate::alloy::transaction::{
|
||||
eip1559::TxEip1559, eip2930::TxEip2930, eip4844::TxEip4844, eip7702::TxEip7702,
|
||||
legacy::TxLegacy,
|
||||
@ -34,6 +32,6 @@ mod tests {
|
||||
#[cfg(feature = "optimism")]
|
||||
#[test]
|
||||
fn test_ensure_backwards_compatibility_optimism() {
|
||||
assert_eq!(TxDeposit::bitflag_encoded_bytes(), 2);
|
||||
assert_eq!(crate::alloy::transaction::optimism::TxDeposit::bitflag_encoded_bytes(), 2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user