@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API
@midnight-ntwrk/compact-runtime v0.7.0 / runProgram
Function: runProgram()
runProgram(
initial,
ops,
cost_model,
gas_limit?): VmResults
Runs a VM program against an initial stack, with an optional gas limit
Parameters
• initial: VmStack
• ops: Op
<null
>[]
• cost_model: CostModel
• gas_limit?: bigint