Skip to content

Commit 0fcfd42

Browse files
committed
docs: clarify why slot_num is hardcoded to 0 in BlockEnv
1 parent 8dbca52 commit 0fcfd42

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/node/src/executor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ where
171171
gas_limit: header.gas_limit,
172172
basefee: header.base_fee_per_gas.unwrap_or_default(),
173173
blob_excess_gas_and_price,
174-
slot_num: 0,
174+
slot_num: 0, // EL client — CL slot tracking not applicable
175175
};
176176

177177
Ok(EvmEnv { cfg_env, block_env })
@@ -248,7 +248,7 @@ where
248248
gas_limit,
249249
basefee: basefee.unwrap_or_default(),
250250
blob_excess_gas_and_price,
251-
slot_num: 0,
251+
slot_num: 0, // EL client — CL slot tracking not applicable
252252
};
253253

254254
Ok(EvmEnv {
@@ -354,7 +354,7 @@ where
354354
gas_limit: payload.payload.gas_limit(),
355355
basefee: payload.payload.saturated_base_fee_per_gas(),
356356
blob_excess_gas_and_price,
357-
slot_num: 0,
357+
slot_num: 0, // EL client — CL slot tracking not applicable
358358
};
359359

360360
Ok(EvmEnv { cfg_env, block_env })

0 commit comments

Comments
 (0)