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: ethereum/go-ethereum
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.15.1
Choose a base ref
...
head repository: ethereum/go-ethereum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.15.2
Choose a head ref
  • 6 commits
  • 14 files changed
  • 4 contributors

Commits on Feb 13, 2025

  1. Configuration menu
    Copy the full SHA
    7776282 View commit details
    Browse the repository at this point in the history
  2. core/types: create block's bloom by merging receipts' bloom (#31129)

    Currently, when calculating block's bloom, we loop through all the
    receipt logs to calculate the hash value. However, normally, after going
    through applyTransaction, the receipt's bloom is already calculated
    based on the receipt log, so the block's bloom can be calculated by just
    ORing these receipt's blooms.
    ```
    goos: darwin
    goarch: arm64
    pkg: github.com/ethereum/go-ethereum/core/types
    cpu: Apple M1 Pro
    BenchmarkCreateBloom
    BenchmarkCreateBloom/small
    BenchmarkCreateBloom/small-10             810922              1481 ns/op             104 B/op          5 allocs/op
    BenchmarkCreateBloom/large
    BenchmarkCreateBloom/large-10               8173            143764 ns/op            9614 B/op        401 allocs/op
    BenchmarkCreateBloom/small-mergebloom
    BenchmarkCreateBloom/small-mergebloom-10                 5178918               232.0 ns/op             0 B/op          0 allocs/op
    BenchmarkCreateBloom/large-mergebloom
    BenchmarkCreateBloom/large-mergebloom-10                   54110             22207 ns/op               0 B/op          0 allocs/op
    ```
    
    ---------
    
    Co-authored-by: Gary Rong <[email protected]>
    Co-authored-by: Zsolt Felfoldi <[email protected]>
    3 people authored Feb 13, 2025
    Configuration menu
    Copy the full SHA
    68de26e View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2025

  1. consensus/beacon: fix isPostMerge for mainnet (#31191)

    This fixes a regression introduced in #31153 where we didn't consider
    mainnet to be in PoS, causing #31190.
    The problem is, `params.MainnetChainConfig` does not have a defined
    `MergeNetsplitBlock`, so it isn't considered to be in PoS in
    `CalcDifficulty`.
    fjl authored Feb 17, 2025
    Configuration menu
    Copy the full SHA
    e5bc789 View commit details
    Browse the repository at this point in the history
  2. p2p: fix marshaling of NAT in TOML (#31192)

    This fixes an issue where a nat.Interface unmarshaled from the TOML
    config file could not be re-marshaled to TOML correctly.
    
    Fixes #31183
    fjl authored Feb 17, 2025
    Configuration menu
    Copy the full SHA
    c113e3b View commit details
    Browse the repository at this point in the history
  3. eth/protocols/eth: add discovery iterator to protocol (#31185)

    We somehow forgot to add this in #30302, so discv5 and DNS have actually
    been disabled since then.
    
    Fixes #31168
    fjl authored Feb 17, 2025
    Configuration menu
    Copy the full SHA
    d37a0b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c8c62da View commit details
    Browse the repository at this point in the history
Loading