From f72b1c15b5ad095a9437871a2f1c1a79ecff9b7f Mon Sep 17 00:00:00 2001 From: gzeon Date: Fri, 13 Oct 2023 19:32:38 +0800 Subject: [PATCH] fix: multiple withdrawal in 1 tx --- src/app/tx/[tx]/L2ToL1MsgsDisplay.tsx | 7 +++++-- src/app/tx/[tx]/page.tsx | 4 +++- src/types.ts | 1 + src/utils/getL2ToL1Messages.ts | 13 ++++++++++--- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/app/tx/[tx]/L2ToL1MsgsDisplay.tsx b/src/app/tx/[tx]/L2ToL1MsgsDisplay.tsx index 23e4371..1cbf4ad 100644 --- a/src/app/tx/[tx]/L2ToL1MsgsDisplay.tsx +++ b/src/app/tx/[tx]/L2ToL1MsgsDisplay.tsx @@ -38,6 +38,7 @@ export type L2ToL1MessageDataLike = Pick< deadlineBlock: string; etaSeconds: number; } | null; + l2ToL1EventIndex: number; }; type Props = { l2ToL1Messages: L2ToL1MessageDataLike[]; @@ -81,7 +82,9 @@ function L2ToL1MsgsDisplay({ l2ToL1Messages }: Props) {