Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

[DRAFT] [WIP] Cancun 1.12.2 #114

Draft
wants to merge 441 commits into
base: main
Choose a base branch
from
Draft

[DRAFT] [WIP] Cancun 1.12.2 #114

wants to merge 441 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 16, 2023

  1. rlp: fix typos (#27484)

    fix typos
    
    Co-authored-by: john <[email protected]>
    joohhnnn and john authored Jun 16, 2023
    Configuration menu
    Copy the full SHA
    c375936 View commit details
    Browse the repository at this point in the history
  2. all: move main transaction pool into a subpool (#27463)

    * all: move main transaction pool into a subpool
    
    * go.mod: remove superfluous updates
    
    * core/txpool: review fixes, handle txs rejected by all subpools
    
    * core/txpool: typos
    karalabe authored Jun 16, 2023
    Configuration menu
    Copy the full SHA
    d40a255 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2023

  1. build: use slices package for sorting (#27486)

    Dan Laine authored Jun 18, 2023
    Configuration menu
    Copy the full SHA
    36ca59f View commit details
    Browse the repository at this point in the history
  2. core/txpool/legacypool: reheap the tx list if london fork not enabled…

    … (#27481)
    
    This change ensures Reheap will be called even before the London fork activates.
    Since Reheap would otherwise only be called through `SetBaseFee` after London,
    the list would just keep growing if the fork was not enabled or not reached yet.
    lochjin authored Jun 18, 2023
    Configuration menu
    Copy the full SHA
    46ec972 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. p2p: use slices package for sorting (#27494)

    Co-authored-by: Felix Lange <[email protected]>
    Dan Laine and fjl authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    289c6c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d75123 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    168d0cc View commit details
    Browse the repository at this point in the history
  4. core/txpool/legacypool: remove redundant check for floatingRatio == 0…

    … (#27477)
    
    floatingRatio is a constant and always non-zero. So there is no need to
    check for == 0.
    hero5512 authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    a71b9b9 View commit details
    Browse the repository at this point in the history
  5. core/txpool/legacypool: handle missing head in reset (#27479)

    Fixes #27301, a crash that could occur during txpool reorg handling.
    holiman authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    e4660a1 View commit details
    Browse the repository at this point in the history
  6. rpc: avoid use of cgo by hard-coding maxPathSize (#27447)

    Package rpc uses cgo to find the maximum UNIX domain socket path 
    length. If exceeded, a warning is printed. This is the only use of cgo in this
    package. It seems excessive to depend on cgo just for this warning, so
    we now hard-code the usual limit for Linux instead.
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    zchee and fjl authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    f0b5af7 View commit details
    Browse the repository at this point in the history
  7. accounts/keystore: use slices package for sorting (#27485)

    Co-authored-by: Felix Lange <[email protected]>
    Dan Laine and fjl authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    311b742 View commit details
    Browse the repository at this point in the history
  8. cmd/devp2p: use slices package for sorting (#27487)

    Dan Laine authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    4544dc5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cd3b8c3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    760fd0c View commit details
    Browse the repository at this point in the history
  11. metrics: use slices package for sorting (#27493)

    Co-authored-by: Felix Lange <[email protected]>
    Dan Laine and fjl authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    4367ab4 View commit details
    Browse the repository at this point in the history
  12. consensus/clique: use slices package for sorting (#27488)

    Also adds Address.Less for sorting use in other packages.
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    Dan Laine and fjl authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    a848212 View commit details
    Browse the repository at this point in the history
  13. internal/ethapi, les: use slices package for sorting (#27492)

    Co-authored-by: Felix Lange <[email protected]>
    Dan Laine and fjl authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    87e510d View commit details
    Browse the repository at this point in the history
  14. tests, trie: use slices package for sorting (#27496)

    Co-authored-by: Felix Lange <[email protected]>
    Dan Laine and fjl authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    50ecb16 View commit details
    Browse the repository at this point in the history
  15. go.mod: update kzg libraries to use big-endian (#27510)

    * go.mod: update kzg libraries to use big-endian
    
    * go.sum: ran go mod tidy
    
    * core/testdata/precompiles: fix blob verification test
    
    * core/testdata/precompiles: fix blob verification test
    MariusVanDerWijden authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    091c25d View commit details
    Browse the repository at this point in the history
  16. trie: remove parameter 'fromLevel' in Prove (#27512)

    This removes the feature where top nodes of the proof can be elided.
    It was intended to be used by the LES server, to save bandwidth 
    when the client had already fetched parts of the state and only needed
    some extra nodes to complete the proof. Alas, it never got implemented
    in the client.
    rjl493456442 authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    ceca457 View commit details
    Browse the repository at this point in the history
  17. core/txpool/legacypool: narrow down the scope of the variable (#27471)

    Variables discarded, included can be defined closer to their usage.
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    hero5512 and holiman authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    9a167c4 View commit details
    Browse the repository at this point in the history
  18. eth: use slices package for sorting (#27490)

    Also adds Hash.Less method for sorting purposes.
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    Dan Laine and fjl authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    b1ef0bf View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. Configuration menu
    Copy the full SHA
    84b05d4 View commit details
    Browse the repository at this point in the history
  2. core: use slices package for sorting (#27489)

    Co-authored-by: Felix Lange <[email protected]>
    Dan Laine and fjl authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    154b016 View commit details
    Browse the repository at this point in the history
  3. core/txpool: remove use of errors.Join function (#27523)

    his function was added in Go 1.20, but our compatibility target
    is Go 1.19.
    fjl authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    1affc1c View commit details
    Browse the repository at this point in the history
  4. internal/ethapi: use same state for each invocation within EstimateGa…

    …s (#27505)
    
    EstimateGas repeatedly executes a transaction, performing a binary search with multiple gas prices to determine proper pricing. Each call retrieves a new copy of the state (https://github.com/ethereum/go-ethereum/blob/master/internal/ethapi/api.go#L1017) . Because the pending/latest state can change during the execution of EstimateGas, this can potentially cause strange behavior (as noted here: ethereum/go-ethereum#27502 (comment)).
    
    This PR modifies EstimateGas to retrieve the state once and use a copy of it for every call invocation it does.
    jwasinger authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    8c288b5 View commit details
    Browse the repository at this point in the history
  5. cmd, core/state, eth, tests, trie: improve state reader (#27428)

    The state availability is checked during the creation of a state reader.
    
    -    In hash-based database, if the specified root node does not exist on disk disk, then
        the state reader won't be created and an error will be returned.
    
    -    In path-based database, if the specified state layer is not available, then the
        state reader won't be created and an error will be returned.
    
    This change also contains a stricter semantics regarding the `Commit` operation: once it has been performed, the trie is no longer usable, and certain operations will return an error.
    rjl493456442 authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    6d2aeb4 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. ethdb/pebble: fsync for batch writes (#27522)

    This is likely the culprit behind several data corruption issues, e.g. where data has been
    written to the freezer, but the deletion from pebble does not go through due to process
    crash.
    holiman authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    713fc8b View commit details
    Browse the repository at this point in the history
  2. internal/ethapi: quantity-encode storage keys in eth_getProof respons…

    …e (#27309)
    
    This changes the eth_getProof method implementation to re-encode the requested
    storage keys, canonicalizing them in the response. For backwards-compatibility reasons,
    go-ethereum accepts non-canonical hex keys. Accepting them is fine, but we should
    not mirror invalid inputs into the output.
    
    Closes #27306
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    Co-authored-by: Felix Lange <[email protected]>
    3 people authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    fd5d2ef View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. p2p/discover: swap verification order in discv4 ping handler (#27532)

    In all other UDPv4 methods, the deadline is checked first. It seems weird to me that ping is an exception. Deadline comparison is also less resource intensive.
    
    Co-authored-by: Exca-DK <[email protected]>
    Exca-DK and Exca-DK authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    5520cd9 View commit details
    Browse the repository at this point in the history
  2. core/state, light, trie: add UpdateContractCode to the Trie interface…

    … (#27476)
    
    Verkle trees store the code inside the trie. This PR changes the interface to pass the code, as well as the dirty flag to tell the trie package if the code is dirty and needs to be updated. This is a no-op for the MPT and the odr trie.
    gballet authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    699243f View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

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

Commits on Jun 25, 2023

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

Commits on Jun 27, 2023

  1. eth/protocols: put protocols in order (#27543)

    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    8044177 View commit details
    Browse the repository at this point in the history
  2. cmd/geth: error message should not be capitalised (#27549)

    error message should not be capitalized / consistency
    puhtaytow authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    b4bc9b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b90c44 View commit details
    Browse the repository at this point in the history
  4. core/vm: move TSTORE,TLOAD to correct opcode nums (#27613)

    * core/vm: move TSTORE,TLOAD to correct opcode nums
    
    * core/vm: cleanup
    MariusVanDerWijden authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    d7ea278 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9005912 View commit details
    Browse the repository at this point in the history
  6. core: log message if DeriveFields returns error (#27530)

    This error will never happen, but if it ever does happen, we will at least see it.
    aaronbuchwald authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    d73eb87 View commit details
    Browse the repository at this point in the history
  7. trie, core/state: revert error removal in (*state.Trie).Commit (#27544)

    * trie, core/state: revert error removal in (*state.Trie).Commit
    
    * Gary's nitpick :)
    
    Co-Authored-By:  rjl493456442 <[email protected]>
    
    ---------
    
    Co-authored-by: rjl493456442 <[email protected]>
    gballet and rjl493456442 authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    c7b099b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    eed7983 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. eth: send big transactions by announce/retrieve only (#27618)

    * eth: send big transactions by announce/retrieve only
    
    * Update eth/handler.go
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    
    * eth: remove superfluous bracket
    
    * eth: add whitespace
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    MariusVanDerWijden and holiman authored Jun 28, 2023
    Configuration menu
    Copy the full SHA
    f5d3d48 View commit details
    Browse the repository at this point in the history
  2. params, trie: add verkle fork management + upgrade go-verkle (#27464)

    * params, trie: add verkle fork management + upgrade go-verkle
    
    * remove the two verkle files
    
    * core, eth, params: add missing function
    
    * Gary's feedback
    
    * remove trie/utils/verkle.go
    
    * add verkle block override
    
    ---------
    
    Co-authored-by: Gary Rong <[email protected]>
    gballet and rjl493456442 authored Jun 28, 2023
    Configuration menu
    Copy the full SHA
    85b8d1c View commit details
    Browse the repository at this point in the history
  3. core/state, light, les: make signature of ContractCode hash-independe…

    …nt (#27209)
    
    * core/state, light, les: make signature of ContractCode hash-independent
    
    * push current state for feedback
    
    * les: fix unit test
    
    * core, les, light: fix les unittests
    
    * core/state, trie, les, light: fix state iterator
    
    * core, les: address comments
    
    * les: fix lint
    
    ---------
    
    Co-authored-by: Gary Rong <[email protected]>
    gballet and rjl493456442 authored Jun 28, 2023
    Configuration menu
    Copy the full SHA
    8bbb16b View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2023

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

Commits on Jul 4, 2023

  1. cmd, core, eth, graphql, trie: no persisted clean trie cache file (#2…

    …7525)
    
    The clean trie cache is persisted periodically, therefore Geth can
    quickly warmup the cache in next restart.
    
    However it will reduce the robustness of system. The assumption is
    held in Geth that if the parent trie node is present, then the entire
    sub-trie associated with the parent are all prensent.
    
    Imagine the scenario that Geth rewinds itself to a past block and
    restart, but Geth finds the root node of "future state" in clean
    cache then regard this state is present in disk, while is not in fact.
    
    Another example is offline pruning tool. Whenever an offline pruning
    is performed, the clean cache file has to be removed to aviod hitting
    the root node of "deleted states" in clean cache.
    
    All in all, compare with the minor performance gain, system robustness
    is something we care more.
    rjl493456442 authored Jul 4, 2023
    Configuration menu
    Copy the full SHA
    59f7b28 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. ethdb/leveldb: update leveldb metrics collection (#27643)

    This removes text parsing in leveldb metrics collection code. All metrics
    can now be accessed through the stats API provided by leveldb.
    
    We also add new gauge-typed metrics that count the number of tables at each level.
    
    ---------
    
    Co-authored-by: Exca-DK <[email protected]>
    Co-authored-by: Gary Rong <[email protected]>
    Co-authored-by: Felix Lange <[email protected]>
    4 people authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    863f6da View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. core: stop chain when tests are finished (#27660)

    core (blockchain_test): add chain.Stop() to tests
    darioush authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    83d7f42 View commit details
    Browse the repository at this point in the history
  2. Implement geth-embedded builder API

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    e5f7af5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    39d3291 View commit details
    Browse the repository at this point in the history
  4. Adjust logsBloom encoding (#4)

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    222af77 View commit details
    Browse the repository at this point in the history
  5. Adjust base fee encoding (#5)

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    fe9a362 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    40eb563 View commit details
    Browse the repository at this point in the history
  7. Adjust value encoding (#9)

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    a9e650a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ae04316 View commit details
    Browse the repository at this point in the history
  9. Add remote relay connection for getting validator data (#11)

    * Add remote relay connection for getting validator data
    * Add block submission to remote relay
    * Adjust readme
    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    b231e2d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    783a3cd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b1ad5e7 View commit details
    Browse the repository at this point in the history
  12. Upgrade github.com/btcsuite/btcd (#14)

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    0de2c8c View commit details
    Browse the repository at this point in the history
  13. Fix lint issues (#15)

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    29d68e9 View commit details
    Browse the repository at this point in the history
  14. Update README.md (#16)

    thINKoor authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    226df6d View commit details
    Browse the repository at this point in the history
  15. Add block build trigger from beacon node api (#17)

    * Add block build trigger from beacon node
    
    * remove empty block building
    
    Co-authored-by: avalonche <[email protected]>
    avalonche and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    909d105 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f7379e1 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9ef7ab8 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e75a9a7 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a9ab98f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    74bffcd View commit details
    Browse the repository at this point in the history
  21. Flashbots change up to v0.3

    jparyani authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    e371e7d View commit details
    Browse the repository at this point in the history
  22. Flashbots changes v0.3 to v0.4

    bogatyy authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    a935bec View commit details
    Browse the repository at this point in the history
  23. signer/core: show helptext when clef rejects signing (#27538)

    
    Co-authored-by: Martin Holst Swende <[email protected]>
    joohhnnn and holiman authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    ab0e0f3 View commit details
    Browse the repository at this point in the history
  24. Flashbots changes v0.4 to v0.5

    * fix issue with geth not shutting down (#97)
    * Add eth_callBundle rpc method (#14)
    * flashbots: add eth_estimateGasBundle (#102)
    * feat(ethash): flashbots_getWork RPC with profit (#106)
    * Calculate megabundle as soon as it's received (#112)
    * Add v0.5 specification link (#118)
    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    9db6f04 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    13959f3 View commit details
    Browse the repository at this point in the history
  26. Remove private transactions that are confirmed in blocks

    Kevin Chen authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    560ca51 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    921249f View commit details
    Browse the repository at this point in the history
  28. Discard reverting megabundle blocks and head change interrupted blocks (

    #123)
    
    * Discard reverting megabundle blocks and head change interrupted blocks
    
    * Discard all blocks with incomplete bundles
    
    * Run reverting megabundles regression test separately from bundle tests
    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    9ef2ebc View commit details
    Browse the repository at this point in the history
  29. Seal the best block available

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    249c5c1 View commit details
    Browse the repository at this point in the history
  30. Implement block validation API

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    19c3ab2 View commit details
    Browse the repository at this point in the history
  31. Add timeout to e2e

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    2f8e93f View commit details
    Browse the repository at this point in the history
  32. Upgrade dependencies

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    4596563 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    7f7f62a View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    077db7f View commit details
    Browse the repository at this point in the history
  35. Implement pushing blocks data to the DB (#18)

    Co-authored-by: Bhakiyaraj Kalimuthu <[email protected]>
    2 people authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    8edd514 View commit details
    Browse the repository at this point in the history
  36. add miner blocklist (#21)

    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    89b5d87 View commit details
    Browse the repository at this point in the history
  37. fix statedb copy (#22)

    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    404e7b6 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    3f188f7 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    2b66d3c View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    6bedbf6 View commit details
    Browse the repository at this point in the history
  41. init bundle fetcher (#24)

    * high prio and low prio bundle fetcher
    bhakiyakalimuthu authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    54a276c View commit details
    Browse the repository at this point in the history
  42. increase payment tx gas limit

    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    d054b5b View commit details
    Browse the repository at this point in the history
  43. do not fetch bundle if empty block num during the starup (#29)

    * do not fetch bundle if empty block num during the startup
    bhakiyakalimuthu authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    c476acf View commit details
    Browse the repository at this point in the history
  44. Update gas limit in api check (#30)

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    584e807 View commit details
    Browse the repository at this point in the history
  45. set proposer payment to 26k (#31)

    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    8173557 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    9571573 View commit details
    Browse the repository at this point in the history
  47. new greedy builder

    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    b4f4bd1 View commit details
    Browse the repository at this point in the history
  48. sim bundles in parallel (new merger) (#33)

    * sim bundles in parallel
    * add cache for failed bundles too
    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f0b275b View commit details
    Browse the repository at this point in the history
  49. Merge new merger algo and mev-geth

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    c2d988c View commit details
    Browse the repository at this point in the history
  50. Enable portable blst

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    c093cf3 View commit details
    Browse the repository at this point in the history
  51. Build on multiple tips (#35)

    * remove unused beacon client from the builder
    
    * build on multiple tips
    
    * worker async generateWork
    
    * rework bundle cache
    
    * fix validate payload test in main
    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    031990c View commit details
    Browse the repository at this point in the history
  52. better logs (#36)

    * miner logs
    * builder logs
    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    7faf54f View commit details
    Browse the repository at this point in the history
  53. squash more annoying logs (#37)

    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    6bb10f5 View commit details
    Browse the repository at this point in the history
  54. Logs pt 3 (#38)

    * log more info about bundles for all algos
    * remove redundant build block log
    * make fetch logs debug
    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    af818b8 View commit details
    Browse the repository at this point in the history
  55. New payment tx (#40)

    * Rework payment tx
    
    * move env access from worker
    
    * add builder.dry-run
    
    * Move proposer tx from fillTransactions
    
    * Use one flag for validation blocklist
    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    0c567ab View commit details
    Browse the repository at this point in the history
  56. Improvements from greedy improve algo (#41)

    * Backport improvements to the builder from incremental improvements
    * Make linter happy
    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    ab35c21 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    6fa73d2 View commit details
    Browse the repository at this point in the history
  58. More bundle visibility (#42)

    Use batch queries for upserting data on built blocks. Include more data on the built blocks - sealing time, orderflow cutoff time, and include data for all bundles considered.
    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    61e65cf View commit details
    Browse the repository at this point in the history
  59. Cleanup and include old mev geth prs (#45)

    * Remove old infra scripts
    * core: tx_pool not return `error` in `MevBundles()`
    * Adjust worker to not consider error returned from MevBundles
    * Update web3ext.go
    * internal/ethapi: Fix context not being used
    * fix: dev: add defer privateTx.Stop()
    
    Co-authored-by: eugene <[email protected]>
    Co-authored-by: 0x2 <[email protected]>
    Co-authored-by: Nicolas Gotchac <[email protected]>
    Co-authored-by: Jolly Zhao <[email protected]>
    5 people authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f0445c3 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    236329f View commit details
    Browse the repository at this point in the history
  61. Add disable bundle fetcher flag (#48)

    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f795515 View commit details
    Browse the repository at this point in the history
  62. update readme (#49)

    * update readme
    * add bundle movement (#50)
    * Add builder diagram
    
    Co-authored-by: Bhakiyaraj Kalimuthu <[email protected]>
    Co-authored-by: Mateusz Morusiewicz <[email protected]>
    3 people authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    072036c View commit details
    Browse the repository at this point in the history
  63. Update README.md

    metachris authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    e44079f View commit details
    Browse the repository at this point in the history
  64. Merge changes from validation (#4)

    * Implement block validation API
    
    * Validate proposer payment assuming its the last transaction in the block (#4)
    
    * Validate that the coinbase and feeRecipient are not blacklisted (#5)
    
    * Validate that the proposer payment has no calldata and its gas usage (#6)
    
    * Validate gas limit is set correctly wrt registered (#8)
    
    * Pass validation-specific config (#9)
    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    311b9a2 View commit details
    Browse the repository at this point in the history
  65. Use snapshots for blocklist revert (#5)

    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    b25c04b View commit details
    Browse the repository at this point in the history
  66. added contributing.md (#8)

    metachris authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    22bea95 View commit details
    Browse the repository at this point in the history
  67. cleanup cla (#9)

    metachris authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    d32aaa8 View commit details
    Browse the repository at this point in the history
  68. Add builder config toml support (#2)

    refcell authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    d00af81 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    0def572 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    e93910a View commit details
    Browse the repository at this point in the history
  71. Fix duplicate relay registrations in cache (#15)

    * Fix duplicate relay registrations in cache
    
    * Remove Timestamp from builder validation data as it should be ignored
    
    * Adjust cfg.SecondaryRemoteRelayEndpoints for empty list
    
    Co-authored-by: Mateusz Morusiewicz <[email protected]>
    avalonche and Ruteri committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    547b223 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    16e9004 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    10b5a60 View commit details
    Browse the repository at this point in the history
  74. Fix getting validators map for local relay (#20)

    * Fix getting validators map for local relay
    
    * pr comments
    
    * add timer for updating known validators
    
    * improvement to local validator map fetching
    
    * lock for map updating
    
    * properly lock updates
    
    * get current slot if the mapping is empty
    
    * remove onForkchoiceUpdate
    
    * graceful shutdown
    
    * Split initial proposer sync from the proposer fetch loop (#28)
    
    Co-authored-by: Mateusz Morusiewicz <[email protected]>
    avalonche and Ruteri committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    9a5b5a4 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    62a8e25 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    df4ae61 View commit details
    Browse the repository at this point in the history
  77. Work on local devnet (#30)

    * Always recommit when creating blocks
    
    * Allow algo worker for local block creation
    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    8858ce6 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    11fe757 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    ba4ecb4 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    a012039 View commit details
    Browse the repository at this point in the history
  81. Add metrics for builder (#24)

    * Add metrics for builder
    
    * add metrics for individual simulations
    
    * Add builder metrics to README (#34)
    avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    04b5fc9 View commit details
    Browse the repository at this point in the history
  82. Bundle cancellations (#36)

    Introduces bundle replacement and cancellation via replacementUuid.
    Since the replacement is tied to a specific sender, eth_sendBundle gets two additional optional fields: the replacement uuid and the signingAddress of the bundle submission.
    
    The DB requests are done in the background, and cancellations are resolved while non-cancelable bundles are already being simulated to avoid waiting for DB to reply.
    If anything goes wrong with the cancellations, the cancelable bundles are not considered.
    
    Note: every block is now sent to the relay, as we can no longer rely on the highest-profit rule!
    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    4314b66 View commit details
    Browse the repository at this point in the history
  83. capella upgrade

    avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    043bc35 View commit details
    Browse the repository at this point in the history
  84. Reduce redunant payload creation (#44)

    * Remove redundant payload creation
    
    * pr comments
    avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    5646467 View commit details
    Browse the repository at this point in the history
  85. Prevent uint256 overflow during conversion (#45)

    * Prevent uint256 overflow during conversion
    
    * add shanghai checks
    
    * remove unused functions
    
    * move validation to ValidatePayload
    avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    7e6c90c View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    75c53d9 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    698dccb View commit details
    Browse the repository at this point in the history
  88. 1.11.4 release

    avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    9aa3df2 View commit details
    Browse the repository at this point in the history
  89. Remove example blacklist (#56)

    This one was not maintained and it's the responsibility of the entity running the builder to decide on and maintain a blacklist
    metachris authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    0795cc1 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    d130f84 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    1b183d2 View commit details
    Browse the repository at this point in the history
  92. Add SSE subscription to builder (#53)

    * Add SSE subscription to builder
    
    * withdrawals marshalling
    
    * add stop channel
    
    * pr comments
    
    * Add handling multiple beacon clients (#57)
    
    * Add handling multiple beacon clients
    
    * Initialize stop channel in builder.Builder
    
    * fix withdrawals array pointer
    
    * Build on a single head (#59)
    
    * Build on a single head
    
    * Forcibly stop building process for old sse events
    
    ---------
    
    Co-authored-by: avalonche <[email protected]>
    
    * linting
    
    ---------
    
    Co-authored-by: Mateusz Morusiewicz <[email protected]>
    avalonche and Ruteri committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    39995c8 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    064ba77 View commit details
    Browse the repository at this point in the history
  94. builder: allow only building on top of first payload attributes event…

    … as it should be canonical (#62)
    Ruteri authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    7f15a32 View commit details
    Browse the repository at this point in the history
  95. Linting for builder (#63)

    avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    d5569c1 View commit details
    Browse the repository at this point in the history
  96. Fix race in tests (#65)

    * Fix race in tests
    
    * ci fix duplicate flows
    avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    b60ac12 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    1508dc5 View commit details
    Browse the repository at this point in the history
  98. Ssz encoded request (#69)

    * SSZ Encoded Builder submissions
    
    * add flag to cmd
    
    * Upgrade go builder client to 0.3.0
    
    * error handling improvements
    
    * enable cancellations
    
    * add gzip support
    
    * add config to endpoint
    
    * linting
    avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    0fc502b View commit details
    Browse the repository at this point in the history
  99. [build-295] Improve Builder submission rate (#70)

    - Prior to change, builder submissions happened roughly between ~t-11 to ~t+3 where t is the time of slot s
    - After change, builder submissions happen roughly between ~t-4 to ~t+3, which is desired
    
    * Add bug fix for rate limit
    
    * Expose environment variables that adjust builder rate limit and burst limit, update submit logic such that submissions happen near end of slot
    
    * Update submit loop function
    
    * Update conditional in resubmit loop
    
    * Update rate limit variable name
    
    * Create constant for default burst on builder rate limit
    
    * Use CLI flags instead of bespoke environment variables for builder rate limit settings
    
    * Fix typo
    
    * Update logs for more data analysis
    
    * Expose builder block resubmit interval as CLI flag and environment variable
    
    * Update variable name for default builder block resubmit interval
    
    * Fix wait time when timestamp is not passed in to address failures in unit tests
    
    * Update README
    
    * Update comments
    
    * Fix when error log occurs
    
    * Update log
    
    * Update check
    
    * Update go mod
    Wazzymandias authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    20869e4 View commit details
    Browse the repository at this point in the history
  100. mev share (#74)

    New kind of bundle added. (`SBundle`) This bundle supports validity conditions such as refunds.
    * bundle is supported in the builder, txpool
    * api `mev_sendBundle` is used to accept this bundles
    * api `mev_cancelBundleByHash` is used to remove bundle from pool
    * api `mev_simBundle` is used to simulate this kind of bundle
    dvush authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    8771475 View commit details
    Browse the repository at this point in the history
  101. Update go-boost-utils and type upgrades (#72)

    * Update go-boost-utils and type upgrades
    
    * fix tests
    
    * linting
    
    * merge conflicts
    avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f4cbb84 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    afd4838 View commit details
    Browse the repository at this point in the history
  103. Add builder submission offset flag and update default submission offs…

    …et from end of slot to 3 seconds (#80)
    
    * Based on data analysis, we find that validators make a getHeader call near the end of the slot
    * The activity of other builders indicates submissions coalesce around t-3 to t+1, where t is the end of the slot
    * Currently, Flashbots builder submits starting at t-4.
    * This was always meant to be a temporary measure to make sure we don't risk the stability of existing builder by inducing too late a submission.
    * This task adds support for changing the submission to t-3 and exposes configurable CLI and environment variable parameters for builder submission offset.
    Wazzymandias authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    b8e4460 View commit details
    Browse the repository at this point in the history
  104. Add support for additional block building algorithm (#76)

    * Add initial implementation for builder bucketized merging algorithm
    
    * Simplify logic and update buckets to initialize from top of heap rather than static size from max element of heap
    
    * Add logic to commit transactions when heap is empty
    
    * Fix erroneous integer division
    
    * Move profit function to TxWithMinerFee pointer receiver, refactor sorting algorithm
    
    * Add logic for enforcing profit on bundles and sbundles
    
    * Split greedy buckets builder from greedy builder
    
    * Add greedy bucket worker
    
    * Update tests to support separate greedy buckets builder, add retry logic
    
    * Make new multi worker explicit in supported algorithm types, update ShiftAndPushByAccountForTx
    
    * Reduce retry count to 1, update signature formatting
    
    * Add else statement with panic clause for unsupported order type in algo greedy buckets
    
    * Update greedy buckets algorithm to use gas used for transaction on retries
    
    * Remove tx profit validation for the scope of this PR due to performance implications of rolling back state on low profit
    
    * Update method signatures to algoConf
    
    * Move closures to outside function, add low profit error and update greedy buckets algorithm to only reinsert when low profit error occurs. Update TxWithMinerFee to set price and set profit after low profit error to reinsert back into heap
    Wazzymandias authored and avalonche committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    c6f54f5 View commit details
    Browse the repository at this point in the history
  105. cmd/geth: implement dev mode for post-merge (#27327)

    This change adds back the 'geth --dev' mode of operation, using a cl-mocker. 
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    Co-authored-by: rjl493456442 <[email protected]>
    Co-authored-by: lightclient <[email protected]>
    4 people authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    ea78280 View commit details
    Browse the repository at this point in the history
  106. p2p, p2p/discover: add dial metrics (#27621)

    This PR adds metrics for p2p dialing, which gives us visibility into the quality of the dial 
    candidates  returned by our discovery methods.
    lightclient authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    cbf2579 View commit details
    Browse the repository at this point in the history
  107. core: remove outdated tests (#27662)

    Back before #27178 , we spun up a number of ethash verifiers to verify headers. So we also had tests to ensure that we were indeed able to abort verification even if we had multiple workers running.
    
    With PR #27178, we removed the parallelism in verification, and these tests are now failing, since we now just sequentially fire away the results as fast as possible on one routine.
    
    This change removes the (sometimes failing) tests
    holiman authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    c866dfd View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

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

Commits on Jul 10, 2023

  1. Configuration menu
    Copy the full SHA
    af8b138 View commit details
    Browse the repository at this point in the history
  2. [trivial] Parameterize greedy-buckets price cutoff percent & update b…

    …undle profit to coinbase delta (#83)
    
    * Parameterize greedy-buckets price cutoff percent to support dynamic bucket sizes
    
    * Update profit function to use coinbase difference for bundles instead of total eth
    
    * Update CLI to use default pirce cutoff percent
    Wazzymandias authored and avalonche committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    abc6abe View commit details
    Browse the repository at this point in the history
  3. rebase conflicts

    avalonche committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    a97d32c View commit details
    Browse the repository at this point in the history
  4. remove uneeded flags

    avalonche committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    c4349de View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. core/vm: implement EIP-5656, mcopy instruction (#26181)

    Implements [EIP 5656](https://eips.ethereum.org/EIPS/eip-5656), MCOPY instruction, and enables it for Cancun. 
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    charles-cooper and holiman authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    5c9cbc2 View commit details
    Browse the repository at this point in the history
  2. eth: better active protocol handler tracking (#27665)

    Fixes an issue where waitgroups were used erroneously, which could lead to waitgroup being added to while wait was already invoked.
    lightclient authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    e1fd3d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aecf3f9 View commit details
    Browse the repository at this point in the history
  4. core/state: value diff tracking in StateDB (#27349)

    This change makes the StateDB track the state key value diff of a block transition.
    We already tracked current account and storage values for the purpose of updating
    the state snapshot. With this PR, we now also track the original (pre-transition) values
    of accounts and storage slots.
    rjl493456442 authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    4b06e4f View commit details
    Browse the repository at this point in the history
  5. cmd/utils, p2p: clean up discovery setup (#27518)

    This simplifies the code that initializes the discovery a bit, and
    adds new flags for enabling/disabling discv4 and discv5 separately.
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    lightclient and fjl authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    645b0db View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a565fa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cecd221 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. core/rawdb: support freezer batch read with no size limit (#27687)

    This change adds the ability to perform reads from freezer without size limitation. This can be useful in cases where callers are certain that out-of-memory will not happen (e.g. reading only a few elements). 
    
    The previous API was designed to behave both optimally and secure while servicing a request from a peer, whereas this change should _not_ be used when an untrusted peer can influence the query size.
    rjl493456442 authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    0b1f97e View commit details
    Browse the repository at this point in the history
  2. p2p/discover: filter bootnodes by netrestrict (#27701)

    This prevents an issue where the node would attempt to contact the bootstrap
    nodes even if they weren't contained in the netrestrict list.
    fjl authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    a426999 View commit details
    Browse the repository at this point in the history
  3. accounts, cmd/evm: fix docstrings (#27703)

    fix function name in comment
    
    Signed-off-by: cui fliter <[email protected]>
    cuishuang authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    80b7bfe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    040a4a5 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. eth, miner: rm redundant type declare (#27713)

    * eth: rm redundant type from array, slice, or map
    
    * miner: rm redundant type from array, slice, or map
    jsvisa authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    714f759 View commit details
    Browse the repository at this point in the history
  2. graphql: fix race in withdrawals test (#27706)

    graphql: fix race in test
    s1na authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    4f0d8f0 View commit details
    Browse the repository at this point in the history
  3. internal: early exit if tx for getTxReceipt not found (#27712)

    internal/ethapi: fast exit if tx notfound
    jsvisa authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    10a136a View commit details
    Browse the repository at this point in the history
  4. internal/ethapi: add more testcase for GetTransactionReceipt (#27527)

    * internal/ethapi: testBackend reuse the same db
    
    Signed-off-by: jsvisa <[email protected]>
    
    * internal/ethapi: implment GetTransaction
    
    Signed-off-by: jsvisa <[email protected]>
    
    * internal/ethapi: implement GetReceipts
    
    Signed-off-by: jsvisa <[email protected]>
    
    * internal/ethapi: insert receipts and setup txlookup
    
    Signed-off-by: jsvisa <[email protected]>
    
    * internal/ethapi: add simple success tx receipt test
    
    Signed-off-by: jsvisa <[email protected]>
    
    * internal/ethapi: add case create contract
    
    Signed-off-by: jsvisa <[email protected]>
    
    * internal/ethapi: add contract call receipt
    
    Signed-off-by: jsvisa <[email protected]>
    
    * internal/ethapi: add tx notfound
    
    Signed-off-by: jsvisa <[email protected]>
    
    * internal/ethapi: add dynamic fee testcase
    
    * internal/ethapi: add accessList receipt
    
    * internal/ethapi: no need to insert receipt chain, no error
    
    * internal/ethapi: use HeaderByHash instead
    
    * internal/ethapi: add one more case
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    5d03504 View commit details
    Browse the repository at this point in the history
  5. eth/tracers: add ReturnData in the tracer's response (#27704)

    The struct logger (or opcode tracer) was missing the return data field even
    if this was explicitly enabled by user via `"enableReturnData": true` in the config.
    This PR fixes this issue.
    
    Co-authored-by: Sina Mahmoodi <[email protected]>
    jsvisa and s1na authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    1e069cf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    517ac88 View commit details
    Browse the repository at this point in the history
  7. go.sum: go mod tidy (#27717)

    ucwong authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    e1fe6bc View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Configuration menu
    Copy the full SHA
    c40ab6a View commit details
    Browse the repository at this point in the history
  2. cmd/bootnode, p2p: support for alternate mapped ports (#26359)

    This changes the port mapping procedure such that, when the requested port is unavailable
    an alternative port suggested by the router is used instead.
    
    We now also repeatedly request the external IP from the router in order to catch any IP changes.
    
    Co-authored-by: Felix Lange <[email protected]>
    dbadoy and fjl authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    60ecf48 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13c0305 View commit details
    Browse the repository at this point in the history
  4. cmd/geth: use automaxprocs to apply cpu quota correctly (#27506)

    It is usually best to set GOMAXPROCS to the number of available CPU cores. However, setting
    it like that does not work well when the process is quota-limited to a certain number of CPUs.
    The automaxprocs library configures GOMAXPROCS, taking such limits into account.
    jsvisa authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    47b9f1b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    34d5072 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2023

  1. Configuration menu
    Copy the full SHA
    00408f7 View commit details
    Browse the repository at this point in the history
  2. core: replace instances of 'suicide' with 'selfdestruct' to improve c…

    …ode consistency. (#27716)
    
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    Co-authored-by: lightclient <[email protected]>
    3 people authored Jul 15, 2023
    Configuration menu
    Copy the full SHA
    d233b6b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99e000c View commit details
    Browse the repository at this point in the history
  4. core, tests: EIP-4844 transaction processing logic (#27721)

    This updates the reference tests to the latest version and also adds logic
    to process EIP-4844 blob transactions into the state transition. We are now
    passing most Cancun fork tests.
    
    Co-authored-by: Marius van der Wijden <[email protected]>
    Co-authored-by: Felix Lange <[email protected]>
    3 people authored Jul 15, 2023
    Configuration menu
    Copy the full SHA
    b058cf4 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. core/state, core/vm: implement EIP 6780 (#27189)

    EIP-6780: SELFDESTRUCT only in same transaction
    
    >     SELFDESTRUCT will recover all funds to the caller but not delete the account, except when called in the same transaction as creation
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    jwasinger and holiman authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    988d84a View commit details
    Browse the repository at this point in the history
  2. les: remove obsolete code related to PoW header syncing (#27737)

    This change removes PoW header syncing related code from LES and also deletes 
    duplicated packages les/catalyst, les/downloader and les/fetcher. These package copies
    were created because people wanted to make changes in their eth/ counterparts, but weren't
    able to adapt LES code to the API changes.
    zsfelfoldi authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    d4d88f9 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. beacon/engine, eth/catalyst: EIP-4844 updates for the engine API (#27…

    …736)
    
    This is a spin-out from the EIP-4844 devnet branch, containing just the Engine API modifications
    and nothing else. The newPayloadV3 endpoint won't really work in this version, but we need the
    data structures for testing so I'd like to get this in early.
    
    Co-authored-by: Marius van der Wijden <[email protected]>
    fjl and MariusVanDerWijden authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    e86ad52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f756dc View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. Configuration menu
    Copy the full SHA
    a46f417 View commit details
    Browse the repository at this point in the history
  2. all: expose block number information to statedb (#27753)

    * core/state: clean up
    
    * all: add block number infomration to statedb
    
    * core, trie: rename blockNumber to block
    rjl493456442 authored Jul 24, 2023
    Configuration menu
    Copy the full SHA
    88f3d61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7a1fba1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a196f3e View commit details
    Browse the repository at this point in the history
  5. crypto/kzg4844: do lazy init in all ckzg funcs (#27679)

    * crypto/kzg4844: remove unnecessary init call & fix typo
    
    * Fix kzg4844 tests/benchmarks
    
    * Make init lazy & revert changes to tests
    jtraglia authored Jul 24, 2023
    Configuration menu
    Copy the full SHA
    2274a03 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    37b952a View commit details
    Browse the repository at this point in the history
  2. core/txpool/blobpool: 4844 blob transaction pool (#26940)

    * core/blobpool: implement txpool for blob txs
    
    * core/txpool: track address reservations to notice any weird bugs
    
    * core/txpool/blobpool: add support for in-memory operation for tests
    
    * core/txpool/blobpool: fix heap updating after SetGasTip if account is evicted
    
    * core/txpool/blobpool: fix eviction order if cheap leading txs are included
    
    * core/txpool/blobpool: add note as to why the eviction fields are not inited in reinject
    
    * go.mod: pull in inmem billy form upstream
    
    * core/txpool/blobpool: fix review commens
    
    * core/txpool/blobpool: make heap and heap test deterministic
    
    * core/txpool/blobpool: luv u linter
    
    * core/txpool: limit blob transactions to 16 per account
    
    * core/txpool/blobpool: fix rebase errors
    
    * core/txpool/blobpool: luv you linter
    
    * go.mod: revert some strange crypto package dep updates
    karalabe authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    1662228 View commit details
    Browse the repository at this point in the history
  3. core/types: add 4844 data gas fields in Receipt (#27743)

    * core/types: add data gas fields in Receipt
    
    * core/types: use BlobGas method of tx
    
    * core: fix test
    
    * core/types: fix receipt tests, add data gas used field test
    
    ---------
    
    Co-authored-by: Péter Szilágyi <[email protected]>
    fjl and karalabe authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    393d4db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f4b21f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    57268f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d955653 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

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

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    95cc7bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a4eba6 View commit details
    Browse the repository at this point in the history
  3. core: remove pointless check for excessBlobGas nilness (#27797)

    * core: check excessBlobGas in front
    
    Signed-off-by: jsvisa <[email protected]>
    
    * core: no need to manual panic
    
    Signed-off-by: jsvisa <[email protected]>
    
    * core: no comment
    
    Signed-off-by: jsvisa <[email protected]>
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    43a1a48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    817553c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4e97756 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. all: replace data gas to blob gas in comments (#27825)

    * eth: excessDataGas -> excessBlobGas
    
    * consensus: data gas -> blob gas
    
    * core: data gas -> blob gas
    
    * params: data gas -> blob gas
    jsvisa authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    3ca92f7 View commit details
    Browse the repository at this point in the history
  2. tests: make tests pass on windows/386 (#27821)

    * tests: split up state test execution
    
    * Revert "tests: split up state test execution"
    
    This reverts commit 96017c248c85d24e93ad013a2bbe8b38c99327c0.
    
    * build: bump test timeout to 20 minutes
    holiman authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    852be57 View commit details
    Browse the repository at this point in the history
  3. core/txpool/blobpool: remove error log when finalized block is nil (#…

    …27822)
    
    * core/txpool/blobpool: remove error log when finalized block is nil
    
    * core/txpool/blobpool: take peter's suggestion
    rjl493456442 authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    2fd77a6 View commit details
    Browse the repository at this point in the history
  4. consensus/misc: move eip1559 into a package (#27828)

    * consensus/misc: move eip1559 as a sub directory
    
    Signed-off-by: jsvisa <[email protected]>
    
    * consensus/misc: package name
    
    Signed-off-by: jsvisa <[email protected]>
    
    * all: eip1559
    
    Signed-off-by: jsvisa <[email protected]>
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    7c95ebd View commit details
    Browse the repository at this point in the history
  5. cmd/evm: set ExcessBlobGas from env (#27796)

    Sets the `currentExcessBlobGas` from env, alternatively calculates it based on `parentExcessBlobGas` and `parentBlobGasUsed`. It then emits the `currentExcessBlobGas` and `currentBlobGasUsed` into the output, to be used as parent-values for a future iteration. 
    
    Closes #27785
    Closes #27783
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    jsvisa and holiman authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    f404a2d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9d744f0 View commit details
    Browse the repository at this point in the history
  7. all: implement path-based state scheme (#25963)

    * all: implement path-based state scheme
    
    * all: edits from review
    
    * core/rawdb, trie/triedb/pathdb: review changes
    
    * core, light, trie, eth, tests: reimplement pbss history
    
    * core, trie/triedb/pathdb: track block number in state history
    
    * trie/triedb/pathdb: add history documentation
    
    * core, trie/triedb/pathdb: address comments from Peter's review
    
    Important changes to list:
    
    - Cache trie nodes by path in clean cache
    - Remove root->id mappings when history is truncated
    
    * trie/triedb/pathdb: fallback to disk if unexpect node in clean cache
    
    * core/rawdb: fix tests
    
    * trie/triedb/pathdb: rename metrics, change clean cache key
    
    * trie/triedb: manage the clean cache inside of disk layer
    
    * trie/triedb/pathdb: move journal function
    
    * trie/triedb/path: fix tests
    
    * trie/triedb/pathdb: fix journal
    
    * trie/triedb/pathdb: fix history
    
    * trie/triedb/pathdb: try to fix tests on windows
    
    * core, trie: address comments
    
    * trie/triedb/pathdb: fix test issues
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    3 people authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    7de748d View commit details
    Browse the repository at this point in the history
  8. cmd/geth: disable automaxprocs log (#27814)

    Co-authored-by: Felix Lange <[email protected]>
    jsvisa and fjl authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    ff97b4c View commit details
    Browse the repository at this point in the history
  9. p2p: use atomic types (#27764)

    Co-authored-by: Felix Lange <[email protected]>
    ucwong and fjl authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    d04bde0 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

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

Commits on Aug 3, 2023

  1. merge with main

    avalonche committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    d6bc1d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e934f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. core/types: fix immutability guarantees in Block (#27844)

    This change rearranges the accessor methods in block.go and fixes some minor issues with
    the copy-on-write logic of block data. Fixed issues:
    
    - Block.WithWithdrawals did not create a shallow copy of the block.
    
    - Block.WithBody copied the header unnecessarily, and did not preserve withdrawals.
    
    However, the bugs did not affect any code in go-ethereum because blocks are *always*
    created using NewBlockWithHeader().WithBody().WithWithdrawals()
    fjl authored Aug 4, 2023
    Configuration menu
    Copy the full SHA
    df54435 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57cdbae View commit details
    Browse the repository at this point in the history
  3. core/types: support yParity field in JSON transactions (#27744)

    This adds support for the "yParity" field in transaction objects returned by RPC
    APIs. We somehow forgot to add this field even though it has been in the spec for
    a long time.
    fjl authored Aug 4, 2023
    Configuration menu
    Copy the full SHA
    bb148dd View commit details
    Browse the repository at this point in the history
  4. log: use atomic types (#27763)

    Co-authored-by: Felix Lange <[email protected]>
    ucwong and fjl authored Aug 4, 2023
    Configuration menu
    Copy the full SHA
    5c30541 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    60070fe View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Configuration menu
    Copy the full SHA
    8574767 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d14c07d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eeebb07 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6d2bcb9 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. graphql: avoid greedy allocation (#27873)

    Fixes a graphql-dos
    
    ---------
    
    Co-authored-by: Sina Mahmoodi <[email protected]>
    Co-authored-by: Sina Mahmoodi <[email protected]>
    3 people authored Aug 8, 2023
    Configuration menu
    Copy the full SHA
    0d772b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e13fa32 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. p2p: move ping handling into pingLoop goroutine (#27887)

    Moving the response sending there allows tracking all peer goroutines
    in the peer WaitGroup.
    fjl authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    7ec60d5 View commit details
    Browse the repository at this point in the history
  2. graphql: add yParity field for transactions (#27882)

    Co-authored-by: Felix Lange <[email protected]>
    jsvisa and fjl authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    10d9f93 View commit details
    Browse the repository at this point in the history
  3. core/state: move UpdateContractCode before the trie hash is computed …

    …(#27853)
    
    Context: The UpdateContractCode method was introduced for the state storage commitment
    schemes that include the whole code for their commitment computation. It must therefore be called
    before the root hash is computed at the end of IntermediateRoot.
    
    This should have no impact on the MPT since, in this context, the method is a no-op.
    gballet authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    6797902 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Configuration menu
    Copy the full SHA
    9c216bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d9a8b0f View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Configuration menu
    Copy the full SHA
    f299aa8 View commit details
    Browse the repository at this point in the history
  2. deps: update supranational/blst to 0.3.11 (#27890)

    build(deps): bump github.com/supranational/blst
    
    Bumps [github.com/supranational/blst](https://github.com/supranational/blst) from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11.
    - [Release notes](https://github.com/supranational/blst/releases)
    - [Commits](https://github.com/supranational/blst/commits/v0.3.11)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/supranational/blst
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and fjl committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    a0491a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    55863ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    770db14 View commit details
    Browse the repository at this point in the history
  5. all: update golang/x/ext and fix slice sorting fallout (#27909)

    The Go authors updated golang/x/ext to change the function signature of the slices sort method. 
    It's an entire shitshow now because x/ext is not tagged, so everyone's codebase just 
    picked a new version that some other dep depends on, causing our code to fail building.
    
    This PR updates the dep on our code too and does all the refactorings to follow upstream...
    karalabe authored and fjl committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    811a674 View commit details
    Browse the repository at this point in the history
  6. go.mod, build: upgrade c-kzg-4844 (#27907)

    This upgrades to the latest release of ckzg, and also attempts to fix some blst-related
    build errors that occur on launchpad.net.
    fjl committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    f298ec4 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

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

Commits on Aug 24, 2023

  1. merge geth 1.12.0

    avalonche committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    ee5a80c View commit details
    Browse the repository at this point in the history
  2. merge latest main

    avalonche committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    658904f View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

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

Commits on Sep 8, 2023

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

Commits on Sep 9, 2023

  1. Configuration menu
    Copy the full SHA
    8d7c11a View commit details
    Browse the repository at this point in the history
  2. Fix linter error

    Wazzymandias committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    eed21e3 View commit details
    Browse the repository at this point in the history
  3. Update go mod

    Wazzymandias committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    8475544 View commit details
    Browse the repository at this point in the history