@@ -13,7 +13,7 @@ use signet_constants::SignetSystemConstants;
1313use signet_sim:: { HostEnv , RollupEnv } ;
1414use tokio:: { sync:: watch, task:: JoinHandle } ;
1515use tokio_stream:: StreamExt ;
16- use tracing:: { Instrument , Span , debug , info_span} ;
16+ use tracing:: { Instrument , Span , info_span} ;
1717use trevm:: revm:: {
1818 context:: BlockEnv ,
1919 context_interface:: block:: BlobExcessGasAndPrice ,
@@ -209,7 +209,7 @@ impl EnvTask {
209209 /// Construct a [`BlockEnv`] by the previous host header.
210210 fn construct_host_env ( & self , previous : Header ) -> Environment {
211211 let env = BlockEnv {
212- number : U256 :: from ( previous. number ) ,
212+ number : U256 :: from ( previous. number + 1 ) ,
213213 beneficiary : self . config . builder_rewards_address ,
214214 // NB: EXACTLY the same as the previous block
215215 timestamp : U256 :: from ( previous. timestamp + self . config . slot_calculator . slot_duration ( ) ) ,
@@ -288,8 +288,6 @@ impl EnvTask {
288288 let rollup_env = self . construct_rollup_env ( rollup_header. into ( ) ) ;
289289 let host_env = self . construct_host_env ( host_header) ;
290290
291- debug ! ( host_env_block_number = ?host_env. block_env( ) . number, %host_block_number, "host block number comparisons" ) ;
292-
293291 span_debug ! (
294292 span,
295293 rollup_env_number = rollup_env. block_env. number. to:: <u64 >( ) ,
0 commit comments