fix: add link references to compiled object

This commit is contained in:
Jonathan Rainville 2019-01-21 11:03:39 -05:00
parent 0fdea9d20c
commit ff07bb6b56
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ function compileSolc(embark, contractFiles, contractDirectories, callback) {
compiledObject[className] = {};
compiledObject[className].code = contract.evm.bytecode.object;
compiledObject[className].linkReferences = contract.evm.bytecode.linkReferences;
compiledObject[className].runtimeBytecode = contract.evm.deployedBytecode.object;
compiledObject[className].realRuntimeBytecode = contract.evm.deployedBytecode.object.slice(0, -68);
compiledObject[className].swarmHash = contract.evm.deployedBytecode.object.slice(-68).slice(0, 64);