diff --git a/crates/vm/levm/src/opcode_handlers/logging.rs b/crates/vm/levm/src/opcode_handlers/logging.rs index 9ba7e2504..ed6df2552 100644 --- a/crates/vm/levm/src/opcode_handlers/logging.rs +++ b/crates/vm/levm/src/opcode_handlers/logging.rs @@ -49,7 +49,7 @@ impl VM { )?; let log = Log { - address: current_call_frame.msg_sender, // Should change the addr if we are on a Call/Create transaction (Call should be the contract we are calling, Create should be the original caller) + address: current_call_frame.to, topics, data: Bytes::from( memory::load_range(&mut current_call_frame.memory, offset, size)?.to_vec(),