File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
primitives/src/transaction Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,4 +60,4 @@ optimism = [
6060 " reth-execution-types/optimism" ,
6161 " reth-optimism-consensus/optimism"
6262]
63- scroll = []
63+ scroll = []
Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ impl Transaction {
425425 /// Returns true if the transaction is a Scroll L1 messaging transaction.
426426 #[ cfg( all( feature = "scroll" , not( feature = "optimism" ) ) ) ]
427427 #[ inline]
428- pub fn is_l1_messaging ( & self ) -> bool {
428+ pub fn is_l1_message ( & self ) -> bool {
429429 matches ! ( self , Self :: L1Message ( _) )
430430 }
431431
@@ -1741,7 +1741,7 @@ impl<'a> arbitrary::Arbitrary<'a> for TransactionSigned {
17411741 let signature = if transaction. is_deposit ( ) { TxDeposit :: signature ( ) } else { signature } ;
17421742 #[ cfg( all( feature = "scroll" , not( feature = "optimism" ) ) ) ]
17431743 let signature =
1744- if transaction. is_l1_messaging ( ) { TxL1Message :: signature ( ) } else { signature } ;
1744+ if transaction. is_l1_message ( ) { TxL1Message :: signature ( ) } else { signature } ;
17451745
17461746 Ok ( Self :: new_unhashed ( transaction, signature) )
17471747 }
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ use serde::{Deserialize, Serialize};
1111#[ cfg( any( test, feature = "reth-codec" ) ) ]
1212use { reth_codecs:: Compact , reth_codecs_derive:: add_arbitrary_tests} ;
1313
14- /// L1 message transaction type id.
15- pub const L1_MESSAGE_TRANSACTION_TYPE : u8 = 0x7E ;
14+ /// L1 message transaction type id, 0x7e in hex .
15+ pub const L1_MESSAGE_TRANSACTION_TYPE : u8 = 126 ;
1616
1717/// A message transaction sent from the settlement layer to the L2 for execution.
1818///
You can’t perform that action at this time.
0 commit comments