From fbb2b962f150239384a34b71af7a46d4f0c87b50 Mon Sep 17 00:00:00 2001 From: "davidzagi93@gmail.com" Date: Wed, 18 Aug 2021 09:30:49 +0100 Subject: [PATCH] change logs array to string for test purpose --- libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx b/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx index 688ea1cf16..3c5615370a 100644 --- a/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx +++ b/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx @@ -499,7 +499,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
to: {to}
value: {value} wei
data: {input}
-
logs: {logs}
+
logs: {logs.toString()}
hash: {hash}
) @@ -512,7 +512,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
to: {to}
value: {value} wei
data: {input}
-
logs: {logs}
+
logs: {logs.toString()}
hash: {hash}
) @@ -718,7 +718,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => { const from = tx.from const to = tx.to ? tx.to : resolvedData.contractName + '.' + resolvedData.fn const obj = { from, to } - const txType = 'unknown' + (tx.isCall ? 'Call' : 'Tx') + const txType = resolvedData ? 'knownTx' : 'unknown' + (tx.isCall ? 'Call' : 'Tx') return (
txDetails(event, tx, obj)}>