From 0c747834efeafdefca2fa190183d4e78b3f16632 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 5 Nov 2019 16:23:11 +0300 Subject: [PATCH 1/2] fix txlist ordering issue --- apps/explorer/lib/explorer/etherscan.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/etherscan.ex b/apps/explorer/lib/explorer/etherscan.ex index 6bbeaa1d7c..71ee5794f7 100644 --- a/apps/explorer/lib/explorer/etherscan.ex +++ b/apps/explorer/lib/explorer/etherscan.ex @@ -272,7 +272,7 @@ defmodule Explorer.Etherscan do from( t in Transaction, inner_join: b in assoc(t, :block), - order_by: [{^options.order_by_direction, b.number}], + order_by: [{^options.order_by_direction, t.block_number}], limit: ^options.page_size, offset: ^offset(options), select: From 2e632fea70a278f76d77a187d2fcd072515df806 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 5 Nov 2019 16:25:36 +0300 Subject: [PATCH 2/2] add CHANGELOG entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d39c3fca5..2f8a995cff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - [#2822](https://github.com/poanetwork/blockscout/pull/2822) - Estimated address count on the main page, if cache is empty ### Fixes +- [#2837](https://github.com/poanetwork/blockscout/pull/2837) - fix txlist ordering issue - [#2830](https://github.com/poanetwork/blockscout/pull/2830) - Fix wrong color of contract icon on xDai chain - [#2829](https://github.com/poanetwork/blockscout/pull/2829) - Fix for stuck gas limit label and value - [#2828](https://github.com/poanetwork/blockscout/pull/2828) - Fix for script that clears compilation/launching assets