This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
forked from blockscout/blockscout
-
Notifications
You must be signed in to change notification settings - Fork 0
Pull Upstream #8
Open
boyuan-chen
wants to merge
5,700
commits into
omgnetwork:master
Choose a base branch
from
blockscout:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* chore: Optimize CurrentTokenBalances import runner * Update apps/explorer/lib/explorer/chain/import/runner/address/current_token_balances.ex Co-authored-by: Maxim Filonov <[email protected]> * CurrentTokenBalance runner optimization refactor --------- Co-authored-by: Maxim Filonov <[email protected]>
…d_system_config` for fallback cases (#11275) * Fix init in RollupL1ReorgMonitor * Update PULL_REQUEST_TEMPLATE * Fix init in RollupL1ReorgMonitor * Update PULL_REQUEST_TEMPLATE * Fix read_system_config function for fallback cases * Update rollup_l1_reorg_monitor.ex Co-authored-by: Victor Baranov <[email protected]> --------- Co-authored-by: POA <[email protected]> Co-authored-by: Victor Baranov <[email protected]>
* feat: Add gzip encoding option * add ETHEREUM_JSONRPC_HTTP_GZIP_ENABLED to common-blockscout.env * Update config/runtime.exs Co-authored-by: Victor Baranov <[email protected]> --------- Co-authored-by: Viktor Baranov <[email protected]>
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.47 to 8.4.49. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.4.47...8.4.49) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ts (#11313) Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.25.4 to 7.26.0. - [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.26.0/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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…11312) Bumps [crypto-browserify](https://github.com/browserify/crypto-browserify) from 3.12.0 to 3.12.1. - [Commits](browserify/crypto-browserify@v3.12.0...v3.12.1) --- updated-dependencies: - dependency-name: crypto-browserify dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 4.4.6 to 4.4.7. - [Release notes](https://github.com/chartjs/Chart.js/releases) - [Commits](chartjs/Chart.js@v4.4.6...v4.4.7) --- updated-dependencies: - dependency-name: chart.js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…11306) Bumps [mixpanel-browser](https://github.com/mixpanel/mixpanel-js) from 2.55.1 to 2.56.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.55.1...v2.56.0) --- updated-dependencies: - dependency-name: mixpanel-browser dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1310) Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.25.2 to 7.26.0. - [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.26.0/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@amplitude/analytics-browser](https://github.com/amplitude/Amplitude-TypeScript) from 2.11.8 to 2.11.9. - [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases) - [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/[email protected]...@amplitude/[email protected]) --- updated-dependencies: - dependency-name: "@amplitude/analytics-browser" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [sass](https://github.com/sass/dart-sass) from 1.79.4 to 1.81.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.79.4...1.81.0) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 6.6.0 to 6.7.1. - [Release notes](https://github.com/FortAwesome/Font-Awesome/releases) - [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md) - [Commits](FortAwesome/Font-Awesome@6.6.0...6.7.1) --- updated-dependencies: - dependency-name: "@fortawesome/fontawesome-free" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* perf: optimize internal transactions query * perf: optimize transactions query
* fix: Get rid of scientific notation in CSV token holders export * Fix credo
* chore: refactor dockerfile * chore: update eth-sepolia ci
Bumps [ecto](https://github.com/elixir-ecto/ecto) from 3.12.4 to 3.12.5. - [Release notes](https://github.com/elixir-ecto/ecto/releases) - [Changelog](https://github.com/elixir-ecto/ecto/blob/master/CHANGELOG.md) - [Commits](https://github.com/elixir-ecto/ecto/commits) --- updated-dependencies: - dependency-name: ecto dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add CSV export of epoch transactions for address * fix: pagination in election rewards for delegated payments * fix: block fetcher test * chore: remove N/A columns from CSV export table * fix: ecto errors bacause of `select_merge: block_number` * fix: avoid scientific notation * fix: correct usage of sigils * chore: process review comments * refactor: remove unnecessary import
* feat: Integrate metadata tags to search * Fix incompatibility with hide_scam_addresses * Refactor maybe_hide_scam_addresses/3 * Process review comment
…false` (#11727) * refactor: move `create_or_update_smart_contract/2` to `SmartContract` module * refactor: consolidate `publish_smart_contract/3` and `publish_smart_contract/4` clauses * fix: add sanitizer of addresses * chore: add doc and spec * feat: configure migration batch size and concurrency with envs * feat: update cache when migration is finished * fix: add fallback for the case when value in the cache was not set * chore: process review by @nikitosing * feat: add `MIGRATION_SANITIZE_VERIFIED_ADDRESSES_DISABLED` * process review comments * chore: configure migration timeout with env * chore: add new envs to `common-blockscout.env` * chore: log success ensuring `{:ok, smart_contract}` is returned from `SmartContract.create_or_update_smart_contract/3`
* Remove /api/v1/health endpoint (#11550) * Update outdated links to ETH JSON RPC Specification in docstrings * Remove empty line * Remove /api/v1/health endpoint * Finalize community PR * Remove unused functions * Fix /api/health endpoint in indexer mode * Rename BlockScoutWeb.API.V1.HealthController to BlockScoutWeb.API.HealthController --------- Co-authored-by: Kevin Mathew <[email protected]>
…1736) * feat: Adds support for NeonVM linked Solana transactions (#11667) * Update apps/block_scout_web/lib/block_scout_web/routers/api_router.ex Co-authored-by: Victor Baranov <[email protected]> * fixes endpoints in the tests --------- Co-authored-by: r0wdy1 <[email protected]> Co-authored-by: vladimir <[email protected]>
Mention the required `NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID` environment variable to enable blockchain interaction via web3 modal.
* feat: DB Index heavy operations processing module * Add ability to manage order of DB operations * Add DB index operations for token_transfers table * Add DB index operations for internal_transactions table * Extra `logs` table indexes optimization * Change internal_transactions table index definition * Add index logs_address_hash_first_topic_block_number_index_index * Convert index heavy_indexes_add_logs_address_hash_block_number_index_index to heavy_indexes_add_logs_address_hash_block_number_desc_index_desc_index * Add running_heavy_migration_exists? check * Process AI agent comments * Intoroduce :not_applicable status for restart_db_index_operation function * Fix restart_db_index_operation function return * Add tests * Process AI agent comments * Apply HeavyDbIndexOperationHelper.safely_drop_db_index for drop index operations * Skip `concurrently` option for restart of deop index operations * Fix cspell * Fix cspell * operation_type and table_name callbacks. Take into account table name in `running_heavy_migration_for_table_exists?` * Fix `running_other_heavy_migration_for_table_exists?` query * Fix doc of operation_type callback * Update check_db_index_dropping_progress function * Remove default value in drop_index_query_string * Set timeout infinity for drop/create index operations * Remove concurrently? external flag * Remove unused check_db_index_creation_progress function * Update apps/explorer/lib/explorer/migrator/heavy_db_index_operation/helper.ex Co-authored-by: Fedor Ivanov <[email protected]> * Rename get_migrations_status to fetch_migration_statuses * Process :unknown status in db_index_creation_status * Fix confusion in `check_db_index_operation_progress` function: it is applied to dropping and creation index operations * Refactoring of apps/explorer/config/config.exs * Process AI agent comment: refactor Explorer.Chain.Cache.BackgroundMigrations module * Refactor migration_name definition * Fix bug in check_db_index_operation_progress function * Fix tests * Reactoring config.exs and test.exs * refactor: move `create_or_update_smart_contract/2` to `SmartContract` module * refactor: consolidate `publish_smart_contract/3` and `publish_smart_contract/4` clauses * Revert dialyzer changes * fix: add sanitizer of addresses * Process review comments * chore: add doc and spec * feat: configure migration batch size and concurrency with envs * feat: update cache when migration is finished * perf: slightly improve query performance * fix: use `address.verified == true` filter only if `addresses` table is sanitized * feat: add partial index by `verified` field on `addresses` table * fix: query error when `HIDE_SCAM_ADDRESSES=true` is set --------- Co-authored-by: Viktor Baranov <[email protected]>
* fix: Don't store ipfs gateway in metadata * Also handle ipfs links in API response * Improve tests * Fix test
…e "MIGRATION_" prefix (#11798) * refactor: All env variables related to DB migration processes now have "MIGRATION_" prefix * Return back SHRINK_INTERNAL_TRANSACTIONS_ENABLED
* consistent results of timestamp_to_block_number * code duplication removed * unit test fixed * move_by_one reused from BlockNumberHelper * separate module for tests * code review comments addressed * test corrected * removing handling null rounds in strict mode * prevent moving below the configured first block * first_block is 0 by default
* feat: Improve NFT sanitizers * Fix tests * Add MIGRATION_ prefix * Process review comment
* feat: NFT collection trigger refetch Admin API endpoint * Add a separate queue to refetch NFT collections * Remove duplicated alias for Explorer.Chain.Token.Instance * Process review comments * Update InstanceTest * Process review comments * Rename endpoint * Rename endpoint in the tests
…endpoints (#11808) * chore: Create /api/v2/proxy/3dparty/ root path for 3dparty proxy API endpoints * Update cspell * Remove ZERION envs from common-blockscout.env
… images for indexer and API separately
* fix: Fix scam addresses ban in quick search * Fix dialyzer
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub keywords to close any associated issues
Motivation
Why we should merge these changes. If using GitHub keywords to close issues, this is optional as the motivation can be read on the issue page.
Changelog
Enhancements
Things you added that don't break anything. Regression tests for Bug Fixes count as Enhancements.
Bug Fixes
Things you changed that fix bugs. If a fixes a bug, but in so doing adds a new requirement, removes code, or requires a database reset and reindex, the breaking part of the change should be added to Incompatible Changes below also.
Incompatible Changes
Things you broke while doing Enhancements and Bug Fixes. Breaking changes include (1) adding new requirements and (2) removing code. Renaming counts as (2) because a rename is a removal followed by an add.
Upgrading
If you have any Incompatible Changes in the above Changelog, outline how users of prior versions can upgrade once this PR lands or when reviewers are testing locally. A common upgrading step is "Database reset and re-index required".
Checklist for your Pull Request (PR)
CHANGELOG.md
with this PRmaster
in the Version column. Changes will be reflected in this table: https://docs.blockscout.com/for-developers/information-and-settings/env-variables.