mf-only-health-webapp
Viktor Baranov 6 months ago
parent 7f6ee61c10
commit 88394ff6fb
  1. 91
      CHANGELOG.md
  2. 2
      apps/block_scout_web/mix.exs
  3. 2
      apps/ethereum_jsonrpc/mix.exs
  4. 2
      apps/explorer/mix.exs
  5. 2
      apps/indexer/mix.exs
  6. 2
      docker-compose/docker-compose.yml
  7. 2
      docker/Makefile
  8. 2
      mix.exs
  9. 2
      rel/config.exs

@ -1,5 +1,96 @@
# Changelog # Changelog
## 6.6.0
### 🚀 Features
- Add optional retry of NFT metadata fetch in Indexer.Fetcher.Tok… ([#10036](https://github.com/blockscout/blockscout/issues/10036))
- Blueprint contracts support ([#10058](https://github.com/blockscout/blockscout/issues/10058))
- Clone with immutable arguments proxy pattern ([#10039](https://github.com/blockscout/blockscout/issues/10039))
- Improve retry NFT fetcher ([#10027](https://github.com/blockscout/blockscout/issues/10027))
- MUD API support ([#9869](https://github.com/blockscout/blockscout/issues/9869))
- Diamond proxy (EIP-2535) support ([#10034](https://github.com/blockscout/blockscout/issues/10034))
- Add user ops indexer to docker compose configs ([#10010](https://github.com/blockscout/blockscout/issues/10010))
- Save smart-contract proxy type in the DB ([#10033](https://github.com/blockscout/blockscout/issues/10033))
- Detect EIP-1967 proxy pattern on unverified smart-contracts ([#9864](https://github.com/blockscout/blockscout/issues/9864))
- Omit balanceOf requests for tokens that doesn't support it ([#10018](https://github.com/blockscout/blockscout/issues/10018))
- Precompiled contracts ABI import ([#9899](https://github.com/blockscout/blockscout/issues/9899))
- Add ENS category to search result; Add ENS to check-redirect ([#9779](https://github.com/blockscout/blockscout/issues/9779))
### 🐛 Bug Fixes
- Rework revert_reason ([#9212](https://github.com/blockscout/blockscout/issues/9212))
- Eliminate from_address_hash == #{address_hash} clause for transactions query in case of smart-contracts ([#9469](https://github.com/blockscout/blockscout/issues/9469))
- Separate indexer setup ([#10032](https://github.com/blockscout/blockscout/issues/10032))
- Disallow batched queries in GraphQL endpoint ([#10050](https://github.com/blockscout/blockscout/issues/10050))
- Vyper contracts re-verificaiton ([#10053](https://github.com/blockscout/blockscout/issues/10053))
- Fix Unknown UID bug at smart-contract verification ([#9986](https://github.com/blockscout/blockscout/issues/9986))
- Search for long integers ([#9651](https://github.com/blockscout/blockscout/issues/9651))
- Don't put error to NFT metadata ([#9940](https://github.com/blockscout/blockscout/issues/9940))
- Fix typo
- Handle DB unavailability by PolygonZkevm.TransactionBatch fetcher ([#10031](https://github.com/blockscout/blockscout/issues/10031))
- Fix WebSocketClient reconnect ([#9937](https://github.com/blockscout/blockscout/issues/9937))
- Fix incorrect image_url parsing from NFT meta ([#9956](https://github.com/blockscout/blockscout/issues/9956))
- Fix CI workflow name
### 🚜 Refactor
- Refactor get_additional_sources/4 -> get_additional_sources/3 ([#10046](https://github.com/blockscout/blockscout/issues/10046))
- Test database config ([#9662](https://github.com/blockscout/blockscout/issues/9662))
### ⚙ Miscellaneous Tasks
- Update hackney pool size: add new fetchers accounting ([#9941](https://github.com/blockscout/blockscout/issues/9941))
- Bump credo from 1.7.5 to 1.7.6 ([#10060](https://github.com/blockscout/blockscout/issues/10060))
- Bump redix from 1.5.0 to 1.5.1 ([#10059](https://github.com/blockscout/blockscout/issues/10059))
- Bump ex_doc from 0.32.1 to 0.32.2 ([#10061](https://github.com/blockscout/blockscout/issues/10061))
- Remove `has_methods` from `/addresses` ([#10051](https://github.com/blockscout/blockscout/issues/10051))
- Add support of Blast-specific L1 OP withdrawal events ([#10049](https://github.com/blockscout/blockscout/issues/10049))
- Update outdated links to ETH JSON RPC Specification in docstrings ([#10041](https://github.com/blockscout/blockscout/issues/10041))
- Migrate to GET variant of {{metadata_url}}/api/v1/metadata ([#9994](https://github.com/blockscout/blockscout/issues/9994))
- CI for Arbitrum on-demand Docker images
- Bump ex_cldr_numbers from 2.32.4 to 2.33.1 ([#9978](https://github.com/blockscout/blockscout/issues/9978))
- Bump ex_cldr from 2.38.0 to 2.38.1 ([#10009](https://github.com/blockscout/blockscout/issues/10009))
- Bump ex_cldr_units from 3.16.5 to 3.17.0 ([#9931](https://github.com/blockscout/blockscout/issues/9931))
- Bump style-loader in /apps/block_scout_web/assets ([#9995](https://github.com/blockscout/blockscout/issues/9995))
- Bump mini-css-extract-plugin in /apps/block_scout_web/assets ([#9997](https://github.com/blockscout/blockscout/issues/9997))
- Bump @babel/preset-env in /apps/block_scout_web/assets ([#9999](https://github.com/blockscout/blockscout/issues/9999))
- Bump @amplitude/analytics-browser in /apps/block_scout_web/assets ([#10001](https://github.com/blockscout/blockscout/issues/10001))
- Bump css-loader in /apps/block_scout_web/assets ([#10003](https://github.com/blockscout/blockscout/issues/10003))
- Bump sweetalert2 in /apps/block_scout_web/assets ([#9998](https://github.com/blockscout/blockscout/issues/9998))
- Bump mixpanel-browser in /apps/block_scout_web/assets ([#10000](https://github.com/blockscout/blockscout/issues/10000))
- Bump @fortawesome/fontawesome-free ([#10002](https://github.com/blockscout/blockscout/issues/10002))
- Bump @babel/core in /apps/block_scout_web/assets ([#9996](https://github.com/blockscout/blockscout/issues/9996))
- Enhance indexer memory metrics ([#9984](https://github.com/blockscout/blockscout/issues/9984))
- Bump redix from 1.4.1 to 1.5.0 ([#9977](https://github.com/blockscout/blockscout/issues/9977))
- Bump floki from 0.36.1 to 0.36.2 ([#9979](https://github.com/blockscout/blockscout/issues/9979))
- (old UI) Replace old Twitter icon with new 'X' ([#9641](https://github.com/blockscout/blockscout/issues/9641))
### New ENV Variables
| Variable | Required | Description | Default | Version | Need recompile |
| -------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ | ------- | -------------- |
| `DISABLE_API` | | If `true`, endpoint is not started. Set this if you want to use an indexer-only setup. Implemented in [#10032](https://github.com/blockscout/blockscout/pull/10032) | `false` | v6.6.0+ | |
| `INDEXER_TOKEN_INSTANCE_RETRY_MAX_REFETCH_INTERVAL` | | Maximum interval between attempts to fetch token instance metadata. [Time format](env-variables.md#time-format). Implemented in [#10027](https://github.com/blockscout/blockscout/pull/10027). | `168h` | v6.6.0+ |
| `INDEXER_TOKEN_INSTANCE_RETRY_EXPONENTIAL_TIMEOUT_BASE` | | Base to calculate exponential timeout. Implemented in [#10027](https://github.com/blockscout/blockscout/pull/10027). | `2` | v6.6.0+ |
| `INDEXER_TOKEN_INSTANCE_RETRY_EXPONENTIAL_TIMEOUT_COEFF` | | Coefficient to calculate exponential timeout. Implemented in [#10027](https://github.com/blockscout/blockscout/pull/10027). | `100` | v6.6.0+ |
| `INDEXER_TOKEN_INSTANCE_REALTIME_RETRY_ENABLED` | | If `true`, `realtime` token instance fetcher will retry once on 404 and 500 error. Implemented in [#10036](https://github.com/blockscout/blockscout/pull/10036). | `false` | v6.6.0+ |
| `INDEXER_TOKEN_INSTANCE_REALTIME_RETRY_TIMEOUT` | | Timeout for retry set by `INDEXER_TOKEN_INSTANCE_REALTIME_RETRY_ENABLED`. [Time format](env-variables.md#time-format). Implemented in [#10036](https://github.com/blockscout/blockscout/pull/10036). | `5s` | v6.6.0+ |
| `TEST_DATABASE_URL` | | Variable to define the endpoint of the Postgres Database that is used during testing. Implemented in [#9662](https://github.com/blockscout/blockscout/pull/9662). | (empty) | v6.6.0+ | |
| `TEST_DATABASE_READ_ONLY_API_URL` | | Variable to define the endpoint of the Postgres Database read-only replica that is used during testing. If it is provided, most of the read queries from API v2 and UI would go through this endpoint. Implemented in [#9662](https://github.com/blockscout/blockscout/pull/9662). | (empty) | v6.6.0+ | |
| `MUD_INDEXER_ENABLED` | | If `true`, integration with [MUD](https://mud.dev/services/indexer#schemaless-indexing-with-postgresql-via-docker) is enabled. Implemented in [#9869](https://github.com/blockscout/blockscout/pull/9869) | (empty) | v6.6.0+ | |
| `MUD_DATABASE_URL` | | MUD indexer DB connection URL. | value from `DATABASE_URL` | v6.6.0+ | |
| `MUD_POOL_SIZE` | | MUD indexer DB `pool_size` | 50 | v6.6.0+ | |
### Deprecated ENV Variables
| Variable | Required | Description | Default | Version | Need recompile | Deprecated in Version |
| ----------------------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -------- | -------------- | --------------------- |
| `INDEXER_TOKEN_INSTANCE_RETRY_REFETCH_INTERVAL` | | Interval between attempts to fetch token instance metadata. [Time format](env-variables.md#time-format). Implemented in [#7286](https://github.com/blockscout/blockscout/pull/7286). | `24h` | v5.1.4+ | | v6.6.0 |
| `INDEXER_INTERNAL_TRANSACTIONS_INDEXING_FINISHED_THRESHOLD` | | In the case when the 1st tx in the chain already has internal transactions, If the number of blocks in pending\_block\_operations is less than the value in this env var, Blockscout will consider, that indexing of internal transactions finished, otherwise, it will consider, that indexing is still taking place and the indexing banner will appear at the top. Implemented in [#7576](https://github.com/blockscout/blockscout/pull/7576). | 1000 | v5.2.0+ | | v6.6.0 |
## 6.5.0 ## 6.5.0
### 🚀 Features ### 🚀 Features

@ -23,7 +23,7 @@ defmodule BlockScoutWeb.Mixfile do
dialyzer: :test dialyzer: :test
], ],
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,
version: "6.5.0", version: "6.6.0",
xref: [ xref: [
exclude: [ exclude: [
Explorer.Chain.PolygonZkevm.Reader, Explorer.Chain.PolygonZkevm.Reader,

@ -23,7 +23,7 @@ defmodule EthereumJsonrpc.MixProject do
dialyzer: :test dialyzer: :test
], ],
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,
version: "6.5.0" version: "6.6.0"
] ]
end end

@ -24,7 +24,7 @@ defmodule Explorer.Mixfile do
dialyzer: :test dialyzer: :test
], ],
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,
version: "6.5.0", version: "6.6.0",
xref: [exclude: [BlockScoutWeb.WebRouter.Helpers, Indexer.Helper]] xref: [exclude: [BlockScoutWeb.WebRouter.Helpers, Indexer.Helper]]
] ]
end end

@ -14,7 +14,7 @@ defmodule Indexer.MixProject do
elixirc_paths: elixirc_paths(Mix.env()), elixirc_paths: elixirc_paths(Mix.env()),
lockfile: "../../mix.lock", lockfile: "../../mix.lock",
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,
version: "6.5.0", version: "6.6.0",
xref: [ xref: [
exclude: [ exclude: [
Explorer.Chain.Optimism.Deposit, Explorer.Chain.Optimism.Deposit,

@ -37,7 +37,7 @@ services:
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED: "" CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED: ""
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL: "" CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL: ""
ADMIN_PANEL_ENABLED: "" ADMIN_PANEL_ENABLED: ""
RELEASE_VERSION: 6.5.0 RELEASE_VERSION: 6.6.0
links: links:
- db:database - db:database
environment: environment:

@ -10,7 +10,7 @@ STATS_CONTAINER_NAME := stats
STATS_DB_CONTAINER_NAME := stats-db STATS_DB_CONTAINER_NAME := stats-db
PROXY_CONTAINER_NAME := proxy PROXY_CONTAINER_NAME := proxy
PG_CONTAINER_NAME := postgres PG_CONTAINER_NAME := postgres
RELEASE_VERSION ?= '6.5.0' RELEASE_VERSION ?= '6.6.0'
TAG := $(RELEASE_VERSION)-commit-$(shell git log -1 --pretty=format:"%h") TAG := $(RELEASE_VERSION)-commit-$(shell git log -1 --pretty=format:"%h")
STABLE_TAG := $(RELEASE_VERSION) STABLE_TAG := $(RELEASE_VERSION)

@ -7,7 +7,7 @@ defmodule BlockScout.Mixfile do
[ [
# app: :block_scout, # app: :block_scout,
# aliases: aliases(config_env()), # aliases: aliases(config_env()),
version: "6.5.0", version: "6.6.0",
apps_path: "apps", apps_path: "apps",
deps: deps(), deps: deps(),
dialyzer: dialyzer(), dialyzer: dialyzer(),

@ -71,7 +71,7 @@ end
# will be used by default # will be used by default
release :blockscout do release :blockscout do
set version: "6.5.0-beta" set version: "6.6.0-beta"
set applications: [ set applications: [
:runtime_tools, :runtime_tools,
block_scout_web: :permanent, block_scout_web: :permanent,

Loading…
Cancel
Save