Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Pull Upstream #8

Open
wants to merge 5,712 commits into
base: master
Choose a base branch
from
Open

Pull Upstream #8

wants to merge 5,712 commits into from

Conversation

boyuan-chen
Copy link

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)

dependabot bot and others added 30 commits December 2, 2024 12:18
…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
* fix: Return 404 instead of 200 for nonexistent NFT

* Fix test

* Rename test
* fix: Fix log decoding bug

* Small optimization

* Remove var
* chore: refactor compile time envs usage

* Add doc

Co-authored-by: Alexander Kolotov <[email protected]>

* Add doc

Co-Authored-By: Alexander Kolotov <[email protected]>

* Add custom credo check

---------

Co-authored-by: Alexander Kolotov <[email protected]>
* Init

* some changes

* Add is_banned filling logic

* Add tests

* Set null: true in migration

* Process review comments
* fix: Upgrade fallback urls propagation

* Refactor parse_urls_list/2
* Added endpoints /api/v2/arbitrum/messages/from-rollup/:msg_id{/proof}

* Fetching additional data

* Fix node parsing

* Getting size parameter for constructOutboxProof

* Retrieving calldata for executeTransaction method

* Tuning endpoint

* Added endpoint to fetch withdrawals by tx hash

* Moving code [wip]

* Fetching withdrawal status, code refactoring

* Fix issues

* Decoding data for token withdrawals [wip]

* Moving modules (Explorer.Arbitrum.ClaimRollupMessage, Explorer.Arbitrum.Withdraw)

* Reusing Indexer.Fetcher.Arbitrum.Messaging.l2_to_l1_event_parse/1

* Return message_id for withdrawals in Arbitrum message related info (/tx endpoint)

* Returning token amount in withdrawals

* Fix typing

* Format code

* Fixed dialyzer issues, removed debug logs

* Spelling&formatting issues

* Fix credo issues

* Minor cosmetic fixes

* Added indexer dependency to explorer

* Fix issues

* Specify l2_to_l1_event_parse return type

* Specify l2_to_l1_event_parse argument type

* Changing naming convention in accordance with #10913

* Fix merge errors

* Added api? option

* Fix l2_to_l1_message_with_id method

* Introducing EthereumJSONRPC.Arbitrum module

* Moving routines from Indexer.Fetcher.Arbitrum.Utils.Rpc to EthereumJSONRPC.Arbitrum

* Moving `transaction_to_logs_by_topic0` from `Explorer.Chain` to `Explorer.Chain.Arbitrum.Reader`

* Added comments to the private routines

* Renaming function get_latest_confirmed_l2_to_l1_message_id -> get_latest_confirmed_node_index

* Fix `Indexer.Fetcher.Arbitrum.Utils.Rpc.get_node` description

* Minor refactoring and renaming

* Moving RPC-specific routines to the `EthereumJSONRPC.Arbitrum` module

* Prioritizing database routines

* Minor refactoring, fix issues

* Fixing dialyzer issues, commenting and reordering routinnes

* Added comment (BlockScoutWeb.API.V2.ArbitrumView.render("message.json"))

* Minor refactoring

* Update apps/explorer/lib/explorer/chain/arbitrum/reader.ex

Co-authored-by: Alexander Kolotov <[email protected]>

* Refactoring l2->l1 events parsing

* Removing unneeded conversion

* Added simple way to obtain size for proof

* Update apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/arbitrum.ex

Co-authored-by: Alexander Kolotov <[email protected]>

* Fix review issues

* Fix comments

* Added description of the code flow

* Update apps/explorer/lib/explorer/arbitrum/claim_rollup_message.ex

Co-authored-by: Alexander Kolotov <[email protected]>

* Renaming log_to_withdraw/1 to log_to_withdrawal/1

* Introducing `get_size_for_proof` routine

* Fix spelling

* Double checking withdrawal status received from the database

* Fixed code format issue

* Apply suggestions from code review

Comments issues

Co-authored-by: Alexander Kolotov <[email protected]>

* Minor refactoring

* The one more fix

* Apply suggestions from code review

Co-authored-by: Victor Baranov <[email protected]>

* Renaming /api/v2/arbitrum/messages/claim/ endpoint parameter (position -> message_id)

* Removing unneeded Logger requirement

* Removed unneeded spec

* Introducing log_with_transactions_query function in `Explorer.Chain`

* Minor changes in `Explorer.Arbitrum.ClaimRollupMessage`

---------

Co-authored-by: Alexander Kolotov <[email protected]>
Co-authored-by: Victor Baranov <[email protected]>
* feat: CDN

* Add uniqueness cache

* Add ipfs user agent header; Enable health endpoints

* Reduce logs amount

* Handle possible TokenInstanceMetadataRefetch changes in metadata: store in uniqueness cache result, not primary key for token instance

* Refactoring: nft_media_handler_dispatcher_interface -> nft_media_handler; nft_media_handler_dispatcher -> indexer

* Fix credo

* Handle possible dets errors; Optimize thumbnails storage + rename media_urls field

* Process review comments + hardcode ./tmp dir

* Process review comments

* Process review comments #1

* Process review comments #2

* Process review comments #3

* Fix tests

* Fix credo
nikitosing and others added 30 commits February 6, 2025 10:09
* 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
* fix: Fix scam addresses ban in quick search

* Fix dialyzer
Required for repo verification for OP retro funding round
#11837)

* fix: Allow skip fiat_value in /api/v2/addresses/{hash}/tokens endpoint

* Format

* Update CHANGELOG

---------

Co-authored-by: Viktor Baranov <[email protected]>
* fix: `/verified-contracts` in old UI

* More fixes for old UI

---------

Co-authored-by: Viktor Baranov <[email protected]>
…ontend (#11838)

FRONT_PROXY_PASS is necessary for using the external frontend when the backend is set up using docker compose.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.