File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ var linker = require ( './linker.js' ) ;
2
+
1
3
/// Translate old style version numbers to semver.
2
4
/// Old style: 0.3.6-3fc68da5/Release-Emscripten/clang
3
5
/// 0.3.5-371690f0/Release-Emscripten/clang/Interpreter
@@ -110,11 +112,13 @@ function translateJsonCompilerOutput (output) {
110
112
'bytecode' : {
111
113
'object' : contractInput [ 'bytecode' ] ,
112
114
'opcodes' : contractInput [ 'opcodes' ] ,
113
- 'sourceMap' : contractInput [ 'srcmap' ]
115
+ 'sourceMap' : contractInput [ 'srcmap' ] ,
116
+ 'linkReferences' : linker . findLinkReferences ( contractInput [ 'bytecode' ] )
114
117
} ,
115
118
'deployedBytecode' : {
116
119
'object' : contractInput [ 'runtimeBytecode' ] ,
117
- 'sourceMap' : contractInput [ 'srcmapRuntime' ]
120
+ 'sourceMap' : contractInput [ 'srcmapRuntime' ] ,
121
+ 'linkReferences' : linker . findLinkReferences ( contractInput [ 'runtimeBytecode' ] )
118
122
} ,
119
123
'methodIdentifiers' : contractInput [ 'functionHashes' ] ,
120
124
'gasEstimates' : translatedGasEstimates
You can’t perform that action at this time.
0 commit comments