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

Sync with origin #48

Merged
merged 153 commits into from
Jul 5, 2024
Merged

Sync with origin #48

merged 153 commits into from
Jul 5, 2024

Conversation

vbaranov and others added 30 commits May 9, 2024 17:52
* feat: Diamond proxy (eip-2535)

* Additional logic change

* Refactoring & backward compatibility

* Refactor specs

* Remove prepare_value function

* implementation_address_hash_from_db, implementation_name_from_db to plural form

* Remove check implementation_address_hash_strings is list

* address_hash_to_smart_contract_with_bytecode_twin function: return options param into the call of single_implementation_smart_contract_from_proxy

* Remove fallback "|| [burn_address_hash_string()]"

* Update spec of set_proxy_verification_result

* Fix web tests

* Change the order of enum values to match db enum

* Remove duplicated clause in save_implementation_data/4

* Remove duplicated line

* Add clause for [] to set_proxy_verification_result
…ngs (blockscout#10041)

* Update outdated links to ETH JSON RPC Specification in docstrings

* Remove empty line
* feat: mud support

* chore: fix ci warnings

* feat: skip missing schemas

* ci: build redstone image

* chore: fix dialyzer

* chore: remove noop migration

* feat: full-text table search

* fix: don't show deleted records

* fix: type specs and dializer fixes

* feat: checksum addresses

* fix: handle invalid params

* chore: add missing envs
…out#10049)

* Add support of Blast-specific L1 OP withdrawal events

* mix format

---------

Co-authored-by: POA <[email protected]>
* feat: Improve retry NFT fetcher

* Process review comments

* Fix spelling
* chore: remove `has_methods_` `read`/`read_proxy`/`write`/`write_proxy` from `/addresses`

* chore: move proxy contract test to `smart_contract_controller_test.exs`
* refactor: test database config

* feat: configure test db with special envs

* fix: prefer `url` from config over raw env

* refactor: remove redundant fallback

* refactor: use `ConfigHelper.init_repo_module/2` to configure `ZkSync` repo
)

* fix: Fix Unknown UID bug

* Fix credo

* Fix credo

* Refactoring

* Fix aliases
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.32.1 to 0.32.2.
- [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.32.1...v0.32.2)

---
updated-dependencies:
- dependency-name: ex_doc
  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>
