Commit 244bc34e authored by Alex Beregszaszi's avatar Alex Beregszaszi

Place the opcodes table after the runtime bytecode

parent e190996d
......@@ -132,10 +132,6 @@ module.exports = {
var details = $('<div style="display: none;"/>')
.append(this.tableRow('Solidity Interface', contract.solidity_interface));
if (contract.opcodes !== '') {
details.append(this.tableRow('Opcodes', contract.opcodes));
}
var funHashes = '';
for (var fun in contract.functionHashes) {
funHashes += contract.functionHashes[fun] + ' ' + fun + '\n';
......@@ -151,6 +147,10 @@ module.exports = {
details.append(this.tableRow('Runtime Bytecode', contract.runtimeBytecode));
}
if (contract.opcodes !== '') {
details.append(this.tableRow('Opcodes', contract.opcodes));
}
if (contract.assembly !== null) {
details.append(this.preRow('Assembly', this.formatAssemblyText(contract.assembly, '', source)));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment