Merge pull request #3303 from poanetwork/vb-contract-twins-performance

Address contract twins feature performance
pull/3307/head
Victor Baranov 4 years ago committed by GitHub
commit 30525e5402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 2
      apps/explorer/lib/explorer/chain.ex

@ -10,6 +10,7 @@
- [#3261](https://github.com/poanetwork/blockscout/pull/3261) - Bridged tokens table
### Fixes
- [#3303](https://github.com/poanetwork/blockscout/pull/3303) - Address contract twins feature performance
- [#3295](https://github.com/poanetwork/blockscout/pull/3295) - Token instance: check if external_url is not null before trimming
- [#3291](https://github.com/poanetwork/blockscout/pull/3291) - Support unlimited number of external rewards in block
- [#3290](https://github.com/poanetwork/blockscout/pull/3290) - Eliminate protocol Jason.Encoder not implemented for... error

@ -3244,7 +3244,7 @@ defmodule Explorer.Chain do
query =
from(
address in Address,
left_join: smart_contract in SmartContract,
inner_join: smart_contract in SmartContract,
on: address.hash == smart_contract.address_hash,
where: fragment("md5(contract_code::text)") == ^contract_code_md5,
where: address.hash != ^target_address_hash,

Loading…
Cancel
Save