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

Upstream merge #6

Merged
merged 93 commits into from
May 1, 2024
Merged

Upstream merge #6

merged 93 commits into from
May 1, 2024

Conversation

raj-shekhar1
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 April 2, 2024 11:18
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.3 to 5.91.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.90.3...v5.91.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.24.0 to 7.24.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.24.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: GraphQL management env vars

* Process review comment
* Add support for Polygon zkEVM bridge v2 (draft version)

* Refactoring for mix credo

* Fix config/runtime.exs

* Support arbitrary network ids

* Additional env variables

* Fixes for the bridge

* Update changelog

* Fix spelling

* mix format

* Sanitize token decimals in zkevm and tx action modules

* Small refactoring

* Update spelling

---------

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

Bumps [sass](https://github.com/sass/dart-sass) from 1.71.1 to 1.72.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.71.1...1.72.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.18 to 10.4.19.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.18...10.4.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: Update holder_count n db from ETS module

* Update apps/explorer/lib/explorer/chain/token.ex

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

* Update apps/explorer/lib/explorer/counters/token_holders_counter.ex

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

* update token holders cache in async mode

* Fixing tests

---------

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

* feat: Add /api/v2/tokens/:address_hash_param/holders/csv endpoint

* Remove divide_decimals/2 in BlockScoutWeb.CurrencyHelper
* fix: Add block range check into OP Withdrawals fetcher

* Refactor

* Add the same check for Polygon Edge

* Fix spec for fill_block_range function

---------

Co-authored-by: POA <33550681+poa@users.noreply.github.com>
* Contract code on-demand fetcher

* Review comments #1

* Review comments #2: ignore addresses with nonce

* Review comments 3: fix threshold calculation

* Refine trigger_fetch function

* Skip updating retries number in case of failed eth_getCode response
* update env for new coingecko

* fix(cmc env) - add cmc to env

* nit(add changelog)

* fix(base_url override) fix comments

* fix(changelog) remove changelog changes
* ci: remove polygon edge and suave from CI runs

* ci: run chain type workflows based on pr labels

* chore: keep suave and polygon_edge as optional

* ci: update matrix selection logic

* ci: re-run ci if PR is relabeled

* ci: fix default chain type

* ci: refactor default chain types
* Arbitrum internal transactions fetching support

* Remove arbitrum JSON RPC variant

* CHAIN_TYPE=arbitrum

* Add indexer test

* Update apps/explorer/lib/explorer/chain/internal_transaction/call_type.ex

Co-authored-by: Kirill Fedoseev <kirill@blockscout.com>

* Update apps/explorer/lib/explorer/chain/internal_transaction/type.ex

Co-authored-by: Kirill Fedoseev <kirill@blockscout.com>

* Process review comments

---------

Co-authored-by: Kirill Fedoseev <kirill@blockscout.com>
* fix: Replace tx gas_price with effectiveGasPrice from receipt

* Fix format
* feat: Add rate limits to graphQL API

* Fix tests

* Process review comments

* Update common-blockscout.env
…9724)

* feat: Support verifier alliance and eth-bytecode-db v1.7.0 changes

* Fix bug and tests

* Add tests

* Process review comments
* feat: Integrate Metadata microservice

* Fix formatting
…int (#9668)

* Add /api/v2/blocks/{hash_or_number}/internal-transactions endpoint

* Fix tests

* Fix tests

* Add tests

* Changelog

* Revert CHANGELOG.md

* Process review comment

* Fix credo
Bumps [plug_cowboy](https://github.com/elixir-plug/plug_cowboy) from 2.7.0 to 2.7.1.
- [Changelog](https://github.com/elixir-plug/plug_cowboy/blob/master/CHANGELOG.md)
- [Commits](elixir-plug/plug_cowboy@v2.7.0...v2.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
GimluCom and others added 29 commits April 18, 2024 15:07
* Enhance index for token holders list

* Separate index creation and deletion to different migrations
…query conditions (#9912)

* fix: Adjust unfetched_address_token_balances_index to fit all bound query conditions

* Rewrite indexes in Ecto meta-language

* mix format
* Paging function edge cases fix

* Process other edge cases of zeros in pagination function input

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

Co-authored-by: Qwerty5Uiop <105209995+Qwerty5Uiop@users.noreply.github.com>

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

Co-authored-by: Qwerty5Uiop <105209995+Qwerty5Uiop@users.noreply.github.com>

* Fix tests

* Process review comment

* fix formatting

---------

Co-authored-by: Qwerty5Uiop <105209995+Qwerty5Uiop@users.noreply.github.com>
* Certified smart-contracts

* Prioritize certified smart-contracts in the search

* Refactoring: remove CustomContractsHelper

* Return certified in the list and in the search

* mix format

* Fix tests

* Process review comment
* fix: Fix metadata preload

* Add regression test
…9779)

* feat: Add ENS category to search result; Add ENS to check-redirect

* Fix missed type in search result

* Add @SPEC and @doc
"This update involves replacing the old Twitter icon with the new 'X' icon from Font Awesome."

Co-authored-by: bishalghimire1 <80529795+bishalghimire1@users.noreply.github.com>
* fix: Fix incorrect image_url parsing from NFT meta

* Add regression test
* Initial implementation of precompiled contracts ABI import

* Documention added

* address Sobelow finding

* another attempt address Sobelow finding

* Apply evident suggestions from code review

Co-authored-by: Kirill Fedoseev <kirill@blockscout.com>

* Fix afer merge

* Small inconsistency in spec

* different path for different mix environment

* fix for formatting issue

---------

Co-authored-by: Kirill Fedoseev <kirill@blockscout.com>
Bumps [floki](https://github.com/philss/floki) from 0.36.1 to 0.36.2.
- [Release notes](https://github.com/philss/floki/releases)
- [Changelog](https://github.com/philss/floki/blob/main/CHANGELOG.md)
- [Commits](philss/floki@v0.36.1...v0.36.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [redix](https://github.com/whatyouhide/redix) from 1.4.1 to 1.5.0.
- [Changelog](https://github.com/whatyouhide/redix/blob/main/CHANGELOG.md)
- [Commits](whatyouhide/redix@v1.4.1...v1.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@raj-shekhar1 raj-shekhar1 merged commit c6b9d4b into clearmatics:master May 1, 2024
13 of 14 checks passed
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.