Skip to content

Conversation

@Georgyskr
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)

  • If I added new functionality, I added tests covering it.
  • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • I checked whether I should update the docs and did so by submitting a PR to docs repository.
  • If I added/changed/removed ENV var, I submitted a PR to docs repository to update the list of env vars and I updated the version to master in the Version column. If I removed variable, I added it to Deprecated ENV Variables page. After merging docs PR, changes will be reflected in these pages.
  • If I added new DB indices, I checked, that they are not redundant, with PGHero or other tools.
  • If I added/removed chain type, I modified the Github CI matrix and PR labels accordingly.

Qwerty5Uiop and others added 30 commits October 18, 2024 12:56
* feat: Add missing filecoin robust addresses

* Narrow down spec

* Refactoring
* perf: refactor tx data decoding with fewer DB queries

* fix: tests

* chore: more refactor

* chore: fix merge conflicts
…r" entities (blockscout#10913)

* refactor: tx_hash -> transaction_hash, txn -> transaction, "block" in API v2 response to "block_number"

* More functions/vars to rename

* Update apps/block_scout_web/lib/block_scout_web/graphql/celo/schema/query_fields.ex

Co-authored-by: Fedor Ivanov <ivnfedor@gmail.com>

* Rename files

* Return l1_tx_origin / l2_tx_gas_limit in optimism view for the compatibility with fe at the time of transaition to new props

* Rename shorthand in template

* Repair merge

---------

