Skip to content

Commit

Permalink
fix(eof): ExtDelegateCall caller/target switch (bluealloy#1571)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita authored Jun 27, 2024
1 parent 7d6888b commit 27b67a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/interpreter/src/instructions/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ pub fn extdelegatecall<H: Host + ?Sized, SPEC: Spec>(interpreter: &mut Interpret
inputs: Box::new(CallInputs {
input,
gas_limit,
target_address,
caller: interpreter.contract.target_address,
target_address: interpreter.contract.target_address,
caller: interpreter.contract.caller,
bytecode_address: target_address,
value: CallValue::Apparent(interpreter.contract.call_value),
// TODO(EOF) should be EofDelegateCall?
Expand Down

0 comments on commit 27b67a0

Please sign in to comment.