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

Merge v1.14.2 #346

Merged
merged 67 commits into from
Nov 22, 2024
Merged

Merge v1.14.2 #346

merged 67 commits into from
Nov 22, 2024

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    938734b View commit details
    Browse the repository at this point in the history
  2. core/state: remove account reset operation v2 (#29520)

    * core/state, tests: remove account reset operation
    
    * core/state, core/vm: implement createcontract journal event
    
    * core/state: make createcontract not emit dirtied account, unskip tests
    
    * core/state: add createcontract to journal fuzzing
    
    * core/state: fix journal
    
    * core/state: address comments
    
    * core/state: remove useless code
    
    ---------
    
    Co-authored-by: Gary Rong <[email protected]>
    holiman and rjl493456442 authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    0d4c388 View commit details
    Browse the repository at this point in the history
  3. trie: preallocate capacity for fields slice (#29614)

    trie: Preallocate capacity for fields slice
    qcrao authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    ac21f9b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7362691 View commit details
    Browse the repository at this point in the history
  5. core/state: storage journal entry should revert dirtyness too (#29641)

    Currently our state journal tracks each storage update to a contract, having the ability to revert those changes to the previously set value.
    
    For the very first modification however, it behaves a bit wonky. Reverting the update doesn't actually remove the dirty-ness of the slot, rather leaves it as "change this slot to it's original value". This can cause issues down the line with for example write witnesses needing to gather an unneeded proof.
    
    This PR modifies the storageChange journal entry to not only track the previous value of a slot, but also whether there was any previous value at all set in the current execution context. In essence, the PR changes the semantic of storageChange so it does not simply track storage changes, rather it tracks dirty storage changes, an important distinction for being able to cleanly revert the journal item.
    karalabe authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    4f4f9d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Configuration menu
    Copy the full SHA
    2f6ff49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a13b925 View commit details
    Browse the repository at this point in the history
  3. core/state: better randomized testing (postcheck) on journalling (#29…

    …627)
    
    This PR fixes some flaws with the existing tests.
    
    The randomized testing (TestSnapshotRandom) executes a series of steps which modify the state and create journal-events. Later on, we compare the forward-going-states against the backwards-unrolling-journal-states, and check that they are identical.
    
    The "identical" check is performed using various accessors. It turned out that we failed to check some things: 
    - the accesslist contents
    - the transient storage contents
    - the 'newContract' flag
    - the dirty storage map
    
    This change adds these new checks
    holiman authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    243cde0 View commit details
    Browse the repository at this point in the history
  4. build: build all the builders to build all the builders (#29647)

    * build: build all the builders to build all the builders
    
    * build: tweak the indexes a bit to make them consistent
    karalabe authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    1f628d8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a0282fc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    634d037 View commit details
    Browse the repository at this point in the history
  7. build: drop trusty from PPA builds, EOL and incompatible (#29651)

    * build: drop trusty from PPA builds, EOL and incompatible
    
    * build: add Ubuntu Noble PPA build target
    karalabe authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    ad4fb2c View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    8d42e11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4253030 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. params: clarify consensus engine config Strings (#29643)

    Define these on a value receiever so that nil is shown differently.
    roysc authored Apr 28, 2024
    Configuration menu
    Copy the full SHA
    4bdbaab View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

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

Commits on Apr 30, 2024

  1. cmd/evm/internal/t8ntool, core: prealloc map sizes where possible (#2…

    …9620)
    
    set cap for map in a certain scenario
    mask-pp authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    fecc8a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69f815f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c04b8e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f46c878 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    242b24a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ea89f9a View commit details
    Browse the repository at this point in the history
  7. eth/tracers/native: fix flatCallTracer Stop() bug (#29623)

    Co-authored-by: Sina Mahmoodi <[email protected]>
    draganm and s1na authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    7c7e3a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bd6bc37 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5e07054 View commit details
    Browse the repository at this point in the history
  10. all: refactor so NewBlock, WithBody take types.Body (#29482)

    * all: refactor so NewBlock(..) and WithBody(..) take a types.Body
    
    * core: fixup comments, remove txs != receipts panic
    
    * core/types: add empty withdrawls to body if len == 0
    lightclient authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    2e8e35f View commit details
    Browse the repository at this point in the history
  11. eth/downloader: purge pre-merge sync code (#29281)

    This PR removes pre-merge sync logic from the downloader. Now-irrelevant tests are removed and others have been updated.
    jwasinger authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    45baf21 View commit details
    Browse the repository at this point in the history
  12. accounts, cmd/geth, core: close opened files (#29598)

    * fix: open file used up but not closed
    
    * feat: more same case
    
    * feat: accept conversation
    songzhibin97 authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    f8820f1 View commit details
    Browse the repository at this point in the history
  13. core/rawdb, trie: improve db APIs for accessing trie nodes (#29362)

    * core/rawdb, trie: improve db APIs for accessing trie nodes
    
    * triedb/pathdb: fix
    rjl493456442 authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    9f96e07 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. core/state: parallelise parts of state commit (#29681)

    * core/state, internal/workerpool: parallelize parts of state commit
    
    * core, internal: move workerpool into syncx
    
    * core/state: use errgroups, commit accounts concurrently
    
    * core: resurrect detailed commit timers to almost-accuracy
    karalabe authored May 2, 2024
    Configuration menu
    Copy the full SHA
    682ee82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc609e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbf6238 View commit details
    Browse the repository at this point in the history
  4. trie/pathdb: preallocate map capacity (#29690)

    * preallocated capacity for map's certain usege of memory
    
    * preallocated capacity for map's certain usege of memory
    mask-pp authored May 2, 2024
    Configuration menu
    Copy the full SHA
    2c67fab View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    86a1f0c View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    905e325 View commit details
    Browse the repository at this point in the history
  2. core/tracing: add system call callback when performing `ProcessBeacon…

    …BlockRoot` (#29355)
    
    Added a start/end system where tracer can be notified that processing of some Ethereum system calls is starting processing and also notifies it when the processing has completed.
    
    Doing a start/end for system call will enable tracers to "route" incoming next tracing events to go to a separate bucket than other EVM calls. Those not interested by this fact can simply avoid registering the hooks.
    
    The EVM call is going to be traced normally afterward between the signals provided by those 2 new hooks but outside of a transaction context OnTxStart/End. That something implementors of live tracers will need to be aware of (since only "trx tracers" are not concerned by ProcessBeaconRoot).
    
    ---------
    
    Co-authored-by: Sina Mahmoodi <[email protected]>
    maoueh and s1na authored May 6, 2024
    Configuration menu
    Copy the full SHA
    a09a610 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43cbcd7 View commit details
    Browse the repository at this point in the history
  4. ethdb/pebble: fix pebble metrics registration (#29699)

    ethdb/pebble: use GetOrRegister instead of NewRegistered when creating metrics
    magicxyyz authored May 6, 2024
    Configuration menu
    Copy the full SHA
    3e896c8 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. eth/gasprice: add query limit for FeeHistory to defend DDOS attack (#…

    …29644)
    
    * eth/gasprice: add query limit for FeeHistory to defend DDOS attack
    
    * fix return values after cherry-pick
    
    ---------
    
    Co-authored-by: Eric <[email protected]>
    NathanBSC and zlacfzy authored May 7, 2024
    Configuration menu
    Copy the full SHA
    e4b8058 View commit details
    Browse the repository at this point in the history
  2. eth/gasestimator: include blobs in virtual balance computation (#29703)

    Fixes #29702
    
    Co-authored-by: Felix Lange <[email protected]>
    nand2 and fjl authored May 7, 2024
    Configuration menu
    Copy the full SHA
    d6e91e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71aa15c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e96de64 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. core: use in-memory freezer for tests (#29720)

    * core: simplify chain tests
    
    * core, eth, cmd: use in-memory freezer for tests
    
    * core: restore tests
    rjl493456442 authored May 8, 2024
    Configuration menu
    Copy the full SHA
    9ec5008 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd4afb9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6154f87 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd09f7e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    14f4228 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eeb2208 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    35b2d07 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

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

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    a8c0734 View commit details
    Browse the repository at this point in the history
  2. fix test

    amsanghi committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    25b12e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8140b3d View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

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

Commits on Oct 9, 2024

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

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    0adf3d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5cbfbaf View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

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

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    5c63736 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #347 from OffchainLabs/zombies-for-v1.14.2

    Add a notion of zombies to preserve empty account behavior
    tsahee authored Nov 7, 2024
    Configuration menu
    Copy the full SHA
    219a778 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    6582070 View commit details
    Browse the repository at this point in the history
  2. Changes based on PR comments

    amsanghi committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    190c916 View commit details
    Browse the repository at this point in the history
  3. fix lint

    amsanghi committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    9cf4acc View commit details
    Browse the repository at this point in the history
  4. undo test changes

    amsanghi committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    d0aed85 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Changes based on PR comments

    amsanghi committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    2c34a6d View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

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