Add color decoration to DELEGATECALL tracing

This commit is contained in:
Willian Mitsuda 2021-10-27 01:33:14 -03:00
parent 8992ea2336
commit 56df620c7c

View File

@ -39,7 +39,11 @@ const TraceItem: React.FC<TraceItemProps> = ({ t, txData, last }) => {
<span>.</span>
<span
className={`font-bold ${
t.type === "STATICCALL" ? "text-red-700" : "text-blue-900"
t.type === "STATICCALL"
? "text-red-700"
: t.type === "DELEGATECALL"
? "text-gray-400"
: "text-blue-900"
}`}
>
{fourBytesEntry ? fourBytesEntry.name : raw4Bytes}