|
|
|
@ -74,7 +74,10 @@ export const DebuggerApiMixin = (Base) => class extends Base { |
|
|
|
|
const targetAddress = target || receipt.contractAddress || receipt.to |
|
|
|
|
const codeAtAddress = await this._web3.eth.getCode(targetAddress) |
|
|
|
|
const output = await this.call('fetchAndCompile', 'resolve', targetAddress, codeAtAddress, 'browser/.debug') |
|
|
|
|
return new CompilerAbstract(output.languageversion, output.data, output.source) |
|
|
|
|
if (output) { |
|
|
|
|
return new CompilerAbstract(output.languageversion, output.data, output.source) |
|
|
|
|
} |
|
|
|
|
return null |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
async getDebugWeb3 () { |
|
|
|
|