11use super :: { sign_tx_with_key_pair, simple_send} ;
22use alloy:: {
33 consensus:: {
4- constants :: GWEI_TO_WEI , BlobTransactionSidecar , SidecarBuilder , SimpleCoder , TxEip4844 ,
4+ BlobTransactionSidecar , SidecarBuilder , SimpleCoder ,
55 TxEnvelope ,
66 } ,
77 eips:: eip2718:: Encodable2718 ,
8- primitives:: { keccak256, Address , Bytes , FixedBytes , Log , LogData , Sealable , B256 , U256 } ,
8+ primitives:: { keccak256, Address , Bytes , B256 , U256 } ,
99 rlp:: Encodable ,
10- signers:: { local:: PrivateKeySigner , Signature } ,
10+ signers:: local:: PrivateKeySigner ,
1111} ;
12- use reth:: {
13- primitives:: {
14- Block , BlockBody , Header , Receipt , RecoveredBlock , SealedBlock , SealedHeader , Transaction ,
15- TransactionSigned , TxType ,
16- } ,
17- providers:: { Chain , ExecutionOutcome } ,
18- } ;
19- use reth_exex:: ExExNotification ;
12+ use reth:: primitives:: TransactionSigned ;
2013use signet_types:: config:: SignetSystemConstants ;
21- use signet_zenith:: {
22- Passage , RollupOrders , Transactor ,
23- Zenith :: { self } ,
24- } ;
25- use std:: {
26- borrow:: Borrow ,
27- collections:: BTreeMap ,
28- sync:: {
29- atomic:: { AtomicU64 , Ordering } ,
30- Arc ,
31- } ,
32- } ;
14+ use signet_zenith:: Zenith :: { self } ;
3315
3416/// A block spec for the Ru chain.
3517#[ derive( Debug , Clone ) ]
@@ -46,13 +28,13 @@ pub struct RuBlockSpec {
4628
4729impl RuBlockSpec {
4830 /// Builder method to set the gas limit.
49- pub fn with_gas_limit ( mut self , gas_limit : u64 ) -> Self {
31+ pub const fn with_gas_limit ( mut self , gas_limit : u64 ) -> Self {
5032 self . gas_limit = Some ( gas_limit) ;
5133 self
5234 }
5335
5436 /// Builder method to set the reward address.
55- pub fn with_reward_address ( mut self , reward_address : Address ) -> Self {
37+ pub const fn with_reward_address ( mut self , reward_address : Address ) -> Self {
5638 self . reward_address = Some ( reward_address) ;
5739 self
5840 }
0 commit comments