Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

EIP214: STATICCALL #4057

Merged
merged 6 commits into from
May 24, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix calldata transfer in staticcall
  • Loading branch information
winsvega authored and chfast committed May 22, 2017
commit 2b5f67854429999c81af1e7c577e1d54e25d9fe4
2 changes: 1 addition & 1 deletion libevm/VMCalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ bool VM::caseCallSetup(CallParameters *callParams, bytesRef& o_output)
callParams->codeAddress = asAddress(m_SP[1]);

unsigned inOutOffset = 0;
if (m_OP == Instruction::DELEGATECALL)
if (m_OP == Instruction::DELEGATECALL || m_OP == Instruction::STATICCALL)
{
callParams->apparentValue = m_ext->value;
callParams->valueTransfer = 0;
Expand Down