Set explicit ascending order by hash in acquire transactions query of internal transactions import

pull/4872/head
Viktor Baranov 3 years ago
parent c38263a9d1
commit 1283bbb844
  1. 1
      CHANGELOG.md
  2. 2
      apps/explorer/lib/explorer/chain/import/runner/internal_transactions.ex

@ -66,6 +66,7 @@
- [#4582](https://github.com/blockscout/blockscout/pull/4582) - Fix NaN input on write contract page
### Chore
- [#4872](https://github.com/blockscout/blockscout/pull/4872) - Set explicit ascending order by hash in acquire transactions query of internal transactions import
- [#4871](https://github.com/blockscout/blockscout/pull/4871) - Remove cumulative gas used update duplicate
- [#4860](https://github.com/blockscout/blockscout/pull/4860) - Node 16 support
- [#4828](https://github.com/blockscout/blockscout/pull/4828) - Logging for txs/day chart

@ -258,7 +258,7 @@ defmodule Explorer.Chain.Import.Runner.InternalTransactions do
where: t.block_hash in ^pending_block_hashes,
select: map(t, [:hash, :block_hash, :block_number, :cumulative_gas_used]),
# Enforce Transaction ShareLocks order (see docs: sharelocks.md)
order_by: t.hash,
order_by: [asc: t.hash],
lock: "FOR UPDATE"
)

Loading…
Cancel
Save