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

Geth Merge v1.12.2 #968

Merged
merged 320 commits into from
Nov 10, 2023
Merged

Geth Merge v1.12.2 #968

merged 320 commits into from
Nov 10, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on May 23, 2023

  1. cmd/evm: make batched state-test execution possible (#27318)

    implements the ability to run several state-tests in one instance. By not providing a statetest path to the `evm statetest` command, the path(s) will instead be read from `stdin`.
    holiman authored May 23, 2023
    Configuration menu
    Copy the full SHA
    1a18283 View commit details
    Browse the repository at this point in the history
  2. rpc: change BlockNumber constant values to match ethclient (#27219)

    ethclient accepts certain negative block number values as specifiers for the "pending",
    "safe" and "finalized" block. In case of "pending", the value accepted by ethclient (-1)
    did not match rpc.PendingBlockNumber (-2).
    
    This wasn't really a problem, but other values accepted by ethclient did match the
    definitions in package rpc, and it's weird to have this one special case where they don't.
    
    To fix it, we decided to change the values of the constants rather than changing ethclient.
    The constant values are not otherwise significant. This is a breaking API change, but we
    believe not a dangerous one.
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    holiman and fjl authored May 23, 2023
    Configuration menu
    Copy the full SHA
    9231770 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Configuration menu
    Copy the full SHA
    e9c3183 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0095ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    21c87e0 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    dd25a4f View commit details
    Browse the repository at this point in the history
  2. internal,tests: replace noarg fmt.Errorf with errors.New (#27335)

    * internal: replace noarg fmt.Errorf with errors.New
    
    Signed-off-by: jsvisa <[email protected]>
    
    * tests: replace noarg fmt.Errorf with errors.New
    
    Signed-off-by: jsvisa <[email protected]>
    
    * tests: go autoimport
    
    Signed-off-by: jsvisa <[email protected]>
    
    * tests: go autoimport
    
    Signed-off-by: jsvisa <[email protected]>
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored May 25, 2023
    Configuration menu
    Copy the full SHA
    b21ba66 View commit details
    Browse the repository at this point in the history
  3. eth,consensus: replace noarg fmt.Errorf with errors.New (#27330)

    * eth: replace noarg fmt.Errorf with errors.New
    
    Signed-off-by: jsvisa <[email protected]>
    
    * consensus: replace noarg fmt.Errorf with errors.New
    
    Signed-off-by: jsvisa <[email protected]>
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored May 25, 2023
    Configuration menu
    Copy the full SHA
    8a78a4f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    33fdd03 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e501b3b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    690249d View commit details
    Browse the repository at this point in the history
  7. core,console: replace noarg fmt.Errorf with errors.New (#27332)

    * core: replace noarg fmt.Errorf with errors.New
    
    Signed-off-by: jsvisa <[email protected]>
    
    * console: replace noarg fmt.Errorf with errors.New
    
    Signed-off-by: jsvisa <[email protected]>
    
    * core: go autoimport
    
    Signed-off-by: jsvisa <[email protected]>
    
    * core: dry
    
    Signed-off-by: jsvisa <[email protected]>
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored May 25, 2023
    Configuration menu
    Copy the full SHA
    6c73276 View commit details
    Browse the repository at this point in the history
  8. accounts: replace noarg fmt.Errorf with errors.New (#27331)

    * accounts: replace noarg fmt.Errorf with errors.New
    
    Signed-off-by: jsvisa <[email protected]>
    
    * accounts: go autoimport
    
    Signed-off-by: jsvisa <[email protected]>
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored May 25, 2023
    Configuration menu
    Copy the full SHA
    9358b62 View commit details
    Browse the repository at this point in the history
  9. eth/filters: retrieve logs in async (#27135)

    This change implements async log retrievals via feeding logs in channels, instead of returning slices. This is a first step to implement #15063.  
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    Co-authored-by: Sina Mahmoodi <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    Co-authored-by: Sina Mahmoodi <[email protected]>
    4 people authored May 25, 2023
    Configuration menu
    Copy the full SHA
    db9a178 View commit details
    Browse the repository at this point in the history
  10. internal/ethapi: don't return header size from rpc (#27347)

    RPC methods `eth_getHeaderBy*` returned a size value which was meant for internal
    processes. Please instead use `size` field returned by `eth_getBlockBy*` if you're interested
    in the RLP encoded storage size of the block.
    
    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored May 25, 2023
    Configuration menu
    Copy the full SHA
    1816cdc View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. eth: split api.go into namespace based files (#27263)

    This change splits up the multiple API functions / namespaces currently defined in the eth package into different per-namespace files.
    jsvisa authored May 29, 2023
    Configuration menu
    Copy the full SHA
    1316621 View commit details
    Browse the repository at this point in the history
  2. internal/ethapi: add more testcases for block/header rpc (#27325)

    Signed-off-by: jsvisa <[email protected]>
    Co-authored-by: Sina Mahmoodi <[email protected]>
    jsvisa and s1na authored May 29, 2023
    Configuration menu
    Copy the full SHA
    c57b343 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Configuration menu
    Copy the full SHA
    1888174 View commit details
    Browse the repository at this point in the history
  2. eth: make debug_StorageRangeAt take a block hash or number (#27328)

    eth: make StorageRangeAt take a block hash or number
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    Co-authored-by: Sina Mahmoodi <[email protected]>
    3 people authored May 30, 2023
    Configuration menu
    Copy the full SHA
    d789c68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    560dceb View commit details
    Browse the repository at this point in the history
  4. event: move type fixation logic into Feed.init (#27249)

    This is a minor optimization/refactoring of Feed.
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    dbadoy and fjl authored May 30, 2023
    Configuration menu
    Copy the full SHA
    8013a49 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. internal/ethapi: prevent unnecessary resource usage in eth_getProof i…

    …mplementation (#27310)
    
    Deserialize hex keys early to shortcut on invalid input, and re-use the account storageTrie for each proof for each proof in the account, preventing repeated deep-copying of the trie.
    
    Closes #27308
    
     --------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    Co-authored-by: Marius van der Wijden <[email protected]>
    3 people authored May 31, 2023
    Configuration menu
    Copy the full SHA
    61dcf76 View commit details
    Browse the repository at this point in the history
  2. miner: suspend miner if node is syncing (#27218)

    Drop the notions of uncles, and disables activities while syncing
    
    -  Disable activities (e.g. generate pending state) while node is syncing,
    -  Disable empty block submission (but empty block is still kept for payload building),
    -  Drop uncle notion since (ethash is already deprecated)
    rjl493456442 authored May 31, 2023
    Configuration menu
    Copy the full SHA
    d496188 View commit details
    Browse the repository at this point in the history
  3. go.mod: golang.org/x upgrade (#27299)

    go.mod:golang upgrade
    ucwong authored May 31, 2023
    Configuration menu
    Copy the full SHA
    cc2ab42 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1f9b69b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    495692c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    008086f View commit details
    Browse the repository at this point in the history
  7. p2p/discover: add Table configuration and Nodes method (#27387)

    * p2p/discover: remove ReadRandomNodes
    
    Even though it's public, this method is not callable by code outside of
    package p2p/discover because one can't get a valid instance of Table.
    
    * p2p/discover: add Table.Nodes
    
    * p2p/discover: make Table settings configurable
    
    In unit tests and externally developed cmd/devp2p test runs, it can be
    useful to tune the timer intervals used by Table.
    fjl authored May 31, 2023
    Configuration menu
    Copy the full SHA
    ac86547 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. core/state: move slot RLP encoding into the MPT implementation (#27000)

    Continuing with a series of PRs to make the Trie interface more generic, this PR moves
    the RLP encoding of storage slots inside the StateTrie and light.Trie implementations,
    as other types of tries don't use RLP.
    gballet authored Jun 1, 2023
    Configuration menu
    Copy the full SHA
    45a3ab4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2372fb2 View commit details
    Browse the repository at this point in the history
  3. core/state: mark account as dirty when resetObject occurs (#27339)

    This changes the journal logic to mark the state object dirty immediately when it
    is reset. 
    
    We're mostly adding this change to appease the fuzzer. Marking it dirty immediately
    makes no difference in practice because accounts will always be modified by EVM
    right after creation.
    rjl493456442 authored Jun 1, 2023
    Configuration menu
    Copy the full SHA
    15bd21f View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

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

Commits on Jun 5, 2023

  1. eth/downloader: drop beacon head updates if the syncer is restarting …

    …(#27397)
    
    * eth/downloader: drop beacon head updates if the syncer is restarting
    
    * eth/donwloader: v2 of the goroutine spike preventer
    karalabe authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    a7b2106 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78f7a6b View commit details
    Browse the repository at this point in the history
  3. core/state: clear out cached state data when reset occurs (#27376)

    * core/state: remove cached snap data if reset occurs
    
    * core/state: address comment from peter
    
    * core/state: skip revert in case data is nil
    rjl493456442 authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    380fb4e View commit details
    Browse the repository at this point in the history
  4. core: 4844 opcode and precompile (#27356)

    * core: crypto: implement BLOBHASH and pointEval precompile
    
    * core: crypto: fixed nitpicks, moved precompile return value
    
    * core/vm: fix review comments
    MariusVanDerWijden authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    c537ace View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. core/state/snapshot, core/types, eth: move account definition to type…

    … (#27323)
    
    * core/state/snapshot, core/types, eth: move account definition to type
    
    * core, eth: revert snapshot Account API change
    rjl493456442 authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    0e5d2c7 View commit details
    Browse the repository at this point in the history
  2. cmd/evm: make evm blocktest output logs if so instructed (#27396)

    * cmd/evm: make evm blocktest output logs if so instructed
    
    * Apply suggestions from code review
    
    Co-authored-by: Marius van der Wijden <[email protected]>
    
    ---------
    
    Co-authored-by: Marius van der Wijden <[email protected]>
    holiman and MariusVanDerWijden authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    8eb0c2d View commit details
    Browse the repository at this point in the history
  3. core/txpool: fix minor flaw in isGapped check (#27404)

    This fix a minor implementation issue with the newly introduced isGapped function and it is described in ticket: ethereum/go-ethereum#27401
    dkatzan authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    b8ee287 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4cf708d View commit details
    Browse the repository at this point in the history
  5. core/txpool: make transaction validation reusable across packages (po…

    …ols) (#27429)
    
    * core/txpool: abstraction prep work for secondary pools (blob pool)
    
    * core/txpool: leave subpool concepts to a followup pr
    
    * les: fix tests using hard coded errors
    
    * core/txpool: use bitmaps instead of maps for tx type filtering
    karalabe authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    950d564 View commit details
    Browse the repository at this point in the history
  6. eth,core: add api debug_getTrieFlushInterval (#27303)

    * core,eth: add api debug_getTrieFlushInterval
    
    Signed-off-by: jsvisa <[email protected]>
    
    * eth/api_debug: comment of SetTrieFlushInterval
    
    Signed-off-by: jsvisa <[email protected]>
    
    * Apply suggestions from code review
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    jsvisa and holiman authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    0783cb7 View commit details
    Browse the repository at this point in the history
  7. graphql: implement withdrawals (EIP-4895) (#27072)

    implements withdrawals in graphql as per ethereum/execution-apis#400
    s1na authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    fbe432f View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Configuration menu
    Copy the full SHA
    99eb0b5 View commit details
    Browse the repository at this point in the history
  2. accounts/keystore: handle error for invalid key in DecryptKey (#27432)

    Co-authored-by: KAI <[email protected]>
    Co-authored-by: Felix Lange <[email protected]>
    3 people authored Jun 7, 2023
    Configuration menu
    Copy the full SHA
    5c51ef8 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

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

Commits on Jun 13, 2023

  1. Configuration menu
    Copy the full SHA
    174d267 View commit details
    Browse the repository at this point in the history
  2. internal/ethapi: remove error return on RPCMarshalBlock (#27449)

    rm error when marshal block to rpc type allen
    hero5512 authored Jun 13, 2023
    Configuration menu
    Copy the full SHA
    5ac4da3 View commit details
    Browse the repository at this point in the history
  3. rpc: add limit for batch request items and response size (#26681)

    This PR adds server-side limits for JSON-RPC batch requests. Before this change, batches
    were limited only by processing time. The server would pick calls from the batch and
    answer them until the response timeout occurred, then stop processing the remaining batch
    items.
    
    Here, we are adding two additional limits which can be configured:
    
    - the 'item limit': batches can have at most N items
    - the 'response size limit': batches can contain at most X response bytes
    
    These limits are optional in package rpc. In Geth, we set a default limit of 1000 items
    and 25MB response size.
    
    When a batch goes over the limit, an error response is returned to the client. However,
    doing this correctly isn't always possible. In JSON-RPC, only method calls with a valid
    `id` can be responded to. Since batches may also contain non-call messages or
    notifications, the best effort thing we can do to report an error with the batch itself is
    reporting the limit violation as an error for the first method call in the batch. If a batch is
    too large, but contains only notifications and responses, the error will be reported with
    a null `id`.
    
    The RPC client was also changed so it can deal with errors resulting from too large
    batches. An older client connected to the server code in this PR could get stuck
    until the request timeout occurred when the batch is too large. **Upgrading to a version
    of the RPC client containing this change is strongly recommended to avoid timeout issues.**
    
    For some weird reason, when writing the original client implementation, @fjl worked off of
    the assumption that responses could be distributed across batches arbitrarily. So for a
    batch request containing requests `[A B C]`, the server could respond with `[A B C]` but
    also with `[A B] [C]` or even `[A] [B] [C]` and it wouldn't make a difference to the
    client.
    
    So in the implementation of BatchCallContext, the client waited for all requests in the
    batch individually. If the server didn't respond to some of the requests in the batch, the
    client would eventually just time out (if a context was used).
    
    With the addition of batch limits into the server, we anticipate that people will hit this
    kind of error way more often. To handle this properly, the client now waits for a single
    response batch and expects it to contain all responses to the requests.
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    3 people authored Jun 13, 2023
    Configuration menu
    Copy the full SHA
    f3314bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8bbaf88 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. rpc: add method to test for subscription support (#25942)

    This adds two ways to check for subscription support. First, one can now check
    whether the transport method (HTTP/WS/etc.) is capable of subscriptions using
    the new Client.SupportsSubscriptions method.
    
    Second, the error returned by Subscribe can now reliably be tested using this
    pattern:
        
        sub, err := client.Subscribe(...)
        if errors.Is(err, rpc.ErrNotificationsUnsupported) {
            // no subscription support
        }
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    zhiqiangxu and fjl authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    6f08c2f View commit details
    Browse the repository at this point in the history
  2. node: remove unused error return from Attach (#27450)

    node: Delete the unused error from return parameters of Node.Attach() func
    pengin7384 authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    acc2a2a View commit details
    Browse the repository at this point in the history
  3. eth/tracers: refactor exporting js buffer (#27472)

    We had to do this workaround because it wasn't possible to export typed arrays from
    JS to []byte. This was added in dop251/goja@2352993, so we can use the better way now.
    s1na authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    7823ff6 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. core: remove unnecessary log copy (#27475)

    The logs in this function are pulled straight from disk in rawdb.ReadRawReceipts and 
    also modified in receipts.DeriveFields, so removing the copy should be fine.
    aaronbuchwald authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    93ecd77 View commit details
    Browse the repository at this point in the history
  2. core/types: add support for BlobTxType receipts (#27470)

    Co-authored-by: Felix Lange <[email protected]>
    holiman and fjl authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    9cf9fae View commit details
    Browse the repository at this point in the history
  3. cmd/evm: fix typos in docs (#27478)

    fix some typos
    
    Signed-off-by: cui fliter <[email protected]>
    cuishuang authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    604da5c View commit details
    Browse the repository at this point in the history

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. 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
  3. 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
  4. 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
  5. 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

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. 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. 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
  2. Configuration menu
    Copy the full SHA
    55863ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    770db14 View commit details
    Browse the repository at this point in the history
  4. 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
  5. 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 18, 2023

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

    temaniarpit27 committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    27907a5 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. fix build

    temaniarpit27 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    d3c5bc9 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. done fixing build

    temaniarpit27 committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    4de37b5 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. commented lint

    temaniarpit27 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    1316786 View commit details
    Browse the repository at this point in the history
  2. merge develop

    temaniarpit27 committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    986486b View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. fix todos

    temaniarpit27 committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    feea10a View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. fix testcase syntax

    temaniarpit27 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    3626e5f View commit details
    Browse the repository at this point in the history
  2. fix test-integration

    temaniarpit27 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    8653c83 View commit details
    Browse the repository at this point in the history
  3. merge latest develop

    temaniarpit27 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    046030d View commit details
    Browse the repository at this point in the history
  4. fix test-integration

    temaniarpit27 committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    735ae74 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. fix linters

    temaniarpit27 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    cc2c27d View commit details
    Browse the repository at this point in the history
  2. fix testcases

    temaniarpit27 committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    4e3bcbc View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. fix tests

    temaniarpit27 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    11eb53b View commit details
    Browse the repository at this point in the history
  2. fix tests

    temaniarpit27 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    766a845 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7a4f491 View commit details
    Browse the repository at this point in the history
  4. skip tests

    temaniarpit27 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    7f727cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e8b83a0 View commit details
    Browse the repository at this point in the history
  6. fix tests

    temaniarpit27 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    5848a0c View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. fix testcases

    temaniarpit27 committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    c763560 View commit details
    Browse the repository at this point in the history
  2. fix lint

    temaniarpit27 committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    08b4937 View commit details
    Browse the repository at this point in the history
  3. fix gomod

    temaniarpit27 committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    6134461 View commit details
    Browse the repository at this point in the history
  4. fix test

    temaniarpit27 committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    ea2cd2d View commit details
    Browse the repository at this point in the history
  5. fix tests

    temaniarpit27 committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    a0d10ec View commit details
    Browse the repository at this point in the history
  6. fix tests

    temaniarpit27 committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    00fc681 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. skip tests

    temaniarpit27 committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    a45a334 View commit details
    Browse the repository at this point in the history
  2. fix lint

    temaniarpit27 committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    6dd5bf7 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. uncomment testcase

    temaniarpit27 committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    fc3d0e7 View commit details
    Browse the repository at this point in the history
  2. merge develop

    temaniarpit27 committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    3c666fd View commit details
    Browse the repository at this point in the history
  3. fix testcase

    temaniarpit27 committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    75eea85 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a022d1a View commit details
    Browse the repository at this point in the history
  5. fix lint

    temaniarpit27 committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    c8e6645 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. merge shanghai tests

    temaniarpit27 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    48f6200 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d13d7c View commit details
    Browse the repository at this point in the history
  3. merge develop

    temaniarpit27 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    589f742 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c311f3b View commit details
    Browse the repository at this point in the history
  5. enable hf in tests

    temaniarpit27 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    109a0a1 View commit details
    Browse the repository at this point in the history
  6. fix linters

    temaniarpit27 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    01a4c0d View commit details
    Browse the repository at this point in the history
  7. fix tests

    temaniarpit27 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    1aa0335 View commit details
    Browse the repository at this point in the history
  8. skip testcase

    temaniarpit27 committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    5d52529 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

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

Commits on Nov 3, 2023

  1. merge develop

    temaniarpit27 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    1483c96 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    aa604a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae99b47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6aed36d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    368ae24 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Configuration menu
    Copy the full SHA
    15f0c41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd5a7d3 View commit details
    Browse the repository at this point in the history
  3. Revert "change withdrawals hash"

    This reverts commit cd5a7d3.
    temaniarpit27 committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    3106cb1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3d84c4d View commit details
    Browse the repository at this point in the history
  5. disbale 4844

    temaniarpit27 committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    cee2c22 View commit details
    Browse the repository at this point in the history
  6. fix lint

    temaniarpit27 committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    bee537a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b889327 View commit details
    Browse the repository at this point in the history
  8. remove blobpool

    temaniarpit27 committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    3be856c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    38c0431 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. make blobgas nil

    temaniarpit27 committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    073bb18 View commit details
    Browse the repository at this point in the history
  2. make blobgas nil

    temaniarpit27 committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    9c13088 View commit details
    Browse the repository at this point in the history
  3. Revert "aded blobpool related flags"

    This reverts commit 15f0c41.
    temaniarpit27 committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    3c97a5b View commit details
    Browse the repository at this point in the history