fix: Return `l1_tx_hashes` in the response of /batches/da/celestia/... API endpoint (#11184)

pull/11187/head
Victor Baranov 1 week ago committed by GitHub
parent 3d627c5b76
commit 489995971b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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 # todo: keep next line for compatibility with frontend and remove when new frontend is bound to `transaction_count` property
"tx_count" => transaction_count, "tx_count" => transaction_count,
"l1_transaction_hashes" => batch.l1_transaction_hashes, "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 "batch_data_container" => batch_data_container
} }

Loading…
Cancel
Save