From 171fefbda12df5bf313bae1dbd5851c366a38324 Mon Sep 17 00:00:00 2001 From: Aakil Fernandes Date: Fri, 16 Oct 2015 13:07:28 -0400 Subject: [PATCH] expose runtimeBytecode --- lib/compiler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compiler.js b/lib/compiler.js index 6c2866df..d843a5a4 100644 --- a/lib/compiler.js +++ b/lib/compiler.js @@ -36,6 +36,7 @@ Compiler.prototype.compile_solidity = function(contractFiles) { compiled_object[className] = {}; compiled_object[className].code = contract.bytecode; + compiled_object[className].runtimeBytecode = contract.runtimeBytecode; compiled_object[className].info = {}; compiled_object[className].info.abiDefinition = JSON.parse(contract.interface); }