Exclude encoding of smart_contract_additional_sources in address schema

pull/4149/head
Viktor Baranov 4 years ago
parent 45dcab4190
commit 026df3da3d
  1. 1
      CHANGELOG.md
  2. 6
      apps/explorer/lib/explorer/chain/address.ex

@ -4,6 +4,7 @@
- [#4067](https://github.com/blockscout/blockscout/pull/4067) - Display LP tokens USD value and custom metadata in tokens dropdown at address page
### Fixes
- [#4149](https://github.com/blockscout/blockscout/pull/4149) - Exclude smart_contract_additional_sources from JSON encoding in address schema
- [#4038](https://github.com/blockscout/blockscout/pull/4038) - Add clause for abi_decode_address_output/1 when is_nil(address)
- [#3989](https://github.com/blockscout/blockscout/pull/3989), [4061](https://github.com/blockscout/blockscout/pull/4061) - Fixed bug that sometimes lead to incorrect ordering of token transfers
- [#3946](https://github.com/blockscout/blockscout/pull/3946) - Get NFT metadata from URIs with status_code 301

@ -69,7 +69,8 @@ defmodule Explorer.Chain.Address do
:token,
:contracts_creation_internal_transaction,
:contracts_creation_transaction,
:names
:names,
:smart_contract_additional_sources
]}
@derive {Jason.Encoder,
@ -80,7 +81,8 @@ defmodule Explorer.Chain.Address do
:token,
:contracts_creation_internal_transaction,
:contracts_creation_transaction,
:names
:names,
:smart_contract_additional_sources
]}
@primary_key {:hash, Hash.Address, autogenerate: false}

Loading…
Cancel
Save