Co-authored-by: Fedor Ivanov <ivnfedor@gmail.com>
Bumps [tesla](https://github.com/elixir-tesla/tesla) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/elixir-tesla/tesla/releases)
- [Commits](elixir-tesla/tesla@v1.12.1...v1.12.2)

---
updated-dependencies:
- dependency-name: tesla
  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>
…ut#10985)

Bumps [secp256k1](https://github.com/cryptocoinjs/secp256k1-node) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/cryptocoinjs/secp256k1-node/releases)
- [Commits](cryptocoinjs/secp256k1-node@v4.0.2...v4.0.4)

---
updated-dependencies:
- dependency-name: secp256k1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: Workaround for repeating logIndex

* Fix tests

* Done migration, but need to rewrite tuples usage

* Migration rewritten

* Fix tests

* Fix test

* Process review comments

* Update cspell ignore

* Refactoring
* feat: Account V2

Implement merging

Add captcha to send_otp

Refactor

Handle old sessions

Add address hash to session info

Finish core functionality

* Some fixes

Fix captcha related tests
Add recaptcha v3 support
Add error for wrong otp
Add uri encoding for user id
Fix recaptcha error

* Return session info in auth responses

* hostname check for recaptcha; merge addresses

Merge accounts with the same address as well

Add hostname check for recaptcha

Remove debug code

* Fix address accounts merging

* Handle email linking to siwe account

* Allow hostname check disabling

* Fix @vbaranov review

* Fix RE_CAPTCHA_CHECK_HOSTNAME logic

* Restrict users with email to link email

* Fix @nikitosing review

* Format
…lockscout#10998)

* fix: Fix renaming of public props

* Fix sanitize_duplicated_log_index_logs_test.exs

---------

Co-authored-by: Nikita Pozdniakov <nikitosing4@mail.ru>
…ansactions, and L1 <->L2 messages (blockscout#10484)

* Add chain type for scroll and l1_fee tx field

* l1_fee_scalar and l1_fee_overhead fields in api json output for tx

* l2_fee field in api json output for tx

* l1_gas_used field in api json output for tx

* l1_fee_commit_scalar, l1_fee_blob_scalar, l1_base_fee, l1_blob_base_fee fields in api json output for tx

* Partially add specs and docs

* Add code specs and docs for Indexer.Fetcher.Scroll.L1FeeParam

* Add code specs and docs

* Small fix

* Add CI matrix chain type

* Fix spelling

* Rename envs

* Update common-blockscout.env

* Small fixes

* Improve scroll_view.ex

* Update scroll_view.ex

* Add support of queueIndex field for L1MessageTx in Scroll

* Fix for mix credo

* Add scroll_bridge db table

* Add Scroll bridge messages indexing

* Add Indexer.Transform.Scroll.Bridge

* Refactoring

* Add API for Scroll

* Ignore credo warning about nesting level

* Add specs and docs

* Refactoring

* Partially cover review comments

* Add some specs and docs

* Add GA workflows for scroll

* Small refactoring

* Add to_import for Explorer.Chain.Scroll.Bridge

* Small refactoring

* Add specs and docs

* Add comments

* Add Explorer.Chain.RollupReorgMonitorQueue module

* Add sobelow_skip

* Add INDEXER_SCROLL_ETH_GET_LOGS_RANGE_SIZE env variable

* Update common-blockscout.env

* Small refactoring

* Add links about Curie upgrade

* Small improvement

* Small refactoring

* Separate db query

* Move chain type specific import runners from BlockReferencing to ChainTypeSpecific stage

* Add draft indexer for Scroll batches

* Add API for Scroll batches

* Extend API for Scroll batches

* Refactoring

* Update common-blockscout.env

* Add specs and docs

* Remove misprint

* Fixes

* Small improvement

* Refactoring

* Refactoring

* Refactoring

* Refactoring for credo

* Partially cover review comments

* Add l2_block_status to transaction view for Scroll

* RollupL1ReorgMonitor refactoring

* Extend docs

* Small refactoring of last_l2_block_number function

* Extend docs

* Extend docs

* Fix typo

* mix format

* Extend docs

* Extend docs

* Separate eth_getLogs block range size config

* Small refactoring

* Add comment

* Add comments

* Optimization

* Small optimization

* Use Ecto.Multi

* Extend docs

* Change API response for Scroll batches

* Change API response format for Scroll bridge messages

* Small refactoring

* Update apps/indexer/lib/indexer/transform/scroll/l1_fee_params.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/l1_fee_param.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/l1_fee_param.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/l1_fee_param.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

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

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

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

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

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

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

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

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

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

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/batch.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/batch.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/batch.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/fetcher/scroll/batch.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Small refactoring

* Extend docs

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

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update apps/indexer/lib/indexer/helper.ex

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

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

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

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

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Improve specs

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

Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>

* fix

* mix format

* Add DA container info for Scroll batches

* Fallback INDEXER_SCROLL_L2_MESSENGER_START_BLOCK to FIRST_BLOCK

* mix format

* Remove redundant lines

* Use multi update_all

* rename "tx" shorthands

---------

Co-authored-by: POA <33550681+poa@users.noreply.github.com>
Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com>
Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com>
* feat: List of internal transactions API v2 endpoint

* Process Fedor review

* Fix format

* Process review comment
* perf: optimize advanced filters

* Fix filters order

* Fix order by

* Fix block_number filtering

* Fix filters order and union

* Fix tests

* Fix: remove excessive limit

* Add internal transaction to_address_hash index

* Optimize amount filter

* Fix filtering after limit

* Some fixes

Fix address filtering;
Fix token transfers;
Fix methods search

* Remove migration; Fix query inclusion

* Optimize internal transactions query

* Fix @vbaranov review

* Fix renaming issues

* Rename function arguments

---------

Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com>
…ut#11008)

* fix: chart API: add compatibility with the current frontend

* Rename other shorthands
…ndpoints for compatibility with current version of the frontend (blockscout#11012)
vbaranov and others added 30 commits December 20, 2024 16:55
# Conflicts:
#	.github/ISSUE_TEMPLATE/bug_report.yml
#	.github/workflows/config.yml
#	.github/workflows/pre-release-arbitrum.yml
#	.github/workflows/pre-release-celo.yml
#	.github/workflows/pre-release-eth.yml
#	.github/workflows/pre-release-optimism.yml
#	.github/workflows/pre-release-redstone.yml
#	.github/workflows/pre-release-shibarium.yml
#	.github/workflows/pre-release-zksync.yml
#	.github/workflows/pre-release.yml
#	.github/workflows/publish-docker-image-every-push.yml
#	.github/workflows/publish-docker-image-for-arbitrum.yml
#	.github/workflows/publish-docker-image-for-celo.yml
#	.github/workflows/publish-docker-image-for-core.yml
#	.github/workflows/publish-docker-image-for-eth-sepolia.yml
#	.github/workflows/publish-docker-image-for-eth.yml
#	.github/workflows/publish-docker-image-for-filecoin.yml
#	.github/workflows/publish-docker-image-for-fuse.yml
#	.github/workflows/publish-docker-image-for-gnosis-chain.yml
#	.github/workflows/publish-docker-image-for-l2-staging.yml
#	.github/workflows/publish-docker-image-for-lukso.yml
#	.github/workflows/publish-docker-image-for-optimism.yml
#	.github/workflows/publish-docker-image-for-polygon-edge.yml
#	.github/workflows/publish-docker-image-for-redstone.yml
#	.github/workflows/publish-docker-image-for-rootstock.yml
#	.github/workflows/publish-docker-image-for-shibarium.yml
#	.github/workflows/publish-docker-image-for-stability.yml
#	.github/workflows/publish-docker-image-for-suave.yml
#	.github/workflows/publish-docker-image-for-zetachain.yml
#	.github/workflows/publish-docker-image-for-zkevm.yml
#	.github/workflows/publish-docker-image-for-zksync.yml
#	.github/workflows/publish-docker-image-staging-on-demand.yml
#	.github/workflows/publish-regular-docker-image-on-demand.yml
#	.github/workflows/release-arbitrum.yml
#	.github/workflows/release-celo.yml
#	.github/workflows/release-eth.yml
#	.github/workflows/release-filecoin.yml
#	.github/workflows/release-fuse.yml
#	.github/workflows/release-gnosis.yml
#	.github/workflows/release-optimism.yml
#	.github/workflows/release-polygon-edge.yml
#	.github/workflows/release-polygon-zkevm.yml
#	.github/workflows/release-redstone.yml
#	.github/workflows/release-rootstock.yml
#	.github/workflows/release-shibarium.yml
#	.github/workflows/release-stability.yml
#	.github/workflows/release-suave.yml
#	.github/workflows/release-zetachain.yml
#	.github/workflows/release-zksync.yml
#	.github/workflows/release.yml
# Conflicts:
#	apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex
#	apps/explorer/lib/explorer/chain/transaction.ex
#	apps/explorer/lib/explorer/repo.ex
#	apps/explorer/lib/explorer/smart_contract/solidity/verifier.ex
#	config/config_helper.exs
#	config/runtime/dev.exs
#	config/runtime/prod.exs
Migrate to new UI and expose btc parameters to API
* Expose API for btc address for search and all related endpoints

* Extract ETH and BTC addresses from public key for midl chain

* Map and search by BTC addresses for MIDL chain
…ap transactions

* Expose midl transactions chain to API
* Up to date committed and completed events data decoding

* Pesist receiver from committed event

* Persist receiver for compeled event

* Map completed event by btcTxHash from transaction
- save completed event sender to map with committed event receiver

* Map and read from btc address from btc transaction data

* Make mempool URL mandatory configuration variable

* Test mempool response parsing
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.