From 8bfe34850d6fe99d85100912c7ae09cceb58ad0c Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Fri, 19 Nov 2021 15:39:53 -0300 Subject: [PATCH] Dont try to parse method selector for create/create2 traces --- src/transaction/TraceInput.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/transaction/TraceInput.tsx b/src/transaction/TraceInput.tsx index 3e6891a..e78ba2b 100644 --- a/src/transaction/TraceInput.tsx +++ b/src/transaction/TraceInput.tsx @@ -51,8 +51,12 @@ const TraceInput: React.FC = ({ resolvedAddresses={resolvedAddresses} /> - . - + {t.type !== "CREATE" && t.type !== "CREATE2" && ( + <> + . + + + )} {t.value && !t.value.isZero() && ( {"{"}value: ETH{"}"}