Simplified display of create/create2 traces

This commit is contained in:
Willian Mitsuda 2021-11-19 17:26:57 -03:00
parent 8bfe34850d
commit a985830c74
1 changed files with 22 additions and 22 deletions

View File

@ -55,8 +55,6 @@ const TraceInput: React.FC<TraceInputProps> = ({
<> <>
<span>.</span> <span>.</span>
<FunctionSignature callType={t.type} sig={sigText} /> <FunctionSignature callType={t.type} sig={sigText} />
</>
)}
{t.value && !t.value.isZero() && ( {t.value && !t.value.isZero() && (
<span className="text-red-700 whitespace-nowrap"> <span className="text-red-700 whitespace-nowrap">
{"{"}value: <FormattedBalance value={t.value} /> ETH{"}"} {"{"}value: <FormattedBalance value={t.value} /> ETH{"}"}
@ -79,6 +77,8 @@ const TraceInput: React.FC<TraceInputProps> = ({
)} )}
{(!hasParams || !expanded) && <>)</>} {(!hasParams || !expanded) && <>)</>}
</span> </span>
</>
)}
</div> </div>
{hasParams && expanded && ( {hasParams && expanded && (
<> <>