From 489995971b7992449e302deb534c527a3c61ce98 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Tue, 12 Nov 2024 17:56:48 +0700 Subject: [PATCH] fix: Return `l1_tx_hashes` in the response of /batches/da/celestia/... API endpoint (#11184) --- apps/explorer/lib/explorer/chain/optimism/frame_sequence.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/explorer/lib/explorer/chain/optimism/frame_sequence.ex b/apps/explorer/lib/explorer/chain/optimism/frame_sequence.ex index d78646c5a1..66dbe4cd0d 100644 --- a/apps/explorer/lib/explorer/chain/optimism/frame_sequence.ex +++ b/apps/explorer/lib/explorer/chain/optimism/frame_sequence.ex @@ -119,6 +119,8 @@ defmodule Explorer.Chain.Optimism.FrameSequence do # todo: keep next line for compatibility with frontend and remove when new frontend is bound to `transaction_count` property "tx_count" => transaction_count, "l1_transaction_hashes" => batch.l1_transaction_hashes, + # todo: keep next line for compatibility with frontend and remove when new frontend is bound to `l1_transaction_hashes` property + "l1_tx_hashes" => batch.l1_transaction_hashes, "batch_data_container" => batch_data_container }