Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async getRuntimeProgram(app: BaseApplication): Promise {
let data = this.data;
let bytecode = await this.bytecode;
let { pool, heap: serializedHeap } = data;
let heap = { ...serializedHeap, buffer: bytecode };
return hydrateProgram({ heap, constants: pool });
}