@@ -3,7 +3,7 @@ use super::oauth::Authenticator;
33use super :: tx_poller:: TxPoller ;
44use crate :: config:: { BuilderConfig , WalletlessProvider } ;
55use alloy:: {
6- consensus:: { SidecarBuilder , SidecarCoder , TxEnvelope } ,
6+ consensus:: { SidecarBuilder , SidecarCoder , transaction :: TxEnvelope } ,
77 eips:: eip2718:: Decodable2718 ,
88 primitives:: { B256 , Bytes , keccak256} ,
99 providers:: Provider as _,
@@ -13,7 +13,8 @@ use std::time::{SystemTime, UNIX_EPOCH};
1313use std:: { sync:: OnceLock , time:: Duration } ;
1414use tokio:: { sync:: mpsc, task:: JoinHandle } ;
1515use tracing:: { Instrument , debug, error, info, trace} ;
16- use zenith_types:: { Alloy2718Coder , ZenithEthBundle , encode_txns} ;
16+ use signet_zenith:: { Alloy2718Coder , encode_txns} ;
17+ use signet_bundle:: SignetEthBundle ;
1718
1819/// Ethereum's slot time in seconds.
1920pub const ETHEREUM_SLOT_TIME : u64 = 12 ;
@@ -183,7 +184,7 @@ impl BlockBuilder {
183184 }
184185
185186 /// Simulates a Zenith bundle against the rollup state
186- async fn simulate_bundle ( & mut self , bundle : & ZenithEthBundle ) -> eyre:: Result < ( ) > {
187+ async fn simulate_bundle ( & mut self , bundle : & SignetEthBundle ) -> eyre:: Result < ( ) > {
187188 // TODO: Simulate bundles with the Simulation Engine
188189 // [ENG-672](https://linear.app/initiates/issue/ENG-672/add-support-for-bundles)
189190 debug ! ( hash = ?bundle. bundle. bundle_hash( ) , block_number = ?bundle. block_number( ) , "bundle simulations is not implemented yet - skipping simulation" ) ;
@@ -269,7 +270,7 @@ mod tests {
269270 rpc:: types:: { TransactionRequest , mev:: EthSendBundle } ,
270271 signers:: local:: PrivateKeySigner ,
271272 } ;
272- use zenith_types :: ZenithEthBundle ;
273+ use signet_bundle :: SignetEthBundle ;
273274
274275 /// Create a mock bundle for testing with a single transaction
275276 async fn create_mock_bundle ( wallet : & EthereumWallet ) -> Bundle {
@@ -294,7 +295,7 @@ mod tests {
294295 replacement_uuid : Some ( "replacement_uuid" . to_owned ( ) ) ,
295296 } ;
296297
297- let zenith_bundle = ZenithEthBundle { bundle : eth_bundle, host_fills : None } ;
298+ let zenith_bundle = SignetEthBundle { bundle : eth_bundle, host_fills : None } ;
298299
299300 Bundle { id : "mock_bundle" . to_owned ( ) , bundle : zenith_bundle }
300301 }
0 commit comments