Dont try to parse method selector for create/create2 traces
This commit is contained in:
parent
26600afdb6
commit
8bfe34850d
|
@ -51,8 +51,12 @@ const TraceInput: React.FC<TraceInputProps> = ({
|
||||||
resolvedAddresses={resolvedAddresses}
|
resolvedAddresses={resolvedAddresses}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
|
{t.type !== "CREATE" && t.type !== "CREATE2" && (
|
||||||
|
<>
|
||||||
<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{"}"}
|
||||||
|
|
Loading…
Reference in New Issue