Solved Undeclared EVM Logs aren't shown in receipt UI #4929

pull/4980/head
shubhiscoding 5 months ago committed by yann300
parent 52e70ebcc9
commit 52fa497c48
  1. 4
      libs/remix-ui/terminal/src/lib/components/Table.tsx

@ -186,9 +186,9 @@ const showTable = (opts, showTableHash) => {
<FormattedMessage id="terminal.logs" /> <FormattedMessage id="terminal.logs" />
</td> </td>
<td className="remix_ui_terminal_td" data-id={`txLoggerTableHash${opts.hash}`} data-shared={`pair_${opts.hash}`}> <td className="remix_ui_terminal_td" data-id={`txLoggerTableHash${opts.hash}`} data-shared={`pair_${opts.hash}`}>
{JSON.stringify(stringified, null, '\t')} {JSON.stringify(opts.logs.raw, null, 2)?( <pre>{JSON.stringify(opts.logs.raw || '0', null, 2)}</pre>):(JSON.stringify(stringified, null, '\t'))}
<CopyToClipboard content={JSON.stringify(stringified, null, '\t')} /> <CopyToClipboard content={JSON.stringify(stringified, null, '\t')} />
<CopyToClipboard content={JSON.stringify(opts.logs.raw || '0')} /> <CopyToClipboard content={JSON.stringify(opts.logs.raw || '0', null, 2)} />
</td> </td>
</tr> </tr>
) : null} ) : null}

Loading…
Cancel
Save