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

Add support for EIP-4844 blobs #13

Merged
merged 872 commits into from
Jun 3, 2024
Merged

Conversation

gabmontes
Copy link

@gabmontes gabmontes commented May 20, 2024

Related to #9.

Motivation

To support EIP-4844 blobs, changes from version 5.3.1 to 6.3.0 were pulled from upstream and merged into this repository. See the changelog for details.

Details

These commits/PRs were pulled from upstream:

During the merge, several files and code that was moved around and renamed in upstream was incorrectly kept around. To solve this, b98c721 cleaned everything up and ensured the only differences between Hemi and upstream are changes related to Hemi.

Finally, some improvements to the tests and docs were added in f4d506e and a35b4a8 so all relevant tests and checks now pass.

Note: Additional upstream changes and configuration settings may be needed to fully support blobs as the code seems to enable that support only for the "ethereum" chain type while Hemi uses the "optimism" type. Enabling both types at the same time seems not to be an option either in the latest version of Blockscout.

Testing

Local tests showed the services run without errors and blockchain data is ingested and exposed properly through the API.

Note that the failure of many GitHub Actions checks is actually expected and those were not marked as "required" for that reason.

Upgrading

Postgres was updated from version 14 to 15. It is possible that the current database needs to be cleared and rebuilt if the migrations fail to upgrade the schemas automatically.

varasev and others added 30 commits February 14, 2024 10:05
…9377)

* feat: batch address selects and preloads

* fix: review comments

* chore: changelog
…lues-in-token-update

Filter empty values before token update
…listinternal, tokentx (blockscout#9364)

* Fix using of startblock/endblock in API v1 list endpoints: txlist, txlistinternal, tokentx

* Add CHANGELOG entry
* chore: bump actions/cache to v4

* chore: changelog
* Minimal Proxy (blockscout#9365)

Co-authored-by: gimlu <[email protected]>

* Add CHANGELOG, fix tests

* Clear GA cache and refactoring

---------

Co-authored-by: GimluCom <[email protected]>
Co-authored-by: gimlu <[email protected]>
@gabmontes gabmontes self-assigned this May 20, 2024
@gabmontes gabmontes changed the base branch from master to production-optimism-stg May 20, 2024 22:16
@gabmontes gabmontes marked this pull request as ready for review May 28, 2024 23:11
@gabmontes gabmontes marked this pull request as draft May 28, 2024 23:24
@gabmontes gabmontes force-pushed the add-eip-4844 branch 2 times, most recently from a2c306e to fbae32f Compare May 29, 2024 14:47
@gabmontes gabmontes marked this pull request as ready for review May 31, 2024 22:09
Copy link

@gndelia gndelia left a comment

Choose a reason for hiding this comment

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

utACK

Copy link

@jcvernaleo jcvernaleo left a comment

Choose a reason for hiding this comment

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

The commits pulled in look like the right ones.
utACK

@gabmontes gabmontes merged commit 85c0a39 into production-optimism-stg Jun 3, 2024
41 of 49 checks passed
@gabmontes gabmontes deleted the add-eip-4844 branch June 3, 2024 21:57
@gabmontes gabmontes mentioned this pull request Jun 6, 2024
6 tasks
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.