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

fix: Add missing preloads to tokens endpoints #10072

Merged
merged 18 commits into from
May 29, 2024
Merged

fix: Add missing preloads to tokens endpoints #10072

merged 18 commits into from
May 29, 2024

Conversation

nikitosing
Copy link
Member

@nikitosing nikitosing commented May 15, 2024

Closes #9828
Closes #9775

Changelog

  • Add missing preloads

Checklist for your Pull Request (PR)

Qwerty5Uiop and others added 11 commits May 17, 2024 13:36
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
Copy link

@Dioliode Dioliode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DioX

dependabot bot and others added 6 commits May 27, 2024 11:15
updated-dependencies:
- dependency-name: ecto_sql
  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>
* Initial version of x-level messages indexer

* fixes for cspell and credo

* new state of x-level messages

* Monitoring of new L1-to-L2 messages on L1

* new batches discovery

* fetcher workers in separate modules

* proper name

* Fix for responses without "id", e.g. "Too Many Requests"

* update DB with new batches and corresponding data

* update DB with confirmed blocks

* fixes for cspell and credo

* tracking commitments confirmations for L1 to L2 messages

* Proper usign of max function

* tracking completion of L2 to L1 messages

* catchup historical messages to L2

* incorrect version of committed file

* catchup historical messages from L2 and completion of L1-to-L2 messages

* historical batches catchup

* status for historical l2-to-l1 messages

* address matching issue

* catchup historical executions of L2-to-L1 messages

* db query to find unconfirmed blocks gaps

* first changes to catchup historical confirmations

* finalized catchup of historical confirmations

* 4844 blobs support

* fix for the issue with multiple confirmations

* limit amount of batches to handle at once

* Use latest L1 block by fetchers if start block is not configured

* merge issue fix

* missed file

* historical messages discovery

* reduce logs severity

* first iteration to improve documentation for new functionality

* second iteration to improve documentation for new functionality

* third iteration to improve documentation for new functionality

* fourth iteration to improve documentation for new functionality

* fifth iteration to improve documentation for new functionality

* final iteration to improve documentation for new functionality

* merge issues addressed

* code review issues addressed

* code review issues addressed

* fix merge issue

* raising exception in the case of DB inconsistency

* fix formatting issue

* termination case for RollupMessagesCatchup

* code review comments addressed

* code review comments addressed

* consistency in primary keys

* dialyzer fix

* code review comments addressed

* missed doc comment

* code review comments addressed

* updated indices creation as per code review comments

* fix merge issue

* configuration of intervals as time variables

* TODO added to reflect improvement ability

* database fields refactoring

* association renaming

* feat: APIv2 endpoints for Arbitrum messages and batches (#9963)

* Arbitrum related info in Transaction and Block views

* Views to get info about batches and messages

* usage of committed for batches instead of confirmed

* merge issues addressed

* changes after merge

* formatting issue fix

* code review comment addressed

* associations and fields in api response renamed

* format issue addressed

* feat: Arbitrum-specific fields in the block and transaction API endpoints (#10067)

* Arbitrum related info in Transaction and Block views

* Views to get info about batches and messages

* usage of committed for batches instead of confirmed

* merge issues addressed

* changes after merge

* formatting issue fix

* block and transaction views extended

* code review comment addressed

* associations and fields in api response renamed

* format issue addressed

* fix credo issue

* fix tests issues

* ethereumjsonrpc test fail investigation

* test issues fixes
updated-dependencies:
- dependency-name: phoenix_ecto
  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>
…JSONRPC.Receipt (#10130)

* fix: Hotfix for Indexer.Fetcher.Optimism.WithdrawalEvent

* Small refactoring

* Small refactoring

* Consider nil in game_index

* Add empty handler for Optimism Fjord tx receipt fields

---------

Co-authored-by: POA <[email protected]>
@vbaranov vbaranov merged commit ba664fa into master May 29, 2024
16 checks passed
@vbaranov vbaranov deleted the np-fix-preloads branch May 29, 2024 09:58
fedor-ivn added a commit that referenced this pull request May 30, 2024
* master:
  refactor: Remove hardcoded numResults from fetch_pending_transactions_besu (#10117)
  feat: Add window between balance fetch retries for missing balanceOf tokens (#10142)
  fix: Add missing preloads to tokens endpoints (#10072)
  Explicit message on token balance update error (#10129)
  fix: missing nil case for revert reason (#10136)
  fix: Hotfix for Indexer.Fetcher.Optimism.WithdrawalEvent and EthereumJSONRPC.Receipt (#10130)
  hide chain specific fields behind Map.get (#10131)
  --- (#10096)
  feat: indexer for cross level messages on Arbitrum (#9312)
  chore: Bump ecto_sql from 3.11.1 to 3.11.2
  Indexer/API separated images for Redstone
  Update CHANGELOG
  Improve response of address API to return multiple implementations for Diamond proxy (#10113)
  Fix GA pre-release && release workflows
  Update CHANGELOG
  feat: implement fetch_first_trace for Geth (#10087)
  Remove custom release CI for Immutable
  Update CHANGELOG for 6.6.0
  Fix certified flag in the search API v2 endpoint (#10094)
  fix: Update Vyper inner compilers list to support all compilers (#10091)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
9 participants