Skip to content

Commit

Permalink
Master (#6)
Browse files Browse the repository at this point in the history
* Bump sweetalert2 from 11.7.31 to 11.7.32 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.7.31 to 11.7.32.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.7.31...v11.7.32)

---
updated-dependencies:
- dependency-name: sweetalert2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add RSK chain type

* Disable market history cataloger when exchange rates are disabled

* Refactor parsing of FIRST_BLOCK, LAST_BLOCK, TRACE_FIRST_BLOCK, TRACE_LAST_BLOCK env variables

* Fix css-loader

* Fix NEXT_PUBLIC_API_SPEC_URL in common-frontend.env

* DefiLlama TVL source

* Add tvl prop to /stats API

* Fix typos

* Add Fuse branch to CI

* New branches to CI

* Increase ELIXIR_VERSION and OTP_VERSION in GA configs

* Bump @babel/preset-env in /apps/block_scout_web/assets

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.22.20 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump sass from 1.69.0 to 1.69.3 in /apps/block_scout_web/assets

Bumps [sass](https://github.com/sass/dart-sass) from 1.69.0 to 1.69.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.69.0...1.69.3)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump hackney from 1.19.1 to 1.20.1

Bumps [hackney](https://github.com/benoitc/hackney) from 1.19.1 to 1.20.1.
- [Release notes](https://github.com/benoitc/hackney/releases)
- [Changelog](https://github.com/benoitc/hackney/blob/master/NEWS.md)
- [Commits](benoitc/hackney@1.19.1...1.20.1)

---
updated-dependencies:
- dependency-name: hackney
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump ex_cldr from 2.37.2 to 2.37.4

Bumps [ex_cldr](https://github.com/elixir-cldr/cldr) from 2.37.2 to 2.37.4.
- [Release notes](https://github.com/elixir-cldr/cldr/releases)
- [Changelog](https://github.com/elixir-cldr/cldr/blob/main/CHANGELOG.md)
- [Commits](elixir-cldr/cldr@v2.37.2...v2.37.4)

---
updated-dependencies:
- dependency-name: ex_cldr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump floki from 0.34.3 to 0.35.0

Bumps [floki](https://github.com/philss/floki) from 0.34.3 to 0.35.0.
- [Release notes](https://github.com/philss/floki/releases)
- [Changelog](https://github.com/philss/floki/blob/main/CHANGELOG.md)
- [Commits](philss/floki@v0.34.3...v0.35.0)

---
updated-dependencies:
- dependency-name: floki
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @babel/traverse in /apps/block_scout_web/assets

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.23.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @babel/core from 7.23.0 to 7.23.2 in /apps/block_scout_web/assets

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/@babel/core@7.23.2/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump webpack from 5.88.2 to 5.89.0 in /apps/block_scout_web/assets

Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.89.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.88.2...v5.89.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump ex_doc from 0.30.6 to 0.30.7

Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.30.6 to 0.30.7.
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](elixir-lang/ex_doc@v0.30.6...v0.30.7)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix empty tvl in /stats page

* Fix polygon tracer

* Set max 30sec JSON RPC poll frequency for realtime fetcher when WS is disabled

* Add RSK tracing

* Add rootstock locked widget in stats

* Remove block consensus on import fail

* arm64-compatible docker image

* Improve `/tabs-counters` and add cache

* Change counting time function

* Process review comments

* Process review comment

* Add head offset for empty blocks sanitizer

* Fix TokenBalance fetcher retry logic

* Filter token transfers on coin balances updates

* v5.3.0

* Update CHANGELOG

* Configure Buildx for Optimism

* Workflow for image generation for zkevm

* Add a window for balances fetching from non-archive node

* Bump sass from 1.69.3 to 1.69.4 in /apps/block_scout_web/assets

Bumps [sass](https://github.com/sass/dart-sass) from 1.69.3 to 1.69.4.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.69.3...1.69.4)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump web3 from 1.10.2 to 1.10.3 in /apps/block_scout_web/assets

Bumps [web3](https://github.com/ChainSafe/web3.js) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/ChainSafe/web3.js/releases)
- [Changelog](https://github.com/web3/web3.js/blob/4.x/CHANGELOG.md)
- [Commits](web3/web3.js@v1.10.2...v1.10.3)

---
updated-dependencies:
- dependency-name: web3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump core-js from 3.33.0 to 3.33.1 in /apps/block_scout_web/assets

Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.33.0 to 3.33.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.33.1/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint from 8.51.0 to 8.52.0 in /apps/block_scout_web/assets

Bumps [eslint](https://github.com/eslint/eslint) from 8.51.0 to 8.52.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.51.0...v8.52.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @amplitude/analytics-browser in /apps/block_scout_web/assets

Bumps [@amplitude/analytics-browser](https://github.com/amplitude/Amplitude-TypeScript) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases)
- [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/analytics-browser@2.3.2...@amplitude/analytics-browser@2.3.3)

---
updated-dependencies:
- dependency-name: "@amplitude/analytics-browser"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump floki from 0.35.0 to 0.35.1

Bumps [floki](https://github.com/philss/floki) from 0.35.0 to 0.35.1.
- [Release notes](https://github.com/philss/floki/releases)
- [Changelog](https://github.com/philss/floki/blob/main/CHANGELOG.md)
- [Commits](philss/floki@v0.35.0...v0.35.1)

---
updated-dependencies:
- dependency-name: floki
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump ex_abi from 0.6.2 to 0.6.3

Bumps [ex_abi](https://github.com/poanetwork/ex_abi) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/poanetwork/ex_abi/releases)
- [Changelog](https://github.com/poanetwork/ex_abi/blob/master/CHANGELOG.md)
- [Commits](poanetwork/ex_abi@0.6.2...0.6.3)

---
updated-dependencies:
- dependency-name: ex_abi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-import in /apps/block_scout_web/assets

Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.1 to 2.29.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](import-js/eslint-plugin-import@v2.28.1...v2.29.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Set CHAIN_TYPE=polygon_edge for Immutable

* Bump ex_doc from 0.30.7 to 0.30.9

Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.30.7 to 0.30.9.
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](elixir-lang/ex_doc@v0.30.7...v0.30.9)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix db pool size exceeds Postgres max connections

* Bump redix from 1.2.3 to 1.3.0

Bumps [redix](https://github.com/whatyouhide/redix) from 1.2.3 to 1.3.0.
- [Changelog](https://github.com/whatyouhide/redix/blob/main/CHANGELOG.md)
- [Commits](whatyouhide/redix@v1.2.3...v1.3.0)

---
updated-dependencies:
- dependency-name: redix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Rollback changes for Explorer.Repo.Replica1

* Fix is_verified for /addresses and /smart-contracts

* Changelog

* Create zkEVM tables

* Add runners for zkEVM tables

* Draft zkEVM indexer implementation

* Extend zkEVM batches indexer

* Improve detecting a new zkEVM batch

* Add INDEXER_ZKEVM_BATCHES_ENABLED env var

* Add logging to Indexer.Fetcher.ZkevmTxnBatch

* Refactor Indexer.Fetcher.ZkevmTxnBatch

* Small refactoring of Indexer.Fetcher.ZkevmTxnBatch

* Add zkEVM fields to API v2 response for transaction page

* Add zkEVM transaction status to API v2 response for transaction page

* Add API v2 response for zkEVM batch page (partially)

* Add API v2 response for zkEVM batch page

* Add API v2 response for zkEVM list of batches page

* Add API v2 output for Latest Confirmed Batches homepage section

* Add API v2 output for Latest Batch homepage section

* Add API v2 output for transaction list of the specified batch

* Rename some routes in API v2

* Update changelog

* Fix for dialyzer

* Add new words to cspell.json

* Use latest batch number instead of aggregated count

* Simplify batches chunking

* Store l2 transactions count in the batch table

* Fix syntax

* Minor changes

* Add INDEXER_ZKEVM_BATCHES_CHUNK_SIZE env variable

* Add INDEXER_ZKEVM_BATCHES_RECHECK_INTERVAL env variable

* Remove redundant line

* Small refactoring

* Txn -> Transaction

* Move zkevm_* files into a separate folder

* Add Explorer.Chain.Zkevm.Reader module

* Change some API routes

* Add small comment

* Add specs for public functions

* Fix config/runtime.exs

* Extend zkevm batch info in API

* Define chain type

* Add @doc for public functions

* Fix repos list definition in releases_tasks

* Throw not_found error in API v2 when a batch is not found

* Fixes after rebase

* Make transactions list in a batch optional

* Handle 0 gas limit

* mix format

* Add socket for confirmed batches list on the main page

* Fix for zkEVM websocket connection

* Minor fixes

* Fix transaction_controller.ex

* Set pool_size to 1 for polygon_zkevm

* Small refactoring

* Don't override internal transaction error if it's present already

* Account: add pagination + envs for limits (blockscout#8528)

* Account: Add pagination + increase limits

* Add tests

* Add specs and docs

* Add TODO

* Dupliacte all the account endpoints + new paginated to /api/account/v2

* Suave functional (blockscout#8556)

* Add execution_node field indexing

* Add `wrapped` field (and its subfields) indexing

* Add allowed_peekers field for transaction to API v2 response

* Add execution_node field for transaction to API v2 response

* Add Suave fields for regular transaction to API v2 response

* Add API v2 endpoint for transactions filtered by execution node

* Add index for execution_node field

* Small fixes

* Update changelog

* Fix for CHAIN_TYPE, backward compatibility

* Update spelling

* Fix for dyalizer

* Fix default_on_conflict

* Fix test.exs

* Fix view for Suave transaction

* Add Suave-specific comments

* mix format

* Set pool_size to 1 for suave

* Small refactoring for repo

* mix format, mix dialyzer

---------

Co-authored-by: POA <33550681+poa@users.noreply.github.com>

* Support tokenSymbol and tokenName in /api/v2/import/token-info (blockscout#8696)

* Support tokenSymbol and tokenName in /api/v2/import/token-info

* Changelog

* Update more Docker images on release

* Fix sourcify enabled flag (blockscout#8705)

* Fix sourcify enabled flag

* Changelog

* Add stability_fee for CHAIN_TYPE=stability (blockscout#8651)

* Add stability_fee for CHAIN_TYPE=stability

* Changelog

* Optimize token fee requests

* Remove unused function

* Process review comments

* Fixes after rebase

* Fix sourcify check (blockscout#8714)

* Fix sourcify check

* Changelog

* Add address name updating on contract re-verification (blockscout#8706)

* Add address name updating on contract re-verification

* Changelog

* Rename `wrapped` field to `requestRecord` for Suave (blockscout#8715)

* Rename `wrapped` field to `requestRecord` for Suave

* Update changelog

---------

Co-authored-by: POA <33550681+poa@users.noreply.github.com>

* CoinBalanceHistory tab: show also tx with gasPrice & gasUsed > 0 (blockscout#8708)

* CoinBalanceHistory tab: show also tx with gasPrice & gasUsed > 0

* Changelog

* Save GasPriceOracle old prices as a fallback

* 5.3.1

* Update CHANGELOG

* Update GA workflows

* Fix CHANGELOG

* GA Workflow for Stability

* Split release workflow into 2

* Adjust docker image build workflows: remove updating latest tag from push to custom branches, polygon-edge image workflow

* Remove repos_list (default value for ecto repos) from Explorer.ReleaseTasks (blockscout#8728)

* Remove repos_list (default value for repos, which are defined anyways) from Explorer.ReleaseTasks

* Add CHANGELOG entry

* Fix flaky account notifier test (blockscout#8724)

* Fix flaky account notifier test

* Update CHANGELOG.md

* Bump browserify-sign from 4.2.1 to 4.2.2 in /apps/block_scout_web/assets

Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](browserify/browserify-sign@v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add CI to PR creation production-optimism-stg

* Bump solc from 0.8.21 to 0.8.22 in /apps/explorer

Bumps [solc](https://github.com/ethereum/solc-js) from 0.8.21 to 0.8.22.
- [Commits](ethereum/solc-js@v0.8.21...v0.8.22)

---
updated-dependencies:
- dependency-name: solc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump phoenix_ecto from 4.4.2 to 4.4.3

Bumps [phoenix_ecto](https://github.com/phoenixframework/phoenix_ecto) from 4.4.2 to 4.4.3.
- [Changelog](https://github.com/phoenixframework/phoenix_ecto/blob/main/CHANGELOG.md)
- [Commits](phoenixframework/phoenix_ecto@v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: phoenix_ecto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump tesla from 1.7.0 to 1.8.0

Bumps [tesla](https://github.com/teamon/tesla) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/teamon/tesla/releases)
- [Commits](elixir-tesla/tesla@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: tesla
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump floki from 0.35.1 to 0.35.2

Bumps [floki](https://github.com/philss/floki) from 0.35.1 to 0.35.2.
- [Release notes](https://github.com/philss/floki/releases)
- [Changelog](https://github.com/philss/floki/blob/main/CHANGELOG.md)
- [Commits](philss/floki@v0.35.1...v0.35.2)

---
updated-dependencies:
- dependency-name: floki
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump core-js from 3.33.1 to 3.33.2 in /apps/block_scout_web/assets

Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.33.1 to 3.33.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.33.2/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump sweetalert2 from 11.7.32 to 11.9.0 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.7.32 to 11.9.0.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.7.32...v11.9.0)

---
updated-dependencies:
- dependency-name: sweetalert2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump sass from 1.69.4 to 1.69.5 in /apps/block_scout_web/assets

Bumps [sass](https://github.com/sass/dart-sass) from 1.69.4 to 1.69.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.69.4...1.69.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add TOKEN_INSTANCE_OWNER_MIGRATION_ENABLED env

* Fix internal transaction error

* Changelog

* Gnosis safe proxy via singleton

* Fix for tvl update in market history when row already exists

* Disable catchup indexer by env

* Fix Indexer.Transform.Addresses for non-Suave setup (blockscout#8784)

* Fix Indexer.Transform.Addresses for non-Suave setup

* Update changelog

* Fix bin/install_chrome_headless.sh

* Fix bin/install_chrome_headless.sh

* Rename Explorer.Token.MetadataRetrieverTest

* Reset GA cache

* Fix test in InstanceMetadataRetrieverTest

---------

Co-authored-by: POA <33550681+poa@users.noreply.github.com>
Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com>

* Bump cldr_utils from 2.24.1 to 2.24.2

Bumps [cldr_utils](https://github.com/elixir-cldr/cldr_utils) from 2.24.1 to 2.24.2.
- [Release notes](https://github.com/elixir-cldr/cldr_utils/releases)
- [Changelog](https://github.com/elixir-cldr/cldr_utils/blob/master/CHANGELOG.md)
- [Commits](elixir-cldr/cldr_utils@v2.24.1...v2.24.2)

---
updated-dependencies:
- dependency-name: cldr_utils
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint from 8.52.0 to 8.53.0 in /apps/block_scout_web/assets

Bumps [eslint](https://github.com/eslint/eslint) from 8.52.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.52.0...v8.53.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump ex_cldr_numbers from 2.32.2 to 2.32.3

Bumps [ex_cldr_numbers](https://github.com/elixir-cldr/cldr_numbers) from 2.32.2 to 2.32.3.
- [Release notes](https://github.com/elixir-cldr/cldr_numbers/releases)
- [Changelog](https://github.com/elixir-cldr/cldr_numbers/blob/main/CHANGELOG.md)
- [Commits](elixir-cldr/cldr_numbers@v2.32.2...v2.32.3)

---
updated-dependencies:
- dependency-name: ex_cldr_numbers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump ex_abi from 0.6.3 to 0.6.4

Bumps [ex_abi](https://github.com/poanetwork/ex_abi) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/poanetwork/ex_abi/releases)
- [Changelog](https://github.com/poanetwork/ex_abi/blob/master/CHANGELOG.md)
- [Commits](poanetwork/ex_abi@0.6.3...0.6.4)

---
updated-dependencies:
- dependency-name: ex_abi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump ex_cldr_units from 3.16.3 to 3.16.4

Bumps [ex_cldr_units](https://github.com/elixir-cldr/cldr_units) from 3.16.3 to 3.16.4.
- [Release notes](https://github.com/elixir-cldr/cldr_units/releases)
- [Changelog](https://github.com/elixir-cldr/cldr_units/blob/main/CHANGELOG.md)
- [Commits](elixir-cldr/cldr_units@v3.16.3...v3.16.4)

---
updated-dependencies:
- dependency-name: ex_cldr_units
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix for eth_getbalance API v1 endpoint when requesting latest tag

* Add new metadata fields and add x-api-key header to eth-bytecode-db r… (blockscout#8750)

* Add new metadata fields and add x-api-key header to eth-bytecode-db request

* Add /api/v2/import/smart-contracts/{address_hash} endpoint

* Add endpoint url to the block_scout_web logging (blockscout#8609)

* Replace :console logger backend with LoggerJSON; Add endpoint url to the block_scout_web logging

* Move logger_json dependency

* Turn json logs only for prod environment

* Disable debug ecto logs for test environment

* Return HTTP method to logs

* Add possibility to search tokens by address hash (blockscout#8768)

* Add possibility to search tokens by address hash

* Changelog + remove dbg calls

* Refactor searching queries set of selected fields

* Final polishing

---------

Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com>

* Enable API v2 by default (blockscout#8802)

* Enable API v2 by default

* Changelog

* Add rootstock specific fields (blockscout#8076)

* Add rootstock fields to block structere

* Add rootstock fetcher

* Fix cycle of rootstock fetcher

[no ci]

* Take into account `CHAIN_TYPE` for RSK

* CI for ETH Sepolia

* API v2: address nft (blockscout#8634)

* Add /api/v2/addresses/{address_hash}/nft and /api/v2/{address_hash}/nft/collections

* Add filter to /api/v2/tokens/{address_hash}/instances?holder_address_hash={holder_address}

* Changelog

* Revert log disabling

* Fix warn

* Add @SPEC and @doc

* Process review comments

* Ignore depositReceiptVersion from optimism receipts

* Do not ignore twin contracts on /api/v2/import/smart-contracts/{address_hash} (blockscout#8813)

* Ignore twin contracts on /api/v2/import/smart-contracts/{address_hash}

* Changelog

* Add CoinBalanceDailyUpdater

* Bump benchee from 1.1.0 to 1.2.0

Bumps [benchee](https://github.com/bencheeorg/benchee) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/bencheeorg/benchee/releases)
- [Changelog](https://github.com/bencheeorg/benchee/blob/main/CHANGELOG.md)
- [Commits](bencheeorg/benchee@1.1.0...1.2.0)

---
updated-dependencies:
- dependency-name: benchee
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump httpoison from 2.1.0 to 2.2.0

Bumps [httpoison](https://github.com/edgurgel/httpoison) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/edgurgel/httpoison/releases)
- [Commits](edgurgel/httpoison@v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: httpoison
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump luxon from 3.4.3 to 3.4.4 in /apps/block_scout_web/assets

Bumps [luxon](https://github.com/moment/luxon) from 3.4.3 to 3.4.4.
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](moment/luxon@3.4.3...3.4.4)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @babel/core from 7.23.2 to 7.23.3 in /apps/block_scout_web/assets

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.2 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @babel/preset-env in /apps/block_scout_web/assets

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.23.2 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump solc from 0.8.22 to 0.8.23 in /apps/explorer

Bumps [solc](https://github.com/ethereum/solc-js) from 0.8.22 to 0.8.23.
- [Commits](ethereum/solc-js@v0.8.22...v0.8.23)

---
updated-dependencies:
- dependency-name: solc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Do not preload smart contract info if address has no contract_code

* Changelog

* Fix after review; Add test

* Log more details in regards 413 error

* Safe token update

* Add testing for all CHAIN_TYPEs

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Victor Baranov <baranov.viktor.27@gmail.com>
Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com>
Co-authored-by: Pavel Pustovalov <pustovalov.pavel@gmail.com>
Co-authored-by: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com>
Co-authored-by: Qwerty5Uiop <alex000010@bk.ru>
Co-authored-by: Nikita Pozdniakov <nikitosing4@mail.ru>
Co-authored-by: POA <33550681+poa@users.noreply.github.com>
Co-authored-by: nikitosing <32202610+nikitosing@users.noreply.github.com>
Co-authored-by: varasev <33550681+varasev@users.noreply.github.com>
Co-authored-by: 0xalex88 <113263502+0xalex88@users.noreply.github.com>
  • Loading branch information
12 people authored Nov 15, 2023
1 parent 102688e commit 9f31639
Show file tree
Hide file tree
Showing 73 changed files with 3,561 additions and 1,159 deletions.
100 changes: 71 additions & 29 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,23 @@ on:

env:
MIX_ENV: test
OTP_VERSION: '25.2.1'
ELIXIR_VERSION: '1.14.5'
ACCOUNT_AUTH0_DOMAIN: 'blockscoutcom.us.auth0.com'
OTP_VERSION: "25.2.1"
ELIXIR_VERSION: "1.14.5"
ACCOUNT_AUTH0_DOMAIN: "blockscoutcom.us.auth0.com"

jobs:
matrix-builder:
name: Build matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- id: set-matrix
run: |
echo "matrix=$matrixStringifiedObject" >> $GITHUB_OUTPUT
env:
matrixStringifiedObject: '{"chain-type": ["ethereum", "polygon_edge", "polygon_zkevm", "rsk", "suave", "stability"]}'

build-and-cache:
name: Build and Cache deps
runs-on: ubuntu-latest
Expand All @@ -55,7 +67,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
Expand Down Expand Up @@ -113,7 +125,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
Expand All @@ -137,15 +149,21 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
- run: mix format --check-formatted

dialyzer:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: Dialyzer static analysis
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
Expand All @@ -160,7 +178,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
Expand All @@ -169,18 +187,22 @@ jobs:
id: dialyzer-cache
with:
path: priv/plts
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-dialyzer-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-${{ matrix.chain-type }}-dialyzer-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-dialyzer-"
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-${{ matrix.chain-type }}-dialyzer-"
- name: Conditionally build Dialyzer Cache
if: steps.dialyzer-cache.output.cache-hit != 'true'
run: |
mkdir -p priv/plts
mix dialyzer --plt
env:
CHAIN_TYPE: ${{ matrix.chain-type }}

- name: Run Dialyzer
run: mix dialyzer --halt-exit-status
env:
CHAIN_TYPE: ${{ matrix.chain-type }}

gettext:
name: Missing translation keys check
Expand All @@ -200,7 +222,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
Expand All @@ -226,7 +248,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
Expand Down Expand Up @@ -255,7 +277,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
Expand Down Expand Up @@ -303,7 +325,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
Expand Down Expand Up @@ -349,7 +371,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
Expand All @@ -370,9 +392,14 @@ jobs:
working-directory: apps/block_scout_web/assets

test_nethermind_mox_ethereum_jsonrpc:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: EthereumJSONRPC Tests
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
services:
postgres:
image: postgres
Expand Down Expand Up @@ -406,7 +433,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
Expand All @@ -423,10 +450,16 @@ jobs:
PGUSER: postgres
ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Nethermind.Mox"
ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox"
CHAIN_TYPE: "${{ matrix.chain-type }}"
test_nethermind_mox_explorer:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: Explorer Tests
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
services:
postgres:
image: postgres
Expand Down Expand Up @@ -460,7 +493,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
Expand Down Expand Up @@ -488,10 +521,16 @@ jobs:
PGUSER: postgres
ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Nethermind.Mox"
ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox"
CHAIN_TYPE: "${{ matrix.chain-type }}"
test_nethermind_mox_indexer:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: Indexer Tests
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
services:
postgres:
image: postgres
Expand Down Expand Up @@ -525,11 +564,10 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
- run: ./bin/install_chrome_headless.sh

- name: mix test --exclude no_nethermind
Expand All @@ -546,15 +584,20 @@ jobs:
PGUSER: postgres
ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Nethermind.Mox"
ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox"

CHAIN_TYPE: "${{ matrix.chain-type }}"
test_nethermind_mox_block_scout_web:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: Blockscout Web Tests
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
services:
redis_db:
image: 'redis:alpine'
ports:
image: "redis:alpine"
ports:
- 6379:6379

postgres:
Expand Down Expand Up @@ -589,11 +632,10 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
- name: Restore Explorer NPM Cache
uses: actions/cache@v2
id: explorer-npm-cache
Expand Down Expand Up @@ -637,5 +679,5 @@ jobs:
ADMIN_PANEL_ENABLED: "true"
ACCOUNT_ENABLED: "true"
ACCOUNT_REDIS_URL: "redis://localhost:6379"
API_V2_ENABLED: "true"
SOURCIFY_INTEGRATION_ENABLED: "true"
CHAIN_TYPE: "${{ matrix.chain-type }}"
54 changes: 54 additions & 0 deletions .github/workflows/publish-docker-image-for-eth-sepolia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Publish Docker image for specific chain branches

on:
push:
branches:
- production-eth-sepolia-stg
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
env:
RELEASE_VERSION: 5.3.1
DOCKER_CHAIN_NAME: eth-sepolia
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: blockscout/blockscout

- name: Add SHORT_SHA env property with commit short sha
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
push: true
tags: blockscout/blockscout-${{ env.DOCKER_CHAIN_NAME }}:latest, blockscout/blockscout-${{ env.DOCKER_CHAIN_NAME }}:${{ env.RELEASE_VERSION }}-postrelease-${{ env.SHORT_SHA }}
build-args: |
CACHE_EXCHANGE_RATES_PERIOD=
API_V1_READ_METHODS_DISABLED=false
DISABLE_WEBAPP=false
API_V1_WRITE_METHODS_DISABLED=false
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
ADMIN_PANEL_ENABLED=false
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta.+commit.${{ env.SHORT_SHA }}
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,30 @@

### Features

- [#8795](https://github.com/blockscout/blockscout/pull/8795) - Disable catchup indexer by env
- [#8768](https://github.com/blockscout/blockscout/pull/8768) - Add possibility to search tokens by address hash
- [#8750](https://github.com/blockscout/blockscout/pull/8750) - Support new eth-bytecode-db request metadata fields
- [#8634](https://github.com/blockscout/blockscout/pull/8634) - API v2: NFT for address
- [#8609](https://github.com/blockscout/blockscout/pull/8609) - Change logs format to JSON; Add endpoint url to the block_scout_web logging
- [#8558](https://github.com/blockscout/blockscout/pull/8558) - Add CoinBalanceDailyUpdater

### Fixes

- [#8836](https://github.com/blockscout/blockscout/pull/8836) - Safe token update
- [#8814](https://github.com/blockscout/blockscout/pull/8814) - Improve performance for EOA addresses in `/api/v2/addresses/{address_hash}`
- [#8813](https://github.com/blockscout/blockscout/pull/8813) - Force verify twin contracts on `/api/v2/import/smart-contracts/{address_hash}`
- [#8784](https://github.com/blockscout/blockscout/pull/8784) - Fix Indexer.Transform.Addresses for non-Suave setup
- [#8770](https://github.com/blockscout/blockscout/pull/8770) - Fix for eth_getbalance API v1 endpoint when requesting latest tag
- [#8765](https://github.com/blockscout/blockscout/pull/8765) - Fix for tvl update in market history when row already exists
- [#8759](https://github.com/blockscout/blockscout/pull/8759) - Gnosis safe proxy via singleton input
- [#8752](https://github.com/blockscout/blockscout/pull/8752) - Add `TOKEN_INSTANCE_OWNER_MIGRATION_ENABLED` env
- [#8724](https://github.com/blockscout/blockscout/pull/8724) - Fix flaky account notifier test

### Chore

- [#8832](https://github.com/blockscout/blockscout/pull/8832) - Log more details in regards 413 error
- [#8802](https://github.com/blockscout/blockscout/pull/8802) - Enable API v2 by default
- [#8742](https://github.com/blockscout/blockscout/pull/8742) - Merge rsk branch into the master branch
- [#8728](https://github.com/blockscout/blockscout/pull/8728) - Remove repos_list (default value for ecto repos) from Explorer.ReleaseTasks

<details>
Expand Down
Loading

0 comments on commit 9f31639

Please sign in to comment.