fix style issues

pull/2642/head
Ayrat Badykov 5 years ago
parent b06cec0493
commit a349299c21
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      CHANGELOG.md
  2. 1
      apps/block_scout_web/lib/block_scout_web/templates/tokens/instance/metadata/index.html.eex
  3. 6
      apps/explorer/lib/explorer/chain/token_transfer.ex

@ -1,6 +1,7 @@
## Current ## Current
### Features ### Features
- [#2642](https://github.com/poanetwork/blockscout/pull/2642) - add ERC721 coin instance page
- [#2679](https://github.com/poanetwork/blockscout/pull/2679) - added fixed height for card chain blocks and card chain transactions - [#2679](https://github.com/poanetwork/blockscout/pull/2679) - added fixed height for card chain blocks and card chain transactions
- [#2678](https://github.com/poanetwork/blockscout/pull/2678) - fixed dashboard banner height bug - [#2678](https://github.com/poanetwork/blockscout/pull/2678) - fixed dashboard banner height bug
- [#2672](https://github.com/poanetwork/blockscout/pull/2672) - added new theme for xUSDT - [#2672](https://github.com/poanetwork/blockscout/pull/2672) - added new theme for xUSDT
@ -8,7 +9,6 @@
- [#2666](https://github.com/poanetwork/blockscout/pull/2666) - fetch token counters in parallel - [#2666](https://github.com/poanetwork/blockscout/pull/2666) - fetch token counters in parallel
- [#2665](https://github.com/poanetwork/blockscout/pull/2665) - new menu layout for mobile devices - [#2665](https://github.com/poanetwork/blockscout/pull/2665) - new menu layout for mobile devices
- [#2663](https://github.com/poanetwork/blockscout/pull/2663) - Fetch address counters in parallel - [#2663](https://github.com/poanetwork/blockscout/pull/2663) - Fetch address counters in parallel
- [#2642](https://github.com/poanetwork/blockscout/pull/2642) - add ERC721 coin instance page
### Fixes ### Fixes
- [#2707](https://github.com/poanetwork/blockscout/pull/2707) - fix for dashboard banner chart legend items - [#2707](https://github.com/poanetwork/blockscout/pull/2707) - fix for dashboard banner chart legend items

@ -23,7 +23,6 @@
<div class="tile tile-muted mb-4"> <div class="tile tile-muted mb-4">
<pre class="pre-wrap pre-scrollable"><code class="nohighlight"><%= format_metadata(@token_instance.instance.metadata) %></code> <pre class="pre-wrap pre-scrollable"><code class="nohighlight"><%= format_metadata(@token_instance.instance.metadata) %></code>
</pre> </pre>
</div>
</div> </div>
</section> </section>
</div> </div>

@ -155,9 +155,9 @@ defmodule Explorer.Chain.TokenTransfer do
query = query =
from( from(
tt in TokenTransfer, tt in TokenTransfer,
where: where: tt.token_contract_address_hash == ^token_address_hash,
tt.token_contract_address_hash == ^token_address_hash and tt.token_id == ^token_id and where: tt.token_id == ^token_id,
not is_nil(tt.block_number), where: not is_nil(tt.block_number),
preload: [{:transaction, :block}, :token, :from_address, :to_address], preload: [{:transaction, :block}, :token, :from_address, :to_address],
order_by: [desc: tt.block_number, desc: tt.log_index] order_by: [desc: tt.block_number, desc: tt.log_index]
) )

Loading…
Cancel
Save