Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge go-ethereum v1.13.15 #79

Open
wants to merge 152 commits into
base: feat/finalizer
Choose a base branch
from
Open

merge go-ethereum v1.13.15 #79

wants to merge 152 commits into from

Commits on Dec 22, 2023

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

Commits on Dec 26, 2023

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

Commits on Dec 28, 2023

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

Commits on Dec 30, 2023

  1. Configuration menu
    Copy the full SHA
    76a5474 View commit details
    Browse the repository at this point in the history
  2. log: avoid setting default slog logger in init (#28747)

    slog.SetDefault has undesirable side effects. It also sets the default logger destination,
    for example. So we should not call it by default in init.
    fjl authored Dec 30, 2023
    Configuration menu
    Copy the full SHA
    c053eb7 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Configuration menu
    Copy the full SHA
    33c94ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2365d77 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. cmd/evm: Fix blob-gas-used on invalid transactions in t8n (#28734)

    cmd/evm: fixes the blob gas calculation if a transaction is invalid
    marioevz authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    0b471c3 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. internal/flags: update copyright year to 2024 (#28760)

    Co-authored-by: Felix Lange <[email protected]>
    sandakersmann and fjl authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    99eb49e View commit details
    Browse the repository at this point in the history
  2. ethclient: simplify error handling in TransactionReceipt (#28748)

    Co-authored-by: Martin HS <[email protected]>
    Co-authored-by: Felix Lange <[email protected]>
    3 people authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    e3eeb64 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

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

Commits on Jan 8, 2024

  1. Configuration menu
    Copy the full SHA
    07b17f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7fa158 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f29520f View commit details
    Browse the repository at this point in the history
  4. params, core/forkid: schedule cancun fork on goerli (#28719)

    This PR schedules the cancun fork for the goerli testnet as discussed on ACD.
    Spec: ethereum/execution-specs#860
    
    We schedule:
      goerli at 1705473120
    MariusVanDerWijden authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    cfff3cb View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. cmd/geth: make it possible to autopilot removedb (#28725)

    When managing geth, it is sometimes desirable to do a partial wipe; deleting state but retaining freezer data. A partial wipe can be somewhat tricky to accomplish. 
    
    This change implements the ability to perform partial wipe by making it possible to run geth removedb non-interactive, using command line options instead.
    holiman authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    1010a79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0edc5a View commit details
    Browse the repository at this point in the history
  3. cmd/geth: update log test data (#28780)

    update logger test data
    jwasinger authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    9e018ce View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. ethclient/simulated: implement new sim backend (#28202)

    This is a rewrite of the 'simulated backend', an implementation of the ethclient interfaces
    which is backed by a simulated blockchain. It was getting annoying to maintain the old
    version of the simulated backend feature because there was a lot of code duplication with
    the main client. 
    
    The new version is built using parts that we already have: an in-memory geth node instance
    running in developer mode provides the chain, while the Go API is provided by ethclient.
    A backwards-compatibility wrapper is provided, but the simulated backend has also moved to
    a more sensible import path: github.com/ethereum/go-ethereum/ethclient/simulated
    
    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    Co-authored-by: Gary Rong <[email protected]>
    3 people authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    2d08c99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f82531 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd938d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    daa2e5d View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    a162091 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc0be1b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e8b118 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. docs: fix badge in README (#28796)

    * Fix broken badge in README.md
    
    Replaced broken Github link with IPFS link for long-term storage.
    
    * update go badge
    
    Co-authored-by: lightclient <[email protected]>
    
    ---------
    
    Co-authored-by: lightclient <[email protected]>
    drstevenbrule and lightclient authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    5c2de7f View commit details
    Browse the repository at this point in the history
  2. eth: minor change of config-accessor (#28782)

    eth: refactor `GetVM`
    0xmountaintop authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    6e235c0 View commit details
    Browse the repository at this point in the history
  3. cmd: fix typos (#28798)

    vuittont60 authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    ae4ea04 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7280a5b View commit details
    Browse the repository at this point in the history
  5. accounts, ethclient: minor tweaks on the new simulated backend (#28799)

    * accounts, ethclient: minor tweaks on the new simulated backend
    
    * ethclient/simulated: add an initial batch of gas options
    
    * accounts, ethclient: remove mandatory gasLimit constructor param
    
    * accounts, ethclient: minor option naming tweaks
    karalabe authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    065f82a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    43ba7d6 View commit details
    Browse the repository at this point in the history
  7. cmd/devp2p/internal/ethtest: skip large tx test on github build (#28794)

    This test was failling consistently on the github 32-bit build probably due to slow IO. Skipping it for that green check.
    s1na authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    a608c0a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1335ba5 View commit details
    Browse the repository at this point in the history
  9. internal/ethapi: avoid using pending for defaults (#28784)

    Given the discussions around deprecating pending (see #28623 or ethereum/execution-apis#495), we can move away from using the pending block internally, and use latest instead
    s1na authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    407f779 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

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

Commits on Jan 15, 2024

  1. tests: update reference tests (#28778)

    Updates the reference tests to the latest version
    holiman authored Jan 15, 2024
    Configuration menu
    Copy the full SHA
    89ccc68 View commit details
    Browse the repository at this point in the history
  2. ethclient: add tests for TransactionInBlock (#28283)

    Co-authored-by: Felix Lange <[email protected]>
    hyunchel and fjl authored Jan 15, 2024
    Configuration menu
    Copy the full SHA
    7596db5 View commit details
    Browse the repository at this point in the history
  3. eth: fix potential hang in waitSnapExtension (#28744)

    This should fix a rare hang in waitSnapExtension during shutdown.
    niuxiaojie81 authored Jan 15, 2024
    Configuration menu
    Copy the full SHA
    18e154e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ee6809 View commit details
    Browse the repository at this point in the history
  5. acounts/usbwallet: fix typo (#28815)

    acounts:fix typo
    bodhi-crypo authored Jan 15, 2024
    Configuration menu
    Copy the full SHA
    566754c View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Configuration menu
    Copy the full SHA
    d4f25b4 View commit details
    Browse the repository at this point in the history
  2. tracer: use proper base fee in tests (#28775)

     In the tracing tests, the base fee was generally set to nil. This commit changes this to pass the proper base instead, and fixes the few tests which become broken by the change.
    palango authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    c66ca8b View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    2e2e89c View commit details
    Browse the repository at this point in the history
  2. internal/ethapi: handle blobs in API methods (#28786)

    EIP-4844 adds a new transaction type for blobs. Users can submit such transactions via `eth_sendRawTransaction`. In this PR we refrain from adding support to `eth_sendTransaction` and in fact it will fail if the user passes in a blob hash.
    
    However since the chain can handle such transactions it makes sense to allow simulating them. E.g. an L2 operator should be able to simulate submitting a rollup blob and updating the L2 state. Most methods that take in a transaction object should recognize blobs. The change boils down to adding `blobVersionedHashes` and `maxFeePerBlobGas` to `TransactionArgs`. In summary:
    
    - `eth_sendTransaction`: will fail for blob txes
    - `eth_signTransaction`: will fail for blob txes
    
    The methods that sign txes does not, as of this PR, add support the for new EIP-4844 transaction types. Resuming the summary:
    
    - `eth_sendRawTransaction`: can send blob txes
    - `eth_fillTransaction`: will fill in a blob tx. Note: here we simply fill in normal transaction fields + possibly `maxFeePerBlobGas` when blobs are present. One can imagine a more elaborate set-up where users can submit blobs themselves and we fill in proofs and commitments and such. Left for future PRs if desired.
    - `eth_call`: can simulate blob messages
    - `eth_estimateGas`: blobs have no effect here. They have a separate unit of gas which is not tunable in the transaction.
    s1na authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    e5d5e09 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

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

Commits on Jan 19, 2024

  1. crypto/kzg4844: add helpers for versioned blob hashes (#28827)

    The code to compute a versioned hash was duplicated a couple times, and also had a small
    issue: if we ever change params.BlobTxHashVersion, it will most likely also cause changes
    to the actual hash computation. So it's a bit useless to have this constant in params.
    fjl authored Jan 19, 2024
    Configuration menu
    Copy the full SHA
    0e93da3 View commit details
    Browse the repository at this point in the history
  2. ethclient: apply accessList field in toCallArg (#28832)

    Co-authored-by: Felix Lange <[email protected]>
    colinlyguo and fjl authored Jan 19, 2024
    Configuration menu
    Copy the full SHA
    1c48829 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2024

  1. params, core/forkid: enable cancun on sepolia and holesky (#28834)

    This change enables Cancun 
    
    - Sepolia at 1706655072 (Jan 31st, 2024)
    - Holesky at 1707305664 (Feb 7th, 2024)
    
    Specification: ethereum/execution-specs#860
    MariusVanDerWijden authored Jan 20, 2024
    Configuration menu
    Copy the full SHA
    f55a10b View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. core, core/rawdb, eth/sync: no tx indexing during snap sync (#28703)

    This change simplifies the logic for indexing transactions and enhances the UX when transaction is not found by returning more information to users.
    
    Transaction indexing is now considered as a part of the initial sync, and `eth.syncing` will thus be `true` if transaction indexing is not yet finished. API consumers can use the syncing status to determine if the node is ready to serve users.
    rjl493456442 authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    78a3c32 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    6a724b9 View commit details
    Browse the repository at this point in the history
  2. go.{mod,sum}: upgrade go-ole to support arm64 (#28859)

    go.{mod,sum}: upgrade go-ole
    gballet authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    19d9977 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    819a497 View commit details
    Browse the repository at this point in the history
  4. all: use uint256 in state (#28598)

    This change makes use of uin256 to represent balance in state. It touches primarily upon statedb, stateobject and state processing, trying to avoid changes in transaction pools, core types, rpc and tracers.
    holiman authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    a5a4fa7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4c8d92d View commit details
    Browse the repository at this point in the history
  6. core/state/snapshot: use AddHash/ContainHash instead of Hasher interf…

    …ace (#28849)
    
    This change switches from using the `Hasher` interface to add/query the bloomfilter to implementing it as methods.
    This significantly reduces the allocations for Search and Rebloom.
    MariusVanDerWijden authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    c89a3da View commit details
    Browse the repository at this point in the history
  7. core/vm: fix misleading comment (#28860)

    fix misleading comment
    trocher authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    2dc7477 View commit details
    Browse the repository at this point in the history
  8. eth/catalyst: add timestamp checks to fcu and new payload and improve…

    … param checks (#28230)
    
     This PR introduces a few changes with respect to payload verification in fcu and new payload requests:
    
    * First of all, it undoes the `verifyPayloadAttributes(..)` simplification I attempted in #27872. 
    * Adds timestamp validation to fcu payload attributes [as required](https://github.com/ethereum/execution-apis/blob/main/src/engine/cancun.md#specification-1) (section 2) by the Engine API spec. 
    * For the new payload methods, I also update the verification of the executable data. For `newPayloadV2`, it does not currently ensure that cancun values are `nil`. Which could make it possible to submit cancun payloads through it. 
    * On `newPayloadV3` the same types of checks are added. All shanghai and cancun related fields in the executable data must be non-nil, with the addition that the timestamp is _only_ with cancun.
    * Finally it updates a newly failing catalyst test to call the correct fcu and new payload methods depending on the fork.
    lightclient authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    98eaa57 View commit details
    Browse the repository at this point in the history
  9. core/txpool, eth/catalyst: fix racy simulator due to txpool backgroun…

    …d reset (#28837)
    
    This PR fixes an issues in the new simulated backend. The root cause is the fact that the transaction pool has an internal reset operation that runs on a background thread.
    
    When a new transaction is added to the pool via the RPC, the transaction is added to a non-executable queue and will be moved to its final location on a background thread. If the machine is overloaded (or simply due to timing issues), it can happen that the simulated backend will try to produce the next block, whilst the pool has not yet marked the newly added transaction executable. This will cause the block to not contain the transaction. This is an issue because we want determinism from the simulator: add a tx, mine a block. It should be in there.
    
    The PR fixes it by adding a Sync function to the txpool, which waits for the current reset operation (if any) to finish, and then runs an entire round of reset on top. The new round is needed because resets are only triggered by new head events, so newly added transactions will not trigger the outer resets that we can wait on. The transaction pool would eventually internally do a reset even on transaction addition, but there's no easy way to wait on that and there's no meaningful reason to bubble that across everything. A clean outer reset will at worse be a small noop goroutine.
    karalabe authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    542c861 View commit details
    Browse the repository at this point in the history
  10. core: move tx indexer to its own file (#28857)

    This change moves all the transaction indexing functions to a separate txindexer.go file and defines a txIndexer structure as a refactoring.
    rjl493456442 authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    6b0de79 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. eth/catalyst: prefix payload id with version (#28246)

    GetPayloadVX should only return payloads which match its version. GetPayloadV2 is a special snowflake that supports v1 and v2 payloads. This change uses a a version-specific prefix within in the payload id, basically a namespace for the version number.
    lightclient authored Jan 24, 2024
    Configuration menu
    Copy the full SHA
    a8a8758 View commit details
    Browse the repository at this point in the history
  2. ethclient: fix flaky test (#28864)

    Fix flaky test due to incomplete transaction indexing
    rjl493456442 authored Jan 24, 2024
    Configuration menu
    Copy the full SHA
    765f290 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99dc3fe View commit details
    Browse the repository at this point in the history
  4. all: release go-ethereum v1.13.11 (#28868)

    Release 1.13.11
    holiman authored Jan 24, 2024
    Configuration menu
    Copy the full SHA
    8f7eb9c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cd0770e View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

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

Commits on Jan 27, 2024

  1. core/types: fix and test handling of faulty nil-returning signer (#28…

    …879)
    
    This adds an error if the signer returns a nil value for one of the signature value fields.
    protolambda authored Jan 27, 2024
    Configuration menu
    Copy the full SHA
    2e947b7 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. README.md: fix travis badge (#28889)

    The hyperlink in the README file that directs to the Travis CI build was broken.
    This commit updates the link to point to the corrent build page.
    keienWang authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    db98cc4 View commit details
    Browse the repository at this point in the history
  2. eth/catalyst: allow payload attributes v1 in fcu v2 (#28882)

    At some point, `ForkchoiceUpdatedV2` stopped working for `PayloadAttributesV1` while `paris` was active. This was causing a few failures in hive. This PR fixes that, and also adds a gate in `ForkchoiceUpdatedV1` to disallow `PayloadAttributesV3`.
    lightclient authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    e2778cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc380f5 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. core: reset tx lookup cache if necessary (#28865)

    This pull request resets the txlookup cache if chain reorg happens, 
    preventing them from remaining reachable. It addresses failures in
    the hive tests.
    rjl493456442 authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    eaac53e View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    3adf1ce View commit details
    Browse the repository at this point in the history
  2. eth/downloader: fix skeleton cleanup (#28581)

    * eth/downloader: fix skeleton cleanup
    
    * eth/downloader: short circuit if nothing to delete
    
    * eth/downloader: polish the logic in cleanup
    
    * eth/downloader: address comments
    rjl493456442 authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    5c67066 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Configuration menu
    Copy the full SHA
    06a8711 View commit details
    Browse the repository at this point in the history
  2. core/txpool/blobpool: post-crash cleanup and addition/removal metrics…

    … (#28914)
    
    * core/txpool/blobpool: clean up resurrected junk after a crash
    
    * core/txpool/blobpool: track transaction insertions and rejections
    
    * core/txpool/blobpool: linnnnnnnt
    karalabe authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    62affdc View commit details
    Browse the repository at this point in the history
  3. core/txpool: don't inject lazy resolved transactions into the contain…

    …er (#28917)
    
    * core/txpool: don't inject lazy resolved transactions into the container
    
    * core/txpool: minor typo fixes
    karalabe authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    47d76c5 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

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

Commits on Feb 5, 2024

  1. Configuration menu
    Copy the full SHA
    19af900 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ec638d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8fd43c8 View commit details
    Browse the repository at this point in the history
  4. Makefile: add help target to display available targets (#28845)

    Co-authored-by: Martin HS <[email protected]>
    Co-authored-by: Felix Lange <[email protected]>
    3 people authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    99e9c07 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Configuration menu
    Copy the full SHA
    0b5d8d2 View commit details
    Browse the repository at this point in the history
  2. eth, miner: fix enforcing the minimum miner tip (#28933)

    * eth, miner: fix enforcing the minimum miner tip
    
    * ethclient/simulated: fix failing test due the min tip change
    
    * accounts/abi/bind: fix simulater gas tip issue
    karalabe authored Feb 6, 2024
    Configuration menu
    Copy the full SHA
    16ce7bf View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    199e0c9 View commit details
    Browse the repository at this point in the history
  2. cmd,internal/era: implement export-history subcommand (#26621)

    * all: implement era format, add history importer/export
    
    * internal/era/e2store: refactor e2store to provide ReadAt interface
    
    * internal/era/e2store: export HeaderSize
    
    * internal/era: refactor era to use ReadAt interface
    
    * internal/era: elevate anonymous func to named
    
    * cmd/utils: don't store entire era file in-memory during import / export
    
    * internal/era: better abstraction between era and e2store
    
    * cmd/era: properly close era files
    
    * cmd/era: don't let defers stack
    
    * cmd/geth: add description for import-history
    
    * cmd/utils: better bytes buffer
    
    * internal/era: error if accumulator has more records than max allowed
    
    * internal/era: better doc comment
    
    * internal/era/e2store: rm superfluous reader, rm superfluous testcases, add fuzzer
    
    * internal/era: avoid some repetition
    
    * internal/era: simplify clauses
    
    * internal/era: unexport things
    
    * internal/era,cmd/utils,cmd/era: change to iterator interface for reading era entries
    
    * cmd/utils: better defer handling in history test
    
    * internal/era,cmd: add number method to era iterator to get the current block number
    
    * internal/era/e2store: avoid double allocation during write
    
    * internal/era,cmd/utils: fix lint issues
    
    * internal/era: add ReaderAt func so entry value can be read lazily
    
    Co-authored-by: lightclient <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    
    * internal/era: improve iterator interface
    
    * internal/era: fix rlp decode of header and correctly read total difficulty
    
    * cmd/era: fix rebase errors
    
    * cmd/era: clearer comments
    
    * cmd,internal: fix comment typos
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    lightclient and holiman authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    1f50aa7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    449d3f0 View commit details
    Browse the repository at this point in the history
  4. node, rpc: add configurable HTTP request limit (#28948)

    Adds a configurable HTTP request limit, and bumps the engine default
    fjl authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    69f5d5b View commit details
    Browse the repository at this point in the history
  5. all: fix docstring names (#28923)

    * fix wrong comment
    
    * reviewers input
    
    * Update log/handler_glog.go
    
    ---------
    
    Co-authored-by: Martin HS <[email protected]>
    zoereco and holiman authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    2ab365f View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. ethclient/simulated: fix typo (#28952)

    (ethclient/simulated):fix typo
    bodhi-crypo authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    2dc33d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae3b7a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a76a81 View commit details
    Browse the repository at this point in the history
  4. params, core/forkid: add mainnet timestamp for Cancun (#28958)

    * params: add cancun timestamp for mainnet
    
    * core/forkid: add test for mainnet cancun forkid
    
    * core/forkid: update todo tests for cancun
    lightclient authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    2732fb1 View commit details
    Browse the repository at this point in the history
  5. internal/ethapi: add support for blobs in eth_fillTransaction (#28839)

    This change adds support for blob-transaction in certain API-endpoints, e.g. eth_fillTransaction. A follow-up PR will add support for signing such transactions.
    s1na authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    ac5aa67 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. internal/era: update block index format to be based on record offset …

    …(#28959)
    
    As mentioned in #26621, the block index format for era1 is not in line with the regular era block index. This change modifies the index so all relative offsets are based against the beginning of the block index record.
    lightclient authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    85938dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8facf44 View commit details
    Browse the repository at this point in the history
  3. all: release go-ethereum v1.13.12 (#28961)

    all: release go-ethereum v1.13.12
    holiman authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    02eb36a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89575ae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f0c5b67 View commit details
    Browse the repository at this point in the history
  6. fix: update outdated link to trezor docs (#28966)

    fix: update link to trezor
    krauspt authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    1a79089 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f1c27c2 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. core/txpool/legacypool: use uint256.Int instead of big.Int (#28606)

    This change makes the legacy transaction pool use of `uint256.Int` instead of `big.Int`. The changes are made primarily only on the internal functions of legacypool. 
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    weiihann and holiman authored Feb 13, 2024
    Configuration menu
    Copy the full SHA
    beb2954 View commit details
    Browse the repository at this point in the history
  2. internal/ethapi, signer/core: fix documentation-links (#28979)

    fix: management api links
    lindlof authored Feb 13, 2024
    Configuration menu
    Copy the full SHA
    4c15d58 View commit details
    Browse the repository at this point in the history
  3. all: remove the dependency from trie to triedb (#28824)

    This change removes the dependency from trie package to triedb package.
    rjl493456442 authored Feb 13, 2024
    Configuration menu
    Copy the full SHA
    fe91d47 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Configuration menu
    Copy the full SHA
    55a46c3 View commit details
    Browse the repository at this point in the history
  2. tests: fix goroutine leak related to state snapshot generation (#28974)

    ---------
    
    Co-authored-by: Felix Lange <[email protected]>
    holiman and fjl authored Feb 14, 2024
    Configuration menu
    Copy the full SHA
    8321fe2 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    9d537f5 View commit details
    Browse the repository at this point in the history
  2. core/txpool/blobpool: rename variables in comments (#28981)

    Co-authored-by: Felix Lange <[email protected]>
    bkellerman and fjl authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    efddedc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a1d94b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e3e466 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    886f0e7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2860906 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0c412dc View commit details
    Browse the repository at this point in the history
  8. cmd/devp2p/internal/ethtest: some fixes for the eth test suite (#28996)

    Improving two things here:
    
    On hive, where we look at these tests, the Go code comment above the test
    is not visible. When there is a failure, it's not obvious what the test is actually
    expecting. I have converted the comments in to printed log messages to
    explain the test more.
    
    Second, I noticed that besu is failing some tests because it happens to request
    a header when we want it to send transactions. Trying the minimal fix here to
    serve the headers.
    
    Co-authored-by: lightclient <[email protected]>
    fjl and lightclient authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    1bdf8b9 View commit details
    Browse the repository at this point in the history
  9. core/txpool/legacypool: remove a redundant heap.Init (#28910)

    Co-authored-by: Martin HS <[email protected]>
    Co-authored-by: Felix Lange <[email protected]>
    3 people authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    a193bb0 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. core/txpool/blobpool: update the blob db with corruption handling (#2…

    …9001)
    
    Updates billy to a more recent version which is more robust in the face of corrupt data (e.g. after a hard crash)
    karalabe authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    3c30de2 View commit details
    Browse the repository at this point in the history
  2. core: move genesis alloc types to core/types (#29003)

    We want to use these types in public user-facing APIs, so they shouldn't be in core.
    
    Co-authored-by: Felix Lange <[email protected]>
    s1na and fjl authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    95741b1 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. core/txpool, eth, miner: pre-filter dynamic fees during pending tx re…

    …trieval (#29005)
    
    * core/txpool, eth, miner: pre-filter dynamic fees during pending tx retrieval
    
    * miner: fix typo
    
    * core/txpool: handle init-error in blobpool without panicing
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    karalabe and holiman authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    593e303 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. ethstats: prevent panic if head block is not available (#29020)

    This pull request fixes a flaw in ethstats which can lead to node crash
    
    A panic could happens when the local blockchain is reorging which causes the original head block not to be  reachable (since number->hash canonical mapping is deleted). In order to prevent the panic, the block nilness is now checked in ethstats.
    rjl493456442 authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    034bc46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d98479 View commit details
    Browse the repository at this point in the history
  3. core/txpool, miner: speed up blob pool pending retrievals (#29008)

    * core/txpool, miner: speed up blob pool pending retrievals
    
    * miner: fix test merge issue
    
    * eth: same same
    
    * core/txpool/blobpool: speed up blobtx creation in benchmark a bit
    
    * core/txpool/blobpool: fix linter
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    karalabe and holiman authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    6fb0d09 View commit details
    Browse the repository at this point in the history
  4. core/vm, params: ensure order of forks, prevent overflow (#29023)

    This PR fixes an overflow which can could happen if inconsistent blockchain rules were configured. Additionally, it tries to prevent such inconsistencies from occurring by making sure that merge cannot be enabled unless previous fork(s) are also enabled.
    holiman authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    ac0ff04 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. core/txpool, eth, miner: retrieve plain and blob txs separately (#29026)

    * core/txpool, eth, miner: retrieve plain and blob txs separately
    
    * core/txpool: fix typo, no farming
    
    * miner: farm all the typos
    
    Co-authored-by: Martin HS <[email protected]>
    
    ---------
    
    Co-authored-by: Martin HS <[email protected]>
    karalabe and holiman authored Feb 20, 2024
    Configuration menu
    Copy the full SHA
    f4852b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f5e96d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bba3fa9 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. params: add cancun upgrade banner (#29042)

    params: add cancun banner
    
    Signed-off-by: tmelhao <[email protected]>
    Co-authored-by: tmelhao <[email protected]>
    tmelhao and tmelhao authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    79e340f View commit details
    Browse the repository at this point in the history
  2. core/txpool: fix typo (#29036)

    * fix typos
    
    * address comments
    colinlyguo authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    b9ca38b View commit details
    Browse the repository at this point in the history
  3. internal/ethapi: fix defaults for blob fields (#29037)

    Co-authored-by: Martin HS <[email protected]>
    s1na and holiman authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    b47cf8f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3b4ede7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7f131dc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b590cae View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. internal/ethapi: use overriden baseFee for gasPrice (#29051)

    eth_call and debug_traceCall allow users to override various block fields, among them base fee. However the overriden base fee was not considered for computing the effective gas price of that message, and instead base fee of the base block was used. This has been fixed in this commit.
    ArtificialPB authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    e47a7c2 View commit details
    Browse the repository at this point in the history
  2. internal/ethapi:fix zero rpc gas cap in eth_createAccessList (#28846)

    This PR enhances eth_createAccessList RPC call to support scenarios where the node is launched with an unlimited gas cap (--rpc.gascap 0). The eth_createAccessList RPC call returns failure if user doesn't explicitly set a gas limit.
    colinlyguo authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    b87b9b4 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. eth/catalyst: fix wrong error message of payloadV2 after cancun (#29049)

    * eth/catalyst: the same error format
    
    Signed-off-by: tmelhao <[email protected]>
    
    * eth/catalyst: wrong error message for payloadV2 post-cancun
    
    Signed-off-by: tmelhao <[email protected]>
    
    * eth/catalyst: parentBeaconBlockRoot -> parentBlockBeaconRoot
    
    Signed-off-by: tmelhao <[email protected]>
    
    * apply commit review
    
    Signed-off-by: tmelhao <[email protected]>
    
    ---------
    
    Signed-off-by: tmelhao <[email protected]>
    Co-authored-by: tmelhao <[email protected]>
    tmelhao and tmelhao authored Feb 23, 2024
    Configuration menu
    Copy the full SHA
    93c541a View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. core/txpool: reject blob txs with blob fee cap below the minimum (#29…

    …081)
    
    * make blobpool reject blob transactions with fee below the minimum
    
    * core/txpool: some minot nitpick polishes and unified error formats
    
    * core/txpool: do less big.Int constructions with the min blob cap
    
    ---------
    
    Co-authored-by: Péter Szilágyi <[email protected]>
    roberto-bayardo and karalabe authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    32d4d6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26724fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    edffacc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8bca93e View commit details
    Browse the repository at this point in the history
  5. cmd/clef: add spaces in README.md table (#29077)

    Add space after links in so they are clickable in vscode.
    justindhillon authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    821d702 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c1f59b9 View commit details
    Browse the repository at this point in the history
  7. core/txpool/blobpool: reduce default database cap for rollout (#29090)

    xcore/txpool/blobpool: reduce default database cap for rollout
    karalabe authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    63aaac8 View commit details
    Browse the repository at this point in the history
  8. core/txpool: no need to log loud rotate if no local txs (#29083)

    * core/txpool: no need to run rotate if no local txs
    
    Signed-off-by: jsvisa <[email protected]>
    
    * Revert "core/txpool: no need to run rotate if no local txs"
    
    This reverts commit 17fab173883168c586d57ca9c05dfcbd9e7831b4.
    
    Signed-off-by: jsvisa <[email protected]>
    
    * use Debug if todo is empty
    
    Signed-off-by: jsvisa <[email protected]>
    
    ---------
    
    Signed-off-by: jsvisa <[email protected]>
    jsvisa authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    45a272c View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Configuration menu
    Copy the full SHA
    5a0f468 View commit details
    Browse the repository at this point in the history
  2. core/txpool: elevate the 'already reserved' error into a constant (#2…

    …9095)
    
    declare the 'already reserved' error in errors.go
    roberto-bayardo authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    51b479e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9038ba6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2bd6bd0 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. eth/protocols/snap: skip retrieval for completed storages (#29378)

    * eth/protocols/snap: skip retrieval for completed storages
    
    * eth/protocols/snap: address comments from peter
    
    * eth/protocols/snap: add comments
    rjl493456442 authored and holiman committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    5dcf503 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e343ddf View commit details
    Browse the repository at this point in the history
  3. eth/filters: enforce topic-limit early on filter criterias (#29535)

    This PR adds a limit of 1000 to the "inner" topics in a filter-criteria
    holiman committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    7bcb553 View commit details
    Browse the repository at this point in the history
  4. core, eth/protocols/snap, trie: fix cause for snap-sync corruption, i…

    …mplement gentrie (#29313)
    
    This pull request defines a gentrie for snap sync purpose.
    
    The stackTrie is used to generate the merkle tree nodes upon receiving a state batch. Several additional options have been added into stackTrie to handle incomplete states (either missing states before or after).
    
    In this pull request, these options have been relocated from stackTrie to genTrie, which serves as a wrapper for stackTrie specifically for snap sync purposes.
    
    Further, the logic for managing incomplete state has been enhanced in this change. Originally, there are two cases handled:
    
    -    boundary node filtering
    -    internal (covered by extension node) node clearing
    
    This changes adds one more:
    
    - Clearing leftover nodes on the boundaries.
    
    This feature is necessary if there are leftover trie nodes in database, otherwise node inconsistency may break the state healing.
    rjl493456442 authored and holiman committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    35e0525 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c5ba367 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

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