nl_tokens: checks to see if we have enough gas left for the memory reads and writes required by the CALLs
pl_tokens: function checkCallMemCost ( runState , callOptions , localOpts ) { // calculates the gas need for saving the output in memory subMemUsage ( runState , localOpts . outOffset , localOpts . outLength ) if ( ! callOptions . gasLimit ) { callOptions . gasLimit = <mask> BN ( runState . gasLeft ) } }