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}
|
||||
/>
|
||||
</span>
|
||||
<span>.</span>
|
||||
<FunctionSignature callType={t.type} sig={sigText} />
|
||||
{t.type !== "CREATE" && t.type !== "CREATE2" && (
|
||||
<>
|
||||
<span>.</span>
|
||||
<FunctionSignature callType={t.type} sig={sigText} />
|
||||
</>
|
||||
)}
|
||||
{t.value && !t.value.isZero() && (
|
||||
<span className="text-red-700 whitespace-nowrap">
|
||||
{"{"}value: <FormattedBalance value={t.value} /> ETH{"}"}
|
||||
|
Loading…
Reference in New Issue
Block a user