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

Shibarium Bridge indexer and API v2 extension #8929

Merged
merged 31 commits into from Jan 24, 2024
Merged

Conversation

varasev
Copy link
Contributor

@varasev varasev commented Dec 4, 2023

Motivation

This PR adds an indexer for Shibarium Bridge operations (Deposits and Withdrawals) and extends API v2 for the corresponding views on UI.

API endpoints:

/api/v2/shibarium/deposits
/api/v2/shibarium/deposits/count
/api/v2/shibarium/withdrawals
/api/v2/shibarium/withdrawals/count

Checklist for your Pull Request (PR)

apps/explorer/lib/explorer/repo.ex Outdated Show resolved Hide resolved
apps/indexer/lib/indexer/helper.ex Show resolved Hide resolved
apps/indexer/lib/indexer/helper.ex Outdated Show resolved Hide resolved
apps/indexer/lib/indexer/helper.ex Show resolved Hide resolved
config/runtime/dev.exs Outdated Show resolved Hide resolved
config/runtime/prod.exs Outdated Show resolved Hide resolved
@vbaranov vbaranov self-requested a review January 17, 2024 11:23
@vbaranov vbaranov merged commit c7724f5 into master Jan 24, 2024
38 of 41 checks passed
@vbaranov vbaranov deleted the va-shibarium-bridge branch January 24, 2024 09:36
DaMandal0rian pushed a commit to subspace/blockscout-backend that referenced this pull request Feb 22, 2024
* Define shibarium_bridge table

* Add ShibariumBridgeOperations runner

* Add init for Indexer.Fetcher.Shibarium.L1

* Draft for Indexer.Fetcher.Shibarium.L1

* mix format for Indexer.Fetcher.Shibarium.L1

* Fix Indexer.Fetcher.Shibarium.L1

* Refactor Indexer.Fetcher.Shibarium.L1

* Add draft (incomplete) for Indexer.Fetcher.Shibarium.L2

* Extend draft (incomplete) for Indexer.Fetcher.Shibarium.L2

* Extend draft (incomplete) for Indexer.Fetcher.Shibarium.L2

* Complete unrefactored Indexer.Fetcher.Shibarium.L2

* Improve Indexer.Fetcher.Shibarium.L2

* Prepare Indexer.Fetcher.Shibarium.L2 for transformer

* Add unrefactored Indexer.Transform.Shibarium.Bridge

* Small refactoring of Shibarium modules

* Refactoring

* Add API v2 for Shibarium Deposits and Withdrawals

* Small fixes

* Update changelog

* Fixes and refactoring

* Partially add specs and docs

* Partially add specs and docs

* Log topic type changed to bytea

* Small improvements

* Cache deposits and withdrawals counters for Shibarium

* Fixes for credo

* Fixes for Chain.import related to CHAIN_TYPE

* Reset GA cache

* Small refactoring

* Update mix.exs

* Remove unnecessary credo ignore

---------

Co-authored-by: POA <33550681+poa@users.noreply.github.com>
Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com>
DaMandal0rian added a commit to subspace/blockscout-backend that referenced this pull request Feb 27, 2024
* 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 5.0.1 to 6.0.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@v5.0.1...v6.0.0)

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

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.16 to 10.4.17.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.16...10.4.17)

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

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

* chore: docstrings and broken tests

* Shibarium Bridge indexer and API v2 extension (blockscout#8929)

* Define shibarium_bridge table

* Add ShibariumBridgeOperations runner

* Add init for Indexer.Fetcher.Shibarium.L1

* Draft for Indexer.Fetcher.Shibarium.L1

* mix format for Indexer.Fetcher.Shibarium.L1

* Fix Indexer.Fetcher.Shibarium.L1

* Refactor Indexer.Fetcher.Shibarium.L1

* Add draft (incomplete) for Indexer.Fetcher.Shibarium.L2

* Extend draft (incomplete) for Indexer.Fetcher.Shibarium.L2

* Extend draft (incomplete) for Indexer.Fetcher.Shibarium.L2

* Complete unrefactored Indexer.Fetcher.Shibarium.L2

* Improve Indexer.Fetcher.Shibarium.L2

* Prepare Indexer.Fetcher.Shibarium.L2 for transformer

* Add unrefactored Indexer.Transform.Shibarium.Bridge

* Small refactoring of Shibarium modules

* Refactoring

* Add API v2 for Shibarium Deposits and Withdrawals

* Small fixes

* Update changelog

* Fixes and refactoring

* Partially add specs and docs

* Partially add specs and docs

* Log topic type changed to bytea

* Small improvements

* Cache deposits and withdrawals counters for Shibarium

* Fixes for credo

* Fixes for Chain.import related to CHAIN_TYPE

* Reset GA cache

* Small refactoring

* Update mix.exs

* Remove unnecessary credo ignore

---------

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

* Change internal txs tracer type to opcode for Hardhat node (blockscout#9178)

* Handle nil token_ids in token transfers on render (blockscout#9143)

* Add `MARKET_HISTORY_FETCH_INTERVAL` env (blockscout#9197)

* feat: add basic blob fetcher tests

* fix: hide doctest behind chain type

* Fix flickering test

* Fix log decoding bug (blockscout#9241)

* Fix log decoding bug

* Add regression test

* Process review comment

* feat: add burn blob fee in tx view

* Fetch token image from CoinGecko (blockscout#9132)

* Fetch token image from CoinGecko

* Process reviewer comments

* Remove fetch_image function

* Enhanced unfetched token balances index (blockscout#9153)

* Enhanced unfetched token balances index

* Change token_type to id in the index

* Add /api/v2/utils/decode-calldata endpoint (blockscout#9148)

* Add /api/v2/utils/decode-calldata endpoint

* Process review comment

* Update apps/block_scout_web/lib/block_scout_web/controllers/api/v2/utils_controller.ex

Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com>

---------

Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com>

* Fix 500 response on token id which is not in DB (blockscout#9187)

* Fix Internal Server Error on request for nonexistent token instance

* Add spec and doc

* "cataloged" index on tokens table (blockscout#9233)

* chore: update default values

* Exclude genesis block from average block time calculation (blockscout#9173)

* Change PR number of tx denormalization

* Fix getblockreward; Add getblockcountdown actions

* Fix pending transactions sanitizer (blockscout#9261)

* Fix pending transactions sanitizer

* Add block consensus filters to list_transactions and list_token_transfers

* Add GET and POST /api/v2/smart-contracts/:address_hash/audit-reports (blockscout#9120)

* Add GET and POST /api/v2/smart-contracts/:address_hash/audit-reports

* Add envs to .env file

* Rename envs

* Process reviewer's comments

* Handle null envs

* Don't fetch first trace for pending transactions

* Add missing filters by non-pending transactions

* Process reviewers comments

* api v1 allow multiple slashes in the path before "api"

* Add bridged tokens functionality, could be enabled by compile time en… (blockscout#9169)

* Add bridged tokens functionality, could be enabled by compile time env var

* Process reviewer's comment

* Fix credo

* Process review comments

* Reset GA cache

* Fix warning

* User operation in the search

* Process reviewer comments

* 6.1.0

* Return OTP_VERSION: 25.2.1 for prerelease workflow

* Rollback Dockerfile Elixir/Erlanfg versions update

* Tx summary endpoint: Decode logs via sig provider as fallback; send 500 HTTP code on error

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

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

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

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.8 to 7.23.9.
- [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.9/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.23 to 0.8.24 in /apps/explorer

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

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

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

* Bump ex_doc from 0.31.0 to 0.31.1

Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.31.0 to 0.31.1.
- [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.31.0...v0.31.1)

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

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

* Bump floki from 0.35.2 to 0.35.3

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

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

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

* Bump exvcr from 0.15.0 to 0.15.1

Bumps [exvcr](https://github.com/parroty/exvcr) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/parroty/exvcr/releases)
- [Changelog](https://github.com/parroty/exvcr/blob/master/CHANGELOG.md)
- [Commits](parroty/exvcr@v0.15.0...v0.15.1)

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

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

* feat: blobs in search

* fix: tests

* fix: one more test

* fix: too many connections in tests

* chore: try to fix connection timeout

* Add workflow for Shibarium (blockscout#9303)

* Add publish-docker-image-for-shibarium.yaml

* Release and prerelease for shibarium

* Update changelog

* Remove arm64 from prerelease.yml for Shibarium

---------

Co-authored-by: POA <33550681+poa@users.noreply.github.com>
Co-authored-by: Nick Zenchik <n.zenchik@gmail.com>

* Add smart contract and names info to AA response

* Changelog

* Create repo setup actions

* Change index creation to concurrent

* Fix Blockscout version in pre-release workflow

* Bump hammer from 6.1.0 to 6.2.0

Bumps [hammer](https://github.com/ExHammer/hammer) from 6.1.0 to 6.2.0.
- [Changelog](https://github.com/ExHammer/hammer/blob/master/CHANGELOG.md)
- [Commits](ExHammer/hammer@v6.1.0...v6.2.0)

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

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

* Bump logger_json from 5.1.2 to 5.1.3

Bumps [logger_json](https://github.com/Nebo15/logger_json) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/Nebo15/logger_json/releases)
- [Commits](https://github.com/Nebo15/logger_json/commits)

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

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

* Bump sweetalert2 from 11.10.3 to 11.10.5 in /apps/block_scout_web/assets

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.10.3 to 11.10.5.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.10.3...v11.10.5)

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

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

* Bump mini-css-extract-plugin in /apps/block_scout_web/assets

Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.7.7 to 2.8.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/mini-css-extract-plugin@v2.7.7...v2.8.0)

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

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

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

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

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

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

* BRIDGED_TOKENS_ENABLED=true for Fuse and Gnosis chain Docker generation workflows

* Remove v6.0.0-dev branch from CI

* Bridged tokens envs to common-blockscout.env

* Fuse docker image to release CI

* Bump postcss-loader from 8.0.0 to 8.1.0 in /apps/block_scout_web/assets

Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases)
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/postcss-loader@v8.0.0...v8.1.0)

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

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

* Bump @babel/core from 7.23.7 to 7.23.9 in /apps/block_scout_web/assets

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.7 to 7.23.9.
- [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.9/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 css-loader from 6.9.1 to 6.10.0 in /apps/block_scout_web/assets

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.9.1 to 6.10.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/css-loader@v6.9.1...v6.10.0)

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

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

* Bump sass-loader from 14.0.0 to 14.1.0 in /apps/block_scout_web/assets

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 14.0.0 to 14.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@v14.0.0...v14.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 webpack from 5.89.0 to 5.90.1 in /apps/block_scout_web/assets

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

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

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

* Include null gas price txs in fee calculations

* fix: more review comments

* chore: update env defaults

* Define BRIDGED_TOKENS_ENABLED env in Dockerfile

* Fixing stats DB connection vars

* uniform namings for DB containers

* fix: transaction blobs order in API

* chore: move blob function out of chain.ex

* Fix dialyzer and add TypedEctoSchema

* Add base and priority fee to gas oracle response

* Process nikitosing4 review

* Fix manual uncle reward calculation

* fix: linter

* Bump credo from 1.7.3 to 1.7.4

Bumps [credo](https://github.com/rrrene/credo) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/rrrene/credo/releases)
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md)
- [Commits](rrrene/credo@v1.7.3...v1.7.4)

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

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

* Bump postcss from 8.4.33 to 8.4.35 in /apps/block_scout_web/assets

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

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

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

* Bump mixpanel-browser in /apps/block_scout_web/assets

Bumps [mixpanel-browser](https://github.com/mixpanel/mixpanel-js) from 2.48.1 to 2.49.0.
- [Release notes](https://github.com/mixpanel/mixpanel-js/releases)
- [Changelog](https://github.com/mixpanel/mixpanel-js/blob/master/CHANGELOG.md)
- [Commits](mixpanel/mixpanel-js@v2.48.1...v2.49.0)

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

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

* Process integer balance in genesis.json

* Fix read contract bug (blockscout#9300)

* Fix read contract bug

* Changelog

* Parse contract codes and balances from custom genesis.json (blockscout#9349)

* Parse contract codes and balances from custom genesis.json

* Process reviewer comment

* Process reviewer comment

* Add fallback effective gas price calculation (blockscout#9305)

* Add fallback effective gas price calculation

* Process review comments

* Noves.fi: add proxy endpoint for describeTxs endpoint (blockscout#9351)

* Add describeTxs endpoint

* Support input tx hashes through comma-separated

* Update apps/explorer/lib/explorer/third_party_integrations/noves_fi.ex

Co-authored-by: nikitosing <32202610+nikitosing@users.noreply.github.com>

* Split noves_fi_api_request into 2 clauses

---------

Co-authored-by: nikitosing <32202610+nikitosing@users.noreply.github.com>

* Remove ERC-1155 logs params from coin balances params

* Filter non-traceable transactions for zetachain

* Disable "no internal txs for some transactions" check for zetachain

* Add license_type field to smart_contracts table; Forward license_type through verification endpoints

* Changelog

* Some fixes

* Fix tests

* Process review comment

* Minor changes

* Define chain type

* Prepare zkevm_bridge table and its importer

* Add zkevm_bridge_l1_tokens table

* Small changes

* Draft

* Draft

* Prepare for filling and scanning zkevm_bridge_l1_tokens table

* Preliminary Indexer.Fetcher.Zkevm.BridgeL1

* Add l2_token_address field for preliminary Indexer.Fetcher.Zkevm.BridgeL1

* Refactor Indexer.Fetcher.Zkevm.BridgeL1

* Add Indexer.Fetcher.Zkevm.BridgeL2

* Add Indexer.Transform.Zkevm.Bridge

* Fix operation type

* Fix Explorer.Chain.Import.Runner.Zkevm.BridgeOperations

* Add API v2 for Polygon zkEVM bridge operations

* Update changelog

* Update changelog

* Add envs to common-blockscout.env

* Rename `uninserted` to `not inserted`

* Small refactoring

* Remove redundant function

* Fixes after rebase

* Fixes for Chain.import related to CHAIN_TYPE

* Small refactoring

* Move L1 RPC requests from realtime block handler to a separate GenServer

* Refactoring

* Add doc comments for public functions

* Fix spelling

* Add Indexer.Fetcher.RollupL1ReorgMonitor module and remove duplicated code

* Update spelling

* Allow using Indexer.Fetcher.RollupL1ReorgMonitor for more than one module of the same rollup

* mix format and update spelling

* Use timestamp_to_datetime

* Split RPC requests for blocks into chunks

* Refactor Indexer.Block.Fetcher

* Reset GA cache

* Update chain.ex

* Update changelog

* Optimize addresses preloads in account abstraction proxy (blockscout#9377)

* feat: batch address selects and preloads

* fix: review comments

* chore: changelog

* Filter empty values in token update

* Rename Zkevm to PolygonZkevm

* Fix using of startblock/endblock in API v1 list endpoints: txlist, txlistinternal, tokentx (blockscout#9364)

* Fix using of startblock/endblock in API v1 list endpoints: txlist, txlistinternal, tokentx

* Add CHANGELOG entry

* chore: bump actions/cache to v4 (blockscout#9393)

* chore: bump actions/cache to v4

* chore: changelog

* More-Minimal Proxy support (blockscout#9396)

* Minimal Proxy (blockscout#9365)

Co-authored-by: gimlu <gimlu@gimlu.com>

* Add CHANGELOG, fix tests

* Clear GA cache and refactoring

---------

Co-authored-by: GimluCom <79271880+GimluCom@users.noreply.github.com>
Co-authored-by: gimlu <gimlu@gimlu.com>

* Move missing ranges sanitize to a separate background migration

* Improve marking of failed internal transactions (blockscout#9306)

* fix: marking parent transaction reverts

* chore: changelog

* fix: don't count itself as a parent

* Output user address as an object in API v2 for Shibarium (blockscout#9389)

* Output user address as an object in API v2 for Shibarium

* Update changelog

* Preload shibarium addresses in views

* Handle unique violation

* update

* Add CI workflow for Shibarium branch

---------

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

* Fix Shibarium workflow name

* Fix outdated deps cache in CI (blockscout#9398)

* chore: try with --skip-umbrella-children

* chore: try with double caching

* chore: revert to single cache

* chore: changelog

* Create Indexer.Fetcher.TokenInstance.{SanitizeERC721, SanitizeERC1155… (blockscout#9226)

* Create Indexer.Fetcher.TokenInstance.{SanitizeERC721, SanitizeERC1155}; Move token instances to BlockReferencing stage

* Add envs to .env file

* Fix dialyzer

* Process review comments

* Add env to .env file

* Retry ERC-721 token instance metadata fetch from baseURI + tokenID (blockscout#9257)

* Retry to fetch token instance metadata from baseURI + tokenId, if fetch from tokenURI return vm execution error

* Process review comments

* Filter out Vyper contracts in Solidityscan endpoint

* Return indexed raio 1 when there is only 0 block in the chain

* indexed_ratio_blocks value is 1, if no blocks

* Null round handling (blockscout#9403)

* Null round handling

* Add repo for filecoin chain type

* Add repo for filecoin chain type

* Modify gas price constraint for Filecoin as it for PolygonEdge

* Fix null round heights db type

* Add filecoin to chain-type matrix

---------

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

* Filecoin JSON RPC variant

* Fix index definition

* Fix parsing contract creation

* Bump core-js from 3.35.1 to 3.36.0 in /apps/block_scout_web/assets

Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.35.1 to 3.36.0.
- [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.36.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  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.4.0 to 2.4.1.
- [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases)
- [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/analytics-browser@2.4.0...@amplitude/analytics-browser@2.4.1)

---
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 webpack from 5.90.1 to 5.90.3 in /apps/block_scout_web/assets

Bumps [webpack](https://github.com/webpack/webpack) from 5.90.1 to 5.90.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.90.1...v5.90.3)

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

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

* Bump sass-loader from 14.1.0 to 14.1.1 in /apps/block_scout_web/assets

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 14.1.0 to 14.1.1.
- [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@v14.1.0...v14.1.1)

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

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

* Bump sass from 1.70.0 to 1.71.0 in /apps/block_scout_web/assets

Bumps [sass](https://github.com/sass/dart-sass) from 1.70.0 to 1.71.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.70.0...1.71.0)

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

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

* Eliminate incorrect token transfers with empty token_ids

* Refactor weth transfers sanitizing

Co-authored-by: nikitosing <32202610+nikitosing@users.noreply.github.com>

* Refactor token transfers migration name

* Add Enum.uniq before sanitizing token transfers

* Token transfers denormalization

* Denormalization names refactoring + small token transfer type fix

* Create token_transfers token_type index concurrently

* Add block_consensus to token_transfers

* Update updated_at along with block consensus in internal transactions runner

* Refactoring, cover with tests

* Fetch coin balances in async mode in realtime fetcher (blockscout#9182)

* Fetch coin balances in async mode in realtime fetcher

* Coin balances fetcher refactor

* Don't filter non-traceable blocks in realtime coin balances fetcher

* Rename some Noves.fi proxy endpoints

* Solidityscan integration enhancements

* Add `debug_traceBlockByNumber` to `method_to_url`

* Change bens address seach  to get_address func

* Remove Noves.fi /describe endpoint since it is unused anymore

* update changelog

* Fix quick search bug

* Changelog

* v6.2.0

* Update master tag with pre-release workflow

* add docker compose changes for gemini-3h

remove old files

* fix nginx proxy on container

* remove DB URL env variable

* change fronend URLs env variables

* update CI workflow

* update CI workflow

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Victor Baranov <baranov.viktor.27@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kirill Fedoseev <kirill@blockscout.com>
Co-authored-by: varasev <33550681+varasev@users.noreply.github.com>
Co-authored-by: POA <33550681+poa@users.noreply.github.com>
Co-authored-by: Qwerty5Uiop <105209995+Qwerty5Uiop@users.noreply.github.com>
Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com>
Co-authored-by: nikitosing <32202610+nikitosing@users.noreply.github.com>
Co-authored-by: Qwerty5Uiop <alex000010@bk.ru>
Co-authored-by: Nikita Pozdniakov <nikitosing4@mail.ru>
Co-authored-by: Nick Zenchik <n.zenchik@gmail.com>
Co-authored-by: GimluCom <79271880+GimluCom@users.noreply.github.com>
Co-authored-by: gimlu <gimlu@gimlu.com>
Co-authored-by: sevenzing <41516657+sevenzing@users.noreply.github.com>
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.

None yet

3 participants