Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: erigontech/erigon
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.3.2
Choose a base ref
...
head repository: erigontech/erigon
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.3.3
Choose a head ref
  • 16 commits
  • 31 files changed
  • 11 contributors

Commits on Dec 13, 2025

  1. [3.3] cherry-pick fix eth_getLogs() for hive (#18283)

    This PR fixes errorCodes for Hive tests:
    - eth_getLogs/filter-error-future-block-range (erigon_default)
    - eth_getLogs/filter-error-reversed-block-range (erigon_default)
    
    And align few errors code with Geth
    
    waiting workflow on Hive tests is completed
    lupin012 authored Dec 13, 2025
    Configuration menu
    Copy the full SHA
    16ee085 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2025

  1. Cherry-pick: Refactor: Extract BlobHistoryDownloader into dedicated s…

    …truct (#18269) (#18314)
    
    This PR refactors the blob history downloading logic from
    `downloadBlobHistoryWorker` function into a dedicated
    `BlobHistoryDownloader` struct in the `cl/phase1/network` package. This
    provides better encapsulation, testability, and allows for dynamic
    control of the blob backfilling process.
    
    ## Changes
    
    ### New: `cl/phase1/network/blob_downloader.go`
    
    Introduces `BlobHistoryDownloader` struct with the following features:
    
    - **Configurable head slot**: The `headSlot` can be updated via
    `SetHeadSlot()` to target higher slots as the chain progresses
    - **Periodic downloading**: Runs a download loop every 12 seconds when
    started
    - **Peer count check**: Skips iterations if peer count is below 16 and
    logs a warning
    - **Conditional start**: Only starts the goroutine if `archiveBlobs` or
    `immediateBlobsBackfilling` is enabled
    - **Progress tracking**: Maintains `highestBackfilledSlot` to track
    backfilling progress
    - **Callback support**: `SetNotifyBlobBackfilled()` allows setting a
    callback when backfilling completes
    
    #### Key Methods
    
    | Method | Description |
    |--------|-------------|
    | `NewBlobHistoryDownloader()` | Constructor with all dependencies | |
    `SetHeadSlot(slot)` | Sets the target head slot (currentSlot + 1) | |
    `SetNotifyBlobBackfilled(fn)` | Sets completion callback | |
    `HeadSlot()` | Returns current head slot |
    | `HighestBackfilledSlot()` | Returns highest backfilled slot | |
    `Running()` | Returns whether downloader is active | | `Start()` |
    Begins the download loop |
    
    ### Modified: `cl/phase1/stages/clstages.go`
    
    - Added `blobDownloader` field to `Cfg` struct
    - Updated `ClStagesCfg()` to accept `ctx context.Context` parameter
    - Creates `BlobHistoryDownloader` instance in the config constructor
    
    ### Modified: `cl/phase1/stages/stage_history_download.go`
    
    - Added `blobDownloader` field to `StageHistoryReconstructionCfg`
    - Updated `StageHistoryReconstruction()` to accept `blobDownloader`
    parameter
    - Removed inline `downloadBlobHistoryWorker` function (~140 lines)
    - Stage now uses the passed-in `blobDownloader` instance
    
    ## Migration Notes
    
    This is a refactor with no behavioral changes to the blob downloading
    logic. The same functionality is preserved but now encapsulated in a
    reusable struct. Additionally, we can defer blob download everwhere
    except for gossip
    Giulio2002 authored Dec 15, 2025
    Configuration menu
    Copy the full SHA
    530e20d View commit details
    Browse the repository at this point in the history
  2. Fix incorrect committee count in process_attestation (#18312) (#18316)

    issue #18308
    
    https://beacon.chiadochain.net/slot/20031440
    target epoch is `1251964` , but in our codebase, committee count is
    computed by current epoch `1251965`
    domiwei authored Dec 15, 2025
    Configuration menu
    Copy the full SHA
    6834adc View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2025

  1. [r3.3] hive: temporarily use older hive commit to fix ci (#18302) (#1…

    …8315)
    
    See #18302
    
    (cherry picked from commit b202139)
    
    ---------
    
    Co-authored-by: milen <[email protected]>
    Co-authored-by: Copilot <[email protected]>
    3 people authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    5f7a17e View commit details
    Browse the repository at this point in the history
  2. [3.3] Bump max blob size (#18330)

    Previous limit was not enough for a 6 blob EIP-4844 transaction with
    commitments and proofs. The theoretical max size is ~824 KB.
    shohamc1 authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    c327e4d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a321035 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7fc84d View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2025

  1. Configuration menu
    Copy the full SHA
    88984a2 View commit details
    Browse the repository at this point in the history
  2. publishable: relax block files version checks (#18353)

    it's enough if they remain within min supported and current version.
    sudeepdino008 authored Dec 17, 2025
    Configuration menu
    Copy the full SHA
    3717a8c View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2025

  1. cl: fix for periodic retry of not-ready response (#18374) (#18376)

    cherry-pick of #18374
    
    ---
    
    when exec responds with !ready (say due to pruning) Caplin should try
    again before it gives up
    
    that seems to be the intent in the code but the implementation has a bug
    - it uses a `Timer` instead of a `Ticker`
    
    we're getting missed (orphaned) blocks due to this
    taratorio authored Dec 18, 2025
    Configuration menu
    Copy the full SHA
    6f5bcf6 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2025

  1. Configuration menu
    Copy the full SHA
    d848ce8 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2025

  1. Configuration menu
    Copy the full SHA
    a24a868 View commit details
    Browse the repository at this point in the history
  2. Fix trace initialization for Balancer Fork blocks on Gnosis (#18456)

    This fixes: #18436
    
    Post the gnosis balancer HF block initialization requires a parent read
    which fails for blocks in snapshots without this change
    mh0lt authored Dec 24, 2025
    Configuration menu
    Copy the full SHA
    fd5fbad View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2025

  1. cp: half block exec fix in receipts (#18505)

    - #18397 was reverted because it broke sync
    - root cause: the receipts were produced fine, but txnum-2 execution was
    writing accounts in domains, leading to state root mismatch
    - in this PR, the re-execution of txnum-1 is removed; we can generate
    correct receipts simply from Receipt domain. No re-exec needed.
    sudeepdino008 authored Dec 30, 2025
    Configuration menu
    Copy the full SHA
    e700c57 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2026

  1. [3.3] Turn on discovery v5 by default (#18578) (#18639)

    Enables discv5 for 3.3 for
    #18195. Duplicates #18578
    from main.
    
    I think we want discv5 enabled in 3.3 if we want to meet the Jan 31
    target. I wonder if we want to keep the resolution leaning toward discv4
    for 3.3.
    anacrolix authored Jan 13, 2026
    Configuration menu
    Copy the full SHA
    9e94b2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7bc3d6d View commit details
    Browse the repository at this point in the history
Loading