Bumps [redix](https://github.com/whatyouhide/redix) from 1.5.0 to 1.5.1.
- [Changelog](https://github.com/whatyouhide/redix/blob/main/CHANGELOG.md)
- [Commits](whatyouhide/redix@v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: redix
  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 [credo](https://github.com/rrrene/credo) from 1.7.5 to 1.7.6.
- [Release notes](https://github.com/rrrene/credo/releases)
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md)
- [Commits](rrrene/credo@v1.7.5...v1.7.6)

---
updated-dependencies:
- dependency-name: credo
  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>
* Add test case for publishing re-verified solidity contract

* Add (failing) test case for publishing re-verified vyper contract

* fix: allow for vyper contracts re-verification

* Remove commented line
* feat: Clone with immutable arguments proxy pattern

* refactor: rename unverified_proxy_only? to proxy_without_abi?
* Disallow multiple queries in GraphQL endpoint

* Fix mix credo

* Add Plug.Parsers to each pipeline

* Process review comments

* Process review comments
* Update smart-contract to have 'is_blueprint' flag

* Store into the database 'is_blueprint' value retrieved from verification or lookup results

* Make use of TestHelper module for smart_contract_controller_test

* Make use of TestHelper module for verification_controller_test. Fix invalid 'is_blueprint' value in fixture

* Fix spelling. Simplify Vyper.publish method

* Add 'Averify' into spelling check

* Add PR url to the comment with rationale behind url-encoding ':' symbol
* fix: Separate indexer setup

* Configure CI for sepate images for indexer and API

* Change CI for every push to master branch (build separate indexer/api images)

* Add DISABLE_API env var

* Indexing status improvements for api instance

---------

Co-authored-by: Viktor Baranov <[email protected]>
blockscout#10036)

* feat: Add optional retry of NFT metadata fetch in Indexer.Fetcher.TokenInstance.Realtime

* Rename env

* Process review comments

* Rename var
…ctions query in case of smart-contracts (blockscout#9469)

* Eliminate from_address_hash equal to address clause for transactions query in case of smart-contracts

* Fix tests

* Fix web tests

* Fix web tests

* Process review comments

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

Co-authored-by: Kirill Fedoseev <[email protected]>

* mix format

* Remove or_where import

* Update smart-contract controller test

---------

Co-authored-by: Kirill Fedoseev <[email protected]>
* fix: rework revert_reason

* fix: format

* fix: tests

* fix: chain_type_fields

* chore: refactor

* fix: decode functions refactor
…kscout#10091)

Increases the number of items retrieved for Vyper releases to 100. Allows to get the oldest vyper compilers when using internal verification (i.e., sc_verifier is disabled)

When not set, the default number of items retrieved is 30, which is less than total number of currently existing releases (46). This makes the oldest compilers unavailable when using vyper verificaiton method.

Should fix the failing `/api/v2/smart-contracts/{address_hash}/verification/via/vyper-code success verification` test
* feat: implement fetch_first_trace for Geth

* chore: add missing doc & spec
sl1depengwyn and others added 29 commits July 1, 2024 13:38
Bumps [credo](https://github.com/rrrene/credo) from 1.7.6 to 1.7.7.
- [Release notes](https://github.com/rrrene/credo/releases)
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md)
- [Commits](rrrene/credo@v1.7.6...v1.7.7)

---
updated-dependencies:
- dependency-name: credo
  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>
Bumps [logger_json](https://github.com/Nebo15/logger_json) from 5.1.4 to 6.0.3.
- [Release notes](https://github.com/Nebo15/logger_json/releases)
- [Commits](Nebo15/logger_json@5.1.4...6.0.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.32.2 to 0.34.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.32.2...v0.34.1)

---
updated-dependencies:
- dependency-name: ex_doc
  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 [dataloader](https://github.com/absinthe-graphql/dataloader) from 1.0.11 to 2.0.0.
- [Changelog](https://github.com/absinthe-graphql/dataloader/blob/main/CHANGELOG.md)
- [Commits](absinthe-graphql/dataloader@v1.0.11...v2.0.0)

---
updated-dependencies:
- dependency-name: dataloader
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

* feat: bump elixir to 1.16.0

* fix: failing tests

* fix: one more test

* fix: qemu arm build

* fix: failing market test

* fix: override version in ci

* chore: bump to 1.16.1

* fix: ci config override

* chore: bump to 1.16.3

* chore: mix format

* fix: faulty explorer tests

* fix: faulty block_scout_web tests

* chore: lint

* ci: remove arm build workaround

* chore: fix negative slice warnings

* Erlang 26.2.5.1

---------

Co-authored-by: Viktor Baranov <[email protected]>
…cout#10360)

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

---
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>
…cout#10359)

Bumps [webpack](https://github.com/webpack/webpack) from 5.91.0 to 5.92.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.91.0...v5.92.1)

---
updated-dependencies:
- dependency-name: webpack
  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>
…ts (blockscout#10357)

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

Bumps [mixpanel-browser](https://github.com/mixpanel/mixpanel-js) from 2.51.0 to 2.53.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.51.0...v2.53.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>
…cout#10356)

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.11.0 to 11.12.1.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.11.0...v11.12.1)

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

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 7.1.1 to 7.1.2.
- [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@v7.1.1...v7.1.2)

---
updated-dependencies:
- dependency-name: css-loader
  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>
…ockscout#10355)

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 14.1.1 to 14.2.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.1...v14.2.1)

---
updated-dependencies:
- dependency-name: sass-loader
  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 [ex_abi](https://github.com/fedor-ivn/ex_abi) from `243892a` to `44b9f9b`.
- [Commits](fedor-ivn/ex_abi@243892a...44b9f9b)

---
updated-dependencies:
- dependency-name: ex_abi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Victor Baranov <[email protected]>
…ockscout#10354)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.24.6 to 7.24.7.
- [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.7/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  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>
Bumps [ex_machina](https://github.com/beam-community/ex_machina) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/beam-community/ex_machina/releases)
- [Changelog](https://github.com/beam-community/ex_machina/blob/main/CHANGELOG.md)
- [Commits](beam-community/ex_machina@v2.7.0...v2.8.0)

---
updated-dependencies:
- dependency-name: ex_machina
  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>
* fix: Fix public metrics enabling

* Simplified query for active accounts metric
Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 6.2.0 to 6.4.0.
- [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md)
- [Commits](eslint-community/eslint-plugin-promise@v6.2.0...v6.4.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-promise
  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>
* fix: ignore blockTimestamp field

* fix: transaction test
* fix: Add rescue on tx revert reason fetching

* Build image for HF

* Fix workflow
@spilin spilin merged commit d5e433b into master Jul 5, 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.