fix: add link references to compiled object
This commit is contained in:
parent
0fdea9d20c
commit
ff07bb6b56
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue