Skip to content

Commit

Permalink
Remove duplicated tx hashes while indexing OP batches (blockscout#9652)
Browse files Browse the repository at this point in the history
* Remove duplicated tx hashes while indexing OP batches

* Update changelog

* Update changelog

---------

Co-authored-by: POA <[email protected]>
  • Loading branch information
2 people authored and gabmontes committed May 21, 2024
1 parent b34f463 commit 25d627b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

### Fixes

- [#9652](https://github.com/blockscout/blockscout/pull/9652) - Remove duplicated tx hashes while indexing OP batches
- [#9646](https://github.com/blockscout/blockscout/pull/9646) - Hotfix for Optimism Ecotone batch blobs indexing
- [#9640](https://github.com/blockscout/blockscout/pull/9640) - Fix no function clause matching in `BENS.item_to_address_hash_strings/1`
- [#9638](https://github.com/blockscout/blockscout/pull/9638) - Do not broadcast coin balance changes with empty value/delta
Expand Down
2 changes: 1 addition & 1 deletion apps/indexer/lib/indexer/fetcher/optimism/txn_batch.ex
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ defmodule Indexer.Fetcher.Optimism.TxnBatch do

seq = %{
id: frame_sequence_id,
l1_transaction_hashes: Enum.reverse(l1_transaction_hashes),
l1_transaction_hashes: Enum.uniq(Enum.reverse(l1_transaction_hashes)),
l1_timestamp: channel.l1_timestamp
}

Expand Down

0 comments on commit 25d627b

Please sign in to comment.