CalldataForwardingMode

Git Source

The way to forward the calldata:

  • Use the current heap (i.e. the same as on EVM).
  • Use the auxiliary heap.
  • Forward via a pointer

Note, that currently, users do not have access to the auxiliary heap and so the only type of forwarding that will be used by the users are UseHeap and ForwardFatPointer for forwarding a slice of the current calldata to the next call.

enum CalldataForwardingMode {
  UseHeap,
  ForwardFatPointer,
  UseAuxHeap
}