Skip to content

Comments

fix: missing populate_blob_hashes in TransactionBuilder7594::set_blob_sidecar_7594#3534

Merged
mattsse merged 2 commits intoalloy-rs:mainfrom
mskrzypkows:set_blob_sidecar_7594_fix
Jan 16, 2026
Merged

fix: missing populate_blob_hashes in TransactionBuilder7594::set_blob_sidecar_7594#3534
mattsse merged 2 commits intoalloy-rs:mainfrom
mskrzypkows:set_blob_sidecar_7594_fix

Conversation

@mskrzypkows
Copy link
Contributor

@mskrzypkows mskrzypkows commented Jan 16, 2026

Motivation

I tried to use blobhash(uint index) returns (bytes32) Solidity contract function while calling provider.estimate_gas. It works fine for EIP-4844 transaction, but for EIP-7594 I got revert, blob hash was not found. After investigation, I found out that EIP-7594 transaction has no blob_versioned_hashes field filled while estimating gas.

Solution

The solution is to populate blob hashes, similarly to what's done for EIP-4844.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

ty!

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Jan 16, 2026
@mattsse mattsse enabled auto-merge (squash) January 16, 2026 14:20
@mattsse mattsse merged commit a1b5a81 into alloy-rs:main Jan 16, 2026
30 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants