pull/5370/head
davidzagi93@gmail.com 3 years ago
parent 3d0b2e4609
commit 6928a0b5bd
  1. 4
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx

@ -614,7 +614,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
<div className='txItem'><span className='txItemTitle'>value:</span> {value} wei</div> <div className='txItem'><span className='txItemTitle'>value:</span> {value} wei</div>
<div className='txItem'><span className='txItemTitle'>data:</span> {input}</div> <div className='txItem'><span className='txItemTitle'>data:</span> {input}</div>
<div className='txItem'><span className='txItemTitle'>logs:</span> {logs}</div> <div className='txItem'><span className='txItemTitle'>logs:</span> {logs}</div>
<div className='txItem'><span className='txItemTitle'>hash:</span> {hash}</div> */} <div className='txItem'><span className='txItemTitle'>hash:</span> {hash}</div>
</span> </span>
</div>) </div>)
} else if (blockchain.getProvider() !== 'vm' && data.resolvedData) { } else if (blockchain.getProvider() !== 'vm' && data.resolvedData) {
@ -1293,6 +1293,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
{/* onClick={e => txDetails(e, tx, data, obj)} */} {/* onClick={e => txDetails(e, tx, data, obj)} */}
{checkTxStatus(receipt || tx, txType)} {checkTxStatus(receipt || tx, txType)}
{context({ from, to, tx }, props.blockchain)} {context({ from, to, tx }, props.blockchain)}
{ console.log('under context and checkTxStatus')}
<div className='buttons'> <div className='buttons'>
<div className='debug btn btn-primary btn-sm' onClick={(event) => debug(event, tx)}>Debug</div> <div className='debug btn btn-primary btn-sm' onClick={(event) => debug(event, tx)}>Debug</div>
</div> </div>
@ -1315,6 +1316,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
transactionCost: tx.transactionCost, transactionCost: tx.transactionCost,
executionCost: tx.executionCost executionCost: tx.executionCost
}) : null} }) : null}
{ console.log('end')}
</span> </span>
) )
} }

Loading…
Cancel
Save