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

1 #9

Merged
merged 143 commits into from
Jun 22, 2024
Merged

1 #9

merged 143 commits into from
Jun 22, 2024

Conversation

istoril
Copy link
Collaborator

@istoril istoril commented Jun 22, 2024

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)

akolotov and others added 30 commits April 29, 2024 12:24
* 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>
)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.24.3 to 7.24.5.
- [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.5/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>
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 6.5.1 to 6.5.2.
- [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.5.1...6.5.2)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-free"
  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>
…out#10000)

Bumps [mixpanel-browser](https://github.com/mixpanel/mixpanel-js) from 2.49.0 to 2.50.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.49.0...v2.50.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.10.7 to 11.10.8.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.10.7...v11.10.8)

---
updated-dependencies:
- dependency-name: sweetalert2
  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 [css-loader](https://github.com/webpack-contrib/css-loader) from 6.10.0 to 7.1.1.
- [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.10.0...v7.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ets (blockscout#10001)

Bumps [@amplitude/analytics-browser](https://github.com/amplitude/Amplitude-TypeScript) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases)
- [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/analytics-browser@2.6.1...@amplitude/analytics-browser@2.7.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…cout#9999)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.24.3 to 7.24.5.
- [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.5/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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…lockscout#9997)

Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.8.1 to 2.9.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.8.1...v2.9.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…9995)

Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 3.3.4 to 4.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/style-loader@v3.3.4...v4.0.0)

---
updated-dependencies:
- dependency-name: style-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: Bump ex_cldr_units from 3.16.5 to 3.17.0

Bumps [ex_cldr_units](https://github.com/elixir-cldr/cldr_units) from 3.16.5 to 3.17.0.
- [Release notes](https://github.com/elixir-cldr/cldr_units/releases)
- [Changelog](https://github.com/elixir-cldr/cldr_units/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-cldr/cldr_units/commits/v3.17.0)

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

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

* Add cldr to dialyzer ignore

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com>
Bumps [ex_cldr](https://github.com/elixir-cldr/cldr) from 2.38.0 to 2.38.1.
- [Release notes](https://github.com/elixir-cldr/cldr/releases)
- [Changelog](https://github.com/elixir-cldr/cldr/blob/main/CHANGELOG.md)
- [Commits](elixir-cldr/cldr@v2.38.0...v2.38.1)

---
updated-dependencies:
- dependency-name: ex_cldr
  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 [ex_cldr_numbers](https://github.com/elixir-cldr/cldr_numbers) from 2.32.4 to 2.33.1.
- [Release notes](https://github.com/elixir-cldr/cldr_numbers/releases)
- [Changelog](https://github.com/elixir-cldr/cldr_numbers/blob/main/CHANGELOG.md)
- [Commits](elixir-cldr/cldr_numbers@v2.32.4...v2.33.1)

---
updated-dependencies:
- dependency-name: ex_cldr_numbers
  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>
…ckscout#10018)

* feat: Omit balanceOf requests for tokens that doesn't support it

* Missing balanceOf token refactoring

* Fix failed token balance error matching
…ockscout#9864)

* Detect EIP-1967 proxy even for not verified smart-contracts

* put_verified_from_twin/2 function

* Implement proxy implementation model

* Fix test

* Fix DB migration

* Refactoring

* Fix tests

* Change schema to store implementation arrays

* Refactoring

* Update apps/explorer/lib/explorer/etherscan/contracts.ex

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

* Process review comments

* Fix call of Implementation.get_implementation_address_hash

* Refactor save_implementation_data/5 to save_implementation_data/4

* Process review comment

* Remove duplicate call of implementation_updated_at

* Eliminate metadata_from_verified_bytecode_twin from save_implementation_data function

* Fix formatting

* Set non-nil smart-contract into Implementation.get_implementation_address_hash(...)

* Simplify clauses in save_implementation_data/3

* Get implementation data in a single DB request

* Fix tests

* Set different proxy verification success message in case of single/plural implementations

* Refactoring

---------

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

Co-authored-by: POA <33550681+poa@users.noreply.github.com>
* feat: save smart-contract proxy type in the DB

* Add tests

* Allow null proxy type in DB

* Fix tests
Stats container env variables was not working correctly
…ockscout#9994)

* chore: Migrate to GET variant of {{metadata_url}}/api/v1/metadata

* Fix test
* fix: Don't put error to NFT metadata

* Remove unused Explorer.Helper.maybe_decode/1
* feat: add user ops indexer to docker compose configs

* fix: missing env in .gitignore
* fix: search for long integers

* fix: ignore negative block numbers

* chore: move `safe_parse_block_number` to `Explorer.Helper`

* refactor: make function name more generic

* refactor: utilize `safe_parse_non_negative_integer` in `paging_options`
sl1depengwyn and others added 29 commits June 12, 2024 17:22
* feat: Advanced Filters

* Fix query performance

* Fix timestamp filtering; Fix query construction

* Add csv export

* Frontend integration

Add search_params to response
Add limit to tokens endpoint
Add fee in api response
Add exclusion/inclusion of from/to addresses
Remove raw_input from api response

* Remove comment

* Add methods search; Optimize internal txs query

* Fix `method_id_to_name_from_params`

* Fix filtering by amount; add filter by native

* Fix review comments

* Handle all token types

* Optimize query

* Process review comments

* Process review comments

---------

Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com>
…ZkSync Hyperchain (blockscout#10234)

* unified tx_hash field with Arbitrum batch transaction

* Supported yet another contract function to submit batches proofs

* fixed formatting issue
)

* feat: Re-fetch token instance metadata

* Partially process review comments

* Process reviewer comments. Part 2

* Process reviewer comments. Part 3

* Process reviewer comments. Part 4

* Fix events

* Add test

* Remove :token preload

* fix formatting

* Fix tests

* Remove unused aliases

* Add reCAPTCHA for token instance re-fetch API endpoint

* Check event on websocket at /api/v2/tokens/{address_hash}/instances/{token_id}/refetch-metadata endpoint
…s status checker (blockscout#10255)

* proper hex-encoded transaction hash recognition

* mix format

---------

Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com>
* feat: Chain & explorer Prometheus metrics

* Process review

* Add consensus filter, account token transfers and internal transactions in active users metric

* Refactor, run metrics async

* Raise error on metrics query execution timed out

* Move chain & explorer mterics to a separate (public) endpoint

* Set 1h timeout for DB request
* try to trim BUILDER_IP env

* Revert "try to trim BUILDER_IP env"

This reverts commit 9a95ce9.

* trim BEST_BUILDER env and disable debug message
* Public metrics toggler

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

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

---------

Co-authored-by: Qwerty5Uiop <105209995+Qwerty5Uiop@users.noreply.github.com>
…erformance: query should be optimized in the future
…0294)

* chore: update `ex_abi` to fix type decoder for huge lists

* chore: add a todo note

* fix: update `ex_abi` to parse function ABI without `outputs` field
@istoril istoril merged commit 53f2b5d into cryptonomic0n Jun 22, 2024
52 of 61 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.