Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve fetching media type for NFT #6091

Merged
merged 3 commits into from
Sep 13, 2022
Merged

Conversation

nikitosing
Copy link
Member

Close #5857

Changelog

  • Replace get method with head in order to optimize fetching file type
  • Add support for data: url

Checklist for your Pull Request (PR)

@nikitosing nikitosing force-pushed the np-fix-nft-media-via-head-request branch 2 times, most recently from 003023e to 792d5f0 Compare September 12, 2022 17:03
Copy link
Member

@vbaranov vbaranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikitosing could you please rebase PR to the current master branch?

Also, should we remove briefly hex dep since we don't use file download anymore?
And it seems, explorer tests are failed.

@nikitosing nikitosing force-pushed the np-fix-nft-media-via-head-request branch from 792d5f0 to 4d0fe01 Compare September 13, 2022 14:31
@nikitosing
Copy link
Member Author

@vbaranov We using Briefly here https://github.com/blockscout/blockscout/blob/master/apps/explorer/lib/explorer/smart_contract/solidity/code_compiler.ex#L318
I rebased the branch. Failed tests probably was not related to my update.

@vbaranov vbaranov merged commit 559480a into master Sep 13, 2022
@vbaranov vbaranov deleted the np-fix-nft-media-via-head-request branch September 13, 2022 17:19
DaMandal0rian added a commit to pointnetwork/blockscout that referenced this pull request Oct 25, 2022
* Migrate account data to separate DB (blockscout#67)

* Config changes

* Separate migrations

* Remain to fix preloads

* Some changes

* All is working, need to fix tests migrations

* mix tasks

* Fix tests and tune config

* Add migration script to migrate account data

* Fix after rebase

* Add branch to config.yml

* Add fix for broken sequence id counter

* Add drop dblink

* Add envs to makefile and common-bs.env

* Fix credo

* Add encryption, need to add _hash fields to search, and think about automatization of migration proccess

* Need to add unique constraints and chengeset for hash fields

* all is working

* remove debug

* Resolve rebase conflicts

* Fix after rebase

* Ready to migrate and encrypt

* Ready to use encrypted DB

* Fix hash field for watchlist notifications

* Remove migration with copying account data

* Invalidate GA cache

* Add env to docker related files

* Add submission date; Reuse legacy session cookie instead of JWT

* Fix tests

* Set SameSite attribute to Lax for session cookie

* Remove Guardian, JWT related code

* Clean up tests code

* Fix key :id not found error

* Add get_csrf method; Fix some errors

* Put csrf token into header

* Remove api_logout path

* Update config.yml

* Rename account env vars

* Rename account env vars

* Ability to disable account by default and enable it with ACCOUNT_ENABLED env variable

* Handle wrong Cloak key

* Fix gettext

* Add redis storage to have possibility to invalidate sessions

* Fix tests

* Fix tests

* Fix docker compose

* Fix tests

* Fix tests

* Add ACCOUNT_ENABLED, ACCOUNT_REDIS_URL to Makefile

* ACCOUNT_DATABASE_URL from DATABASE_URL if not provided

* Change branches trigger in .github/workflows/config.yml

* Update .git workflow

* Finalize Account functionality PR

* Fix token instance fetcher for ERC-1155

* Update Changelog

* Bump jest-environment-jsdom in /apps/block_scout_web/assets

Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.0.2 to 29.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.0.3/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Bump exvcr from 0.13.3 to 0.13.4

Bumps [exvcr](https://github.com/parroty/exvcr) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/parroty/exvcr/releases)
- [Changelog](https://github.com/parroty/exvcr/blob/master/CHANGELOG.md)
- [Commits](parroty/exvcr@v0.13.3...v0.13.4)

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

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

* Bump autoprefixer from 10.4.8 to 10.4.9 in /apps/block_scout_web/assets

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.8 to 10.4.9.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.8...10.4.9)

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

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

* Bump ex_json_schema from 0.9.1 to 0.9.2

Bumps [ex_json_schema](https://github.com/jonasschmidt/ex_json_schema) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/jonasschmidt/ex_json_schema/releases)
- [Commits](https://github.com/jonasschmidt/ex_json_schema/commits/v0.9.2)

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

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

* Bump ueberauth from 0.10.1 to 0.10.2

Bumps [ueberauth](https://github.com/ueberauth/ueberauth) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/ueberauth/ueberauth/releases)
- [Changelog](https://github.com/ueberauth/ueberauth/blob/master/CHANGELOG.md)
- [Commits](ueberauth/ueberauth@v0.10.1...v0.10.2)

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

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

* Bump eslint from 8.23.0 to 8.23.1 in /apps/block_scout_web/assets

Bumps [eslint](https://github.com/eslint/eslint) from 8.23.0 to 8.23.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.23.0...v8.23.1)

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

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

* Fix inconsistent behaviour of getsourcecode method

* Bump jest from 29.0.2 to 29.0.3 in /apps/block_scout_web/assets

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.0.2 to 29.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.0.3/packages/jest)

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

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

* Bump css-minimizer-webpack-plugin in /apps/block_scout_web/assets

Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/css-minimizer-webpack-plugin@v4.0.0...v4.1.0)

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

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

* Trigger release CI for production-optimism-bedrock-goerli-stg branch

* Fix token instance async_fetch

* Add tags to fallback render of coin balance history

* Invalidate dialyzer cache

* Add preload for :created_contract_address (blockscout#6105)

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

* Improve fetching media type for NFT (blockscout#6091)

* Improve fetching media type for NFT

* Remove duplicated dependency

* Fix changelog

* Add clauses for geth VM error; Add {id} replacing according to EIP-1155

* Add regression tests on 1155 improvements

* Fix changelog

* Bump autoprefixer from 10.4.9 to 10.4.10 in /apps/block_scout_web/assets

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.9 to 10.4.10.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.9...10.4.10)

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

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

* Add production-xdai-stg branch to release CI

* Bump ueberauth from 0.10.2 to 0.10.3

Bumps [ueberauth](https://github.com/ueberauth/ueberauth) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/ueberauth/ueberauth/releases)
- [Changelog](https://github.com/ueberauth/ueberauth/blob/master/CHANGELOG.md)
- [Commits](ueberauth/ueberauth@v0.10.2...v0.10.3)

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

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

* Bump @babel/core from 7.19.0 to 7.19.1 in /apps/block_scout_web/assets

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.19.0 to 7.19.1.
- [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.19.1/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 web3 from 1.7.5 to 1.8.0 in /apps/block_scout_web/assets

Bumps [web3](https://github.com/ethereum/web3.js) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/ethereum/web3.js/releases)
- [Changelog](https://github.com/ChainSafe/web3.js/blob/1.x/CHANGELOG.md)
- [Commits](web3/web3.js@v1.7.5...v1.8.0)

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

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

* Bump autoprefixer in /apps/block_scout_web/assets

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.10 to 10.4.11.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.10...10.4.11)

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

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

* Bump sweetalert2 from 11.4.32 to 11.4.33 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.4.32 to 11.4.33.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.4.32...v11.4.33)

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

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

* Fix unfetched token balances

* Update Changelog

* Bump scss-tokenizer from 0.3.0 to 0.4.3 in /apps/block_scout_web/assets

Bumps [scss-tokenizer](https://github.com/sasstools/scss-tokenizer) from 0.3.0 to 0.4.3.
- [Release notes](https://github.com/sasstools/scss-tokenizer/releases)
- [Commits](sasstools/scss-tokenizer@v0.3.0...v0.4.3)

---
updated-dependencies:
- dependency-name: scss-tokenizer
  dependency-type: indirect
...

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.19.0 to 7.19.1.
- [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.19.1/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>

* Add metrics to indexer

Add instrumenter

Add pending block operations collector

Add use of instrumenter and collector

Update CHANGELOG

* Docker compose: add config for Erigon

* Docker-compose config for Erigon

* Refactor DB config

* Rename obsolete "parity" EthereumJSONRPC.Variant to "nethermind"

* Bump core-js from 3.25.1 to 3.25.2 in /apps/block_scout_web/assets

Bumps [core-js](https://github.com/zloirock/core-js) from 3.25.1 to 3.25.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](zloirock/core-js@v3.25.1...v3.25.2)

---
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 websocket_client from 1.3.0 to 1.5.0

Bumps [websocket_client](https://github.com/sanmiguel/websocket_client) from 1.3.0 to 1.5.0.
- [Release notes](https://github.com/sanmiguel/websocket_client/releases)
- [Commits](sanmiguel/websocket_client@1.3.0...1.5.0)

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

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

* Bump autoprefixer in /apps/block_scout_web/assets

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.11 to 10.4.12.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.11...10.4.12)

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

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

* Bump sass from 1.54.9 to 1.55.0 in /apps/block_scout_web/assets

Bumps [sass](https://github.com/sass/dart-sass) from 1.54.9 to 1.55.0.
- [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.54.9...1.55.0)

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

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

* Bump ex_abi from 0.5.11 to 0.5.14

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

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

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

* Refactor JSON RPC variants

* Add missing clause for merge_twin_vyper_contract_with_changeset function

* Fix SMV variable name

* Extend token symbol type varchar(255) -> text

* Move rate limit logs to application start

* Update Changelog

* Update token balances in token instance fetcher

* Format token_contract_address_hash in ownerOf request

* Bump core-js from 3.25.2 to 3.25.3 in /apps/block_scout_web/assets

Bumps [core-js](https://github.com/zloirock/core-js) from 3.25.2 to 3.25.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](zloirock/core-js@v3.25.2...v3.25.3)

---
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.4.33 to 11.4.34 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.4.33 to 11.4.34.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.4.33...v11.4.34)

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

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

* Bump luxon from 3.0.3 to 3.0.4 in /apps/block_scout_web/assets

Bumps [luxon](https://github.com/moment/luxon) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](moment/luxon@3.0.3...3.0.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/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.19.1 to 7.19.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.19.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 eslint from 8.23.1 to 8.24.0 in /apps/block_scout_web/assets

Bumps [eslint](https://github.com/eslint/eslint) from 8.23.1 to 8.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.23.1...v8.24.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 @babel/core from 7.19.1 to 7.19.3 in /apps/block_scout_web/assets

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.19.1 to 7.19.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.19.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>

* Remove coin name from localization files, define it from COIN_NAME env var, remove COIN env var from build args, COIN -> EXCHANGE_RATES_COIN (add backward compatibility)

* Bump jest from 29.0.3 to 29.1.1 in /apps/block_scout_web/assets

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.0.3 to 29.1.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.1.1/packages/jest)

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

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

* Bump jest-environment-jsdom in /apps/block_scout_web/assets

Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.0.3 to 29.1.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.1.1/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Filter by time created in listonctracts API endpoint

* Bump sweetalert2 from 11.4.34 to 11.4.35 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.4.34 to 11.4.35.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.4.34...v11.4.35)

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

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

* Fix runtime definition of ETHEREUM_JSONRPC_VARIANT variable

* Insert missing addresses in token instance fetcher

* Improve logs

* Bump css-minimizer-webpack-plugin in /apps/block_scout_web/assets

Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/css-minimizer-webpack-plugin@v4.1.0...v4.2.0)

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

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

* Hide Indexing Internal Transactions message, if INDEXER_DISABLE_INTERNAL_TRANSACTIONS_FETCHER=true

* Docker compose confgis improvement: Redis container name and persistent storage

* INDEXER_CATCHUP_BLOCKS_BATCH_SIZE and INDEXER_CATCHUP_BLOCKS_CONCURRENCY env varaibles

* Bump redix from 1.1.5 to 1.2.0

Bumps [redix](https://github.com/whatyouhide/redix) from 1.1.5 to 1.2.0.
- [Release notes](https://github.com/whatyouhide/redix/releases)
- [Changelog](https://github.com/whatyouhide/redix/blob/main/CHANGELOG.md)
- [Commits](whatyouhide/redix@v1.1.5...v1.2.0)

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

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

* Refactor contract libs render, CONTRACT_VERIFICATION_MAX_LIBRARIES, refactor parsing integer env vars in config

* Add instrumenter for explorer

* Fix Indexing message appearance

* Add search API endpoint

* Add urls

* Bump sweetalert2 from 11.4.35 to 11.4.37 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.4.35 to 11.4.37.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.4.35...v11.4.37)

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

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

* Bump jest-environment-jsdom in /apps/block_scout_web/assets

Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.1.1 to 29.1.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.1.2/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Bump postcss from 8.4.16 to 8.4.17 in /apps/block_scout_web/assets

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.16 to 8.4.17.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.16...8.4.17)

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

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

* Bump jest from 29.1.1 to 29.1.2 in /apps/block_scout_web/assets

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.1.1 to 29.1.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.1.2/packages/jest)

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

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

* Bump core-js from 3.25.3 to 3.25.5 in /apps/block_scout_web/assets

Bumps [core-js](https://github.com/zloirock/core-js) from 3.25.3 to 3.25.5.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](zloirock/core-js@v3.25.3...v3.25.5)

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

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

* Integrate metrics in runners

* Fix coin_id test

* Bump sweetalert2 from 11.4.37 to 11.4.38 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.4.37 to 11.4.38.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.4.37...v11.4.38)

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

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

* Invalidate GA cache

* Bump sass-loader from 13.0.2 to 13.1.0 in /apps/block_scout_web/assets

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 13.0.2 to 13.1.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/sass-loader@v13.0.2...v13.1.0)

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

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

* Bump css-minimizer-webpack-plugin in /apps/block_scout_web/assets

Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/css-minimizer-webpack-plugin@v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: css-minimizer-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Elixir 1.14 support

* Fix /blocks page freezing in case of large blocks numbers gaps

* Update changelog

* 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.19.3 to 7.19.4.
- [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.19.4/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 ex_abi from 0.5.14 to 0.5.15

Bumps [ex_abi](https://github.com/poanetwork/ex_abi) from 0.5.14 to 0.5.15.
- [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.5.14...0.5.15)

---
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 from 8.24.0 to 8.25.0 in /apps/block_scout_web/assets

Bumps [eslint](https://github.com/eslint/eslint) from 8.24.0 to 8.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.24.0...v8.25.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 sweetalert2 from 11.4.38 to 11.5.1 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.4.38 to 11.5.1.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.4.38...v11.5.1)

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

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

* Bump postcss from 8.4.17 to 8.4.18 in /apps/block_scout_web/assets

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.17 to 8.4.18.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.17...8.4.18)

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

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

* Bump css-minimizer-webpack-plugin in /apps/block_scout_web/assets

Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/css-minimizer-webpack-plugin@v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: css-minimizer-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* DISABLE_TOKEN_INSTANCE_FETCHER env

* Update Changelog

* Bump jest from 29.1.2 to 29.2.0 in /apps/block_scout_web/assets

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.1.2 to 29.2.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.2.0/packages/jest)

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

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

* Bump jest-environment-jsdom in /apps/block_scout_web/assets

Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.1.2 to 29.2.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.2.0/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

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

Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md)
- [Commits](eslint-community/eslint-plugin-promise@v6.0.1...v6.1.0)

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

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

* Fix DISABLE_TOKEN_INSTANCE_FETCHER env

* Bump util from 0.12.4 to 0.12.5 in /apps/block_scout_web/assets

Bumps [util](https://github.com/browserify/node-util) from 0.12.4 to 0.12.5.
- [Release notes](https://github.com/browserify/node-util/releases)
- [Changelog](https://github.com/browserify/node-util/blob/master/CHANGELOG.md)
- [Commits](browserify/node-util@v0.12.4...v0.12.5)

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

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

* Bump ex_rlp from 0.5.4 to 0.5.5

Bumps [ex_rlp](https://github.com/mana-ethereum/ex_rlp) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/mana-ethereum/ex_rlp/releases)
- [Changelog](https://github.com/mana-ethereum/ex_rlp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mana-ethereum/ex_rlp/commits)

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

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

* Bump ex_abi from 0.5.15 to 0.5.16

Bumps [ex_abi](https://github.com/poanetwork/ex_abi) from 0.5.15 to 0.5.16.
- [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.5.15...0.5.16)

---
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 sweetalert2 from 11.5.1 to 11.5.2 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.5.1 to 11.5.2.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.5.1...v11.5.2)

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

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

* Bump spandex_datadog from 1.2.0 to 1.3.0

Bumps [spandex_datadog](https://github.com/spandex-project/spandex_datadog) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/spandex-project/spandex_datadog/releases)
- [Changelog](https://github.com/spandex-project/spandex_datadog/blob/master/CHANGELOG.md)
- [Commits](spandex-project/spandex_datadog@1.2.0...1.3.0)

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

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

* Bump spandex_phoenix from 1.0.6 to 1.1.0

Bumps [spandex_phoenix](https://github.com/spandex-project/spandex_phoenix) from 1.0.6 to 1.1.0.
- [Release notes](https://github.com/spandex-project/spandex_phoenix/releases)
- [Changelog](https://github.com/spandex-project/spandex_phoenix/blob/master/CHANGELOG.md)
- [Commits](spandex-project/spandex_phoenix@v1.0.6...v1.1.0)

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

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

* Bump jest-environment-jsdom in /apps/block_scout_web/assets

Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.2.0 to 29.2.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.2.1/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Bump jest from 29.2.0 to 29.2.1 in /apps/block_scout_web/assets

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.2.0 to 29.2.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.2.1/packages/jest)

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

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

* Bump ex_doc from 0.28.5 to 0.28.6

Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.28.5 to 0.28.6.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](elixir-lang/ex_doc@v0.28.5...v0.28.6)

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

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

* Add tooltip for unknown contract creator; Checksum address in tx overview; Fix search bug

* Changelog

* Bump sweetalert2 from 11.5.2 to 11.6.0 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.5.2 to 11.6.0.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.5.2...v11.6.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 eslint-plugin-promise in /apps/block_scout_web/assets

Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md)
- [Commits](eslint-community/eslint-plugin-promise@v6.1.0...v6.1.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Bump ex_doc from 0.28.6 to 0.29.0

Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.28.6 to 0.29.0.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](elixir-lang/ex_doc@v0.28.6...v0.29.0)

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

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

* Bump @babel/core from 7.19.3 to 7.19.6 in /apps/block_scout_web/assets

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.19.3 to 7.19.6.
- [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.19.6/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>

* Updates for blockscout

* add logo for header + footer

* add ENV variable EXCHANGE_RATES_COIN

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: nikitosing <32202610+nikitosing@users.noreply.github.com>
Co-authored-by: Никита Поздняков <nikitosing4@mail.ru>
Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com>
Co-authored-by: Qwerty5Uiop <alex000010@bk.ru>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sl1depengwyn <max.pengwyn@gmail.com>
Co-authored-by: Lymarenko Lev <lymarenko.lev@gmail.com>
Co-authored-by: muhammadp <muhammad@pointlabs.org>
fx0x55 pushed a commit to FunctionX/blockscout that referenced this pull request Feb 9, 2023
* Improve fetching media type for NFT

* Remove duplicated dependency

* Fix changelog

(cherry picked from commit 559480a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blockscout throwing 500 when loading some tokens
2 participants