Call


All EVM call instructions are handled similarly.

The call type is encoded on the assembly level, so we will describe the common handling workflow, mentioning distinctions if there are any.

For more information, see the ZKsync Era documentationarrow-up-right.

CALL

Original EVMarrow-up-right instruction.

The LLVM IR generator codearrow-up-right is common for Yul and EVMLA representations.

The code checks if the call is non-static and the Ether value is non-zero. If so, the call is redirected to the MsgValueSimulatorarrow-up-right.

DELEGATECALL

Original EVMarrow-up-right instruction.

The LLVM IR generator codearrow-up-right is common for Yul and EVMLA representations.

EraVM instruction: far_callarrow-up-right

STATICCALL

Original EVMarrow-up-right instruction.

The LLVM IR generator codearrow-up-right is common for Yul and EVMLA representations.

EraVM instruction: far_callarrow-up-right

Last updated