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

Metadium to master #24

Closed
wants to merge 1,753 commits into from
Closed

Metadium to master #24

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

Commits on Oct 28, 2021

  1. Copy the full SHA
    bff3303 View commit details
    Browse the repository at this point in the history
  2. cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) (ethere…

    …um#23810)
    
    This PR adds support for ArrowGlacier, as defined by
    
        https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md
        https://eips.ethereum.org/EIPS/eip-4345
    
    > Starting with FORK_BLOCK_NUMBER the client will calculate the difficulty based on a fake block number suggesting to the client that the difficulty bomb is adjusting 10,700,000 blocks later than the actual block number.
    
    This also adds support for evm t8n to return the calculated difficulty, so it can be used to construct test.
    holiman committed Oct 28, 2021
    Copy the full SHA
    32150f8 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    fef6e47 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2021

  1. Copy the full SHA
    7114f4c View commit details
    Browse the repository at this point in the history
  2. eth/filters, p2p/simulations: fix benchmarks (ethereum#23806)

    Some benchmarks in eth/filters were not good: they weren't reproducible, relying on geth chaindata to be present.
    
    Another one was rejected because the receipt was lacking a backing transcation.
    
    The p2p simulation benchmark had a lot of the warnings below, due to the framework calling both
    Stop() and Close(). Apparently, the simulated adapter is the only implementation which has a Close(),
    and there is no need to call both Stop and Close on it.
    holiman committed Oct 29, 2021
    Copy the full SHA
    31870a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. Copy the full SHA
    117f254 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0121483 View commit details
    Browse the repository at this point in the history
  3. optimize the judge of invalide notification.number (ethereum#22658)

    Don't bother fetching genesis
    
    Co-authored-by: wuff1996 <33193253+wuff1996@users.noreply.github.com>
    r1cs and r1cs committed Oct 31, 2021
    Copy the full SHA
    410e731 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. Copy the full SHA
    5d95d03 View commit details
    Browse the repository at this point in the history
  2. accounts/abi/bin/backends: return basefee in suggestGasPrice (ethereu…

    …m#23838)
    
    Co-authored-by: mrx <mrx@mrx.com>
    Sparty and mrx committed Nov 1, 2021
    Copy the full SHA
    57c252e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c113520 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ff84491 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    1e4becb View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    c2e64db View commit details
    Browse the repository at this point in the history
  7. core: fix snapshot missing when recovery from crash (ethereum#23496)

    It is because write known block only checks block and state without snapshot, which could lead to gap between newest snapshot and newest block state. However, new blocks which would cause snapshot to become fixed were ignored, since state was already known. 
    
    
    Co-authored-by: Gary Rong <garyrong0905@gmail.com>
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    3 people committed Nov 1, 2021
    Copy the full SHA
    c576fa1 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    551bd6e View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. cmd/geth: implement data import and export (ethereum#22931)

    This PR offers two more database sub commands for exporting and importing data.
    Two exporters are implemented: preimage and snapshot data respectively. 
    The import command is generic, it can take any data export and import into leveldb. 
    The data format has a 'magic' for disambiguation, and a version field for future compatibility.
    rjl493456442 committed Nov 2, 2021
    Copy the full SHA
    2e8b58f View commit details
    Browse the repository at this point in the history
  2. consensus/ethash: avoid runtime errors due to OOD on mmap writes (eth…

    …ereum#23799)
    
    When we map a file for generating the DAG, we do a simple truncate to e.g. 1Gb. This is fine, even if we have nowhere near 1Gb disk available, as the actual file doesn't take up the full 1Gb, merely a few bytes. When we start generating into it, however, it eventually crashes with a unexpected fault address .
    
    This change fixes it (on linux systems) by using the Fallocate syscall, which preallocates suffcient space on disk to avoid that situation. 
    
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    holiman and fjl committed Nov 2, 2021
    Copy the full SHA
    178debe View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    f49e90e View commit details
    Browse the repository at this point in the history
  4. core: more efficient nonce-update in txpool (ethereum#22231)

    * Adjust pending nonce update operation
    
    Benchmark the speed of transaction insertion under multiple accounts
    
    core: fix rebase issues + docstring
    
    core: make benchmark test use sync:ed method
    
    * core: address review comments
    
    * core: add memreport to benchmark
    
    Co-authored-by: WeiLoy <wei_loy@163.com>
    holiman and WeiLoy committed Nov 2, 2021
    Copy the full SHA
    03bc8b7 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. rpc: linear time batch response matching (ethereum#23856)

    This avoids quadratic time complexity in the lookup of the batch element
    corresponding to an RPC response. Unfortunately, the new approach
    requires additional memory for the mapping from ID to index.
    
    Fixes ethereum#22805
    fjl committed Nov 4, 2021
    Copy the full SHA
    53b94f1 View commit details
    Browse the repository at this point in the history
  2. eth: make traceChain avoid OOM on long-running tracing (ethereum#23736)

    This PR changes long-running chain tracing, so that it at some points releases the memory trie db, and switch over to a fresh disk-backed trie.
    holiman committed Nov 4, 2021
    Copy the full SHA
    3bbeb94 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2021

  1. eth/tracers: support for golang tracers + add golang callTracer (ethe…

    …reum#23708)
    
    * eth/tracers: add basic native loader
    
    * eth/tracers: add GetResult to tracer interface
    
    * eth/tracers: add native call tracer
    
    * eth/tracers: fix call tracer json result
    
    * eth/tracers: minor fix
    
    * eth/tracers: fix
    
    * eth/tracers: fix benchTracer
    
    * eth/tracers: test native call tracer
    
    * eth/tracers: fix
    
    * eth/tracers: rm extra make
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    
    * eth/tracers: rm extra make
    
    * eth/tracers: make callFrame private
    
    * eth/tracers: clean-up and comments
    
    * eth/tracers: add license
    
    * eth/tracers: rework the model a bit
    
    * eth/tracers: move tracecall tests to subpackage
    
    * cmd/geth: load native tracers
    
    * eth/tracers: minor fix
    
    * eth/tracers: impl stop
    
    * eth/tracers: add native noop tracer
    
    * renamings
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    
    * eth/tracers: more renamings
    
    * eth/tracers: make jstracer non-exported, avoid cast
    
    * eth/tracers, core/vm: rename vm.Tracer to vm.EVMLogger for clarity
    
    * eth/tracers: minor comment fix
    
    * eth/tracers/testing: lint nitpicks
    
    * core,eth: cancel evm on nativecalltracer stop
    
    * Revert "core,eth: cancel evm on nativecalltracer stop"
    
    This reverts commit 01bb908.
    
    * eth/tracers: linter nits
    
    * eth/tracers: fix output on err
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    s1na and holiman committed Nov 5, 2021
    Copy the full SHA
    8d7e606 View commit details
    Browse the repository at this point in the history
  2. miner, consensus/clique: avoid memory leak during block stasis (ether…

    …eum#23861)
    
    This PR fixes a problem which arises on clique networks when there is a network stall. Previously, the worker packages were tracked, even if the sealing engine decided not to seal the block (due to clique rules about recent signing). These tracked-but-not-sealed blocks kept building up in memory. 
    This PR changes the situation so the sealing engine instead returns an error, and the worker can thus un-track the package.
    holiman committed Nov 5, 2021
    Copy the full SHA
    476fb56 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

  1. les/vflux: fixed panic and data races (ethereum#23865)

    * les/vflux/server: fix BalanceOperation
    
    * les/vflux/client: fixed data races
    zsfelfoldi committed Nov 8, 2021
    Copy the full SHA
    8be8ba4 View commit details
    Browse the repository at this point in the history
  2. cmd/geth: add support for sepolia testnet (ethereum#23730)

    * cmd/geth: add support for sepolia testnet
    
    * core: last details on sepolia genesis
    
    * params: fix sepolia hash + reduce testing code
    
    * Update params/bootnodes.go
    
    * cmd/geth: fix attach path for sepolia
    
    * params: update bootnodes
    
    * params: fix
    
    * core: fix docstring
    
    * params: add sepolia CHT
    holiman committed Nov 8, 2021
    Copy the full SHA
    e1c000b View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    a4f0f8f View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e61b8cb View commit details
    Browse the repository at this point in the history
  5. Merge pull request ethereum#23868 from karalabe/cht-1.10.12

    params: update CHTs for the 1.10.12 release
    karalabe committed Nov 8, 2021
    Copy the full SHA
    aa2727f View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    c4fff0f View commit details
    Browse the repository at this point in the history
  7. Merge pull request ethereum#23869 from karalabe/cht-1.10.12-ropsten

    params: update Ropsten CHT too
    karalabe committed Nov 8, 2021
    Copy the full SHA
    851256e View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    787a3b1 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    6c4dc6c View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    ad11691 View commit details
    Browse the repository at this point in the history
  11. core: check effective tip in txpool pricelimit validation (ethereum#2…

    …3855)
    
    The price limit is supposed to exclude transactions with too low fee
    amount. Before EIP-1559, it was sufficient to check the limit against
    the gas price of the transaction. After 1559, it is more complicated
    because the concept of 'transaction gas price' does not really exist.
    
    When mining, the price limit is used to exclude transactions below a
    certain effective fee amount. This change makes it apply the same check
    earlier, in tx validation. Transactions below the specified fee amount
    cannot enter the pool.
    
    Fixes ethereum#23837
    fjl committed Nov 8, 2021
    Copy the full SHA
    9489853 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2021

  1. Copy the full SHA
    7ddcc15 View commit details
    Browse the repository at this point in the history
  2. eth/tracers: package restructuring (ethereum#23857)

    * eth/tracers: restructure tracer package
    
    * core/vm/runtime: load js tracers
    
    * eth/tracers: mv bigint js code to own file
    
    * eth/tracers: add method docs for native tracers
    
    * eth/tracers: minor doc fix
    
    * core,eth: cancel evm on nativecalltracer stop
    
    * core/vm: fix failing test
    
    Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
    holiman and s1na committed Nov 9, 2021
    Copy the full SHA
    6b9c77f View commit details
    Browse the repository at this point in the history
  3. cmd/devp2p/internal/ethtest: clarify protocol version in tests (ether…

    …eum#23872)
    
    Debugging recent geth failures in hive, it took a while to realize that it's because
    geth doesn't support eth/65 any longer. This PR makes such failures a bit more
    easy to figure out.
    holiman committed Nov 9, 2021
    Copy the full SHA
    0efed7f View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. p2p: fix typo in v4wire.go

    Neigbors -> Neighbors
    eltociear committed Nov 10, 2021
    Copy the full SHA
    fb7da82 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ethereum#23880 from eltociear/patch-3

    p2p: fix typo in v4wire.go
    karalabe committed Nov 10, 2021
    Copy the full SHA
    e185a8c View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2021

  1. core/vm: implement EIP-2681: Limit account nonce to 2^64-1 (ethereum#…

    …23853)
    
    This retroactively implements requirements or EIP-2681 for the account nonce upper limit.
    gumb0 committed Nov 11, 2021
    Copy the full SHA
    f32feeb View commit details
    Browse the repository at this point in the history
  2. core/rawdb: add slow path for getting legacy logs (ethereum#23879)

    * eth/tracers: add slow path for getting legacy logs
    
    * core/rawdb: fix test
    s1na committed Nov 11, 2021
    Copy the full SHA
    c57df9c View commit details
    Browse the repository at this point in the history
  3. cmd/devp2p: update TTL max for Cloudflare (ethereum#23885)

    This was apparently recently changed by Cloudflare, and
    began returning an error: 'TTL must be between 60 and 86400
    seconds, or 1 for Automatic'
    
    Date: 2021-11-10 15:25:20-08:00
    Signed-off-by: meows <b5c6@protonmail.com>
    meowsbits committed Nov 11, 2021
    Copy the full SHA
    5358e49 View commit details
    Browse the repository at this point in the history
  4. eth/tracers: add golang 4byte tracer (ethereum#23882)

    * native 4byte tracer
    
    * Update eth/tracers/native/4byte.go
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    
    * Update eth/tracers/native/4byte.go
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    
    * goimports
    
    * eth/tracers: make 4byte tracer not care about create
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    wardbradt and holiman committed Nov 11, 2021
    Copy the full SHA
    e9294a7 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. Copy the full SHA
    a992c50 View commit details
    Browse the repository at this point in the history
  2. eth, eth/protocols/eth: transaction announcements for ETH66 only as t…

    …he previous metadium protocol version was ETH65
    sadoci committed Nov 12, 2021
    Copy the full SHA
    b89baa7 View commit details
    Browse the repository at this point in the history
  3. accounts/abi/bind/backends: fix race condition in simulated backend (e…

    …thereum#23898)
    
    Now that `SimulatedBackend.SuggestGasPrice` inspects member values, a lock needs to be added to prevent a race condition.
    joshuacolvin0 committed Nov 12, 2021
    Copy the full SHA
    abc74a5 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

  1. cmd/evm: add gasUsed to t8n result (ethereum#23919)

    * cmd/evm: add gas used accumulator to t8n result
    
    * cmd/evm: update t8n tests to include gas used field
    lightclient committed Nov 16, 2021
    Copy the full SHA
    b0b708b View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    05acc27 View commit details
    Browse the repository at this point in the history
  3. core/rawdb: better error message in freezer (ethereum#23901)

    * core/rawdb: better error message in freezer
    
    * Apply suggestions from code review
    holiman committed Nov 16, 2021
    Copy the full SHA
    b7a6409 View commit details
    Browse the repository at this point in the history
  4. cmd/geth: add flag --dev.gaslimit for dev mode (ethereum#23686)

    * cmd, core: add flag --dev.gaslimit to allow configuring initial block gas limit in dev mode
    
    * core: use provided gaslimit
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    jessetane and holiman committed Nov 16, 2021
    Copy the full SHA
    33f2813 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. Copy the full SHA
    fa96718 View commit details
    Browse the repository at this point in the history
  2. ethclient: fix tx sender cache miss detection (ethereum#23877)

    This fixes a bug in TransactionSender where it would return the
    zero address for transactions where the sender address wasn't
    cached already.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    PlasmaPower and fjl committed Nov 17, 2021
    Copy the full SHA
    16341e0 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. Copy the full SHA
    ab31fbb View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c52def7 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2021

  1. Copy the full SHA
    98bc33d View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e761255 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. Copy the full SHA
    e076143 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6f2c3f2 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    5d4bcbc View commit details
    Browse the repository at this point in the history
  4. cmd/evm: add b11r tool (ethereum#23843)

    evm block-builder (a.k.a b11r) is a utility to help assemble blocks, for use during the test-creation process.
    lightclient committed Nov 22, 2021
    Copy the full SHA
    441c7f2 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    d9c13d4 View commit details
    Browse the repository at this point in the history
  6. Merge pull request ethereum#23949 from karalabe/fix-repair-heuristic

    core, eth/downloader: fix resetting below freezer threshold
    karalabe committed Nov 22, 2021
    Copy the full SHA
    17f1c2d View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. cmd/evm: add support for signing transactions in the unprotected form…

    …at (ethereum#23937)
    
    * cmd/evm: add support for signing transactions in the unprotected format
    
    * cmd/evm: simplify signing of unprotected txs
    lightclient committed Nov 23, 2021
    Copy the full SHA
    23f69c6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ethereum#23928 from holiman/no_iota

    core/vm: don't use iota for opcode definitions
    karalabe committed Nov 23, 2021
    Copy the full SHA
    50e07a1 View commit details
    Browse the repository at this point in the history
  3. core/rawdb: use AncientRange when initializing leveldb from freezer (e…

    …thereum#23612)
    
    * core/rawdb: utilize AncientRange when initiating from freezer
    
    * core/rawdb: remove debug sanity check
    holiman committed Nov 23, 2021
    Copy the full SHA
    347c37b View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    d15e423 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    743769f View commit details
    Browse the repository at this point in the history
  6. Merge pull request ethereum#23960 from karalabe/verify-range-deletion

    trie: reject deletions when verifying range proofs
    karalabe committed Nov 23, 2021
    Copy the full SHA
    7322b25 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    edb77d5 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. cmd/evm: rename t8n args to improve clarity when tracing (ethereum#23934

    )
    
    * cmd/evm: rename t8n args to improve clarity when tracing
    
    * cmd/evm: add back removed tracing flags and note that they are deprecated
    
    * cmd/evm: add warning when using deprecated flag
    lightclient committed Nov 24, 2021
    Copy the full SHA
    0a7672f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7a0c19f View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8151dd6 View commit details
    Browse the repository at this point in the history
  4. consensus/clique: fix block number unmarshal (ethereum#23961)

    * clique: fix block number unmarshal
    
    * clique: rename
    s1na committed Nov 24, 2021
    Copy the full SHA
    66ee942 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    10b1cd9 View commit details
    Browse the repository at this point in the history
  6. cmd/devp2p/internal/v4test: fix false-positive hive test (ethereum#23966

    )
    
    This PR fixes two problems in devp2p tests (and through them, hive).
    
    - Make the output more detailed about what is returned (always print packet kind).
    - Allow Ping response to unsolicited findnode.
    
    Without this PR, nethermind fails a hive protocol test, and I misinterpreted the result (NethermindEth/nethermind#3617). Ergo, the output was not fool-proof.
    holiman committed Nov 24, 2021
    Copy the full SHA
    ad7c90c View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Copy the full SHA
    cf0f6d2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from sadoci/metadium-wip

    Metadium wip
    sadoci committed Nov 25, 2021
    Copy the full SHA
    45ef5d9 View commit details
    Browse the repository at this point in the history
  3. core/vm, core/state/snapshot: remove unused code (ethereum#23956)

    * core/state/snapshot: remove wiper functionality
    
    * core/vm: remove unused 'unofficial' opcodes
    holiman committed Nov 25, 2021
    Copy the full SHA
    9055cc1 View commit details
    Browse the repository at this point in the history
  4. all: move loggers to eth/tracers (ethereum#23892)

    * all: mv loggers to eth/tracers
    
    * core/vm: minor
    
    * eth/tracers: tmp comment out testStoreCapture
    
    * eth/tracers: uncomment and fix logger test
    
    * eth/tracers: simplify test
    
    * core/vm: re-add license
    
    * core/vm: minor
    
    * rename LogConfig to Config
    s1na committed Nov 25, 2021
    Copy the full SHA
    1876cb4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request ethereum#23967 from ipsilon/evm_jumptable_type

    core/vm: use proper JumpTable type
    karalabe committed Nov 25, 2021
    Copy the full SHA
    4ebeca1 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    519cf98 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. all: core rework for the merge transition (ethereum#23761)

    * all: work for eth1/2 transtition
    
    * consensus/beacon, eth: change beacon difficulty to 0
    
    * eth: updates
    
    * all: add terminalBlockDifficulty config, fix rebasing issues
    
    * eth: implemented merge interop spec
    
    * internal/ethapi: update to v1.0.0.alpha.2
    
                                                                     This commit updates the code to the new spec, moving payloadId into
                                                                     it's own object. It also fixes an issue with finalizing an empty blockhash.
                                                                     It also properly sets the basefee
    
    * all: sync polishes, other fixes + refactors
    
    * core, eth: correct semantics for LeavePoW, EnterPoS
    
    * core: fixed rebasing artifacts
    
    * core: light: performance improvements
    
    * core: use keyed field (f)
    
    * core: eth: fix compilation issues + tests
    
    * eth/catalyst: dbetter error codes
    
    * all: move Merger to consensus/, remove reliance on it in bc
    
    * all: renamed EnterPoS and LeavePoW to ReachTDD and FinalizePoS
    
    * core: make mergelogs a function
    
    * core: use InsertChain instead of InsertBlock
    
    * les: drop merger from lightchain object
    
    * consensus: add merger
    
    * core: recoverAncestors in catalyst mode
    
    * core: fix nitpick
    
    * all: removed merger from beacon, use TTD, nitpicks
    
    * consensus: eth: add docstring, removed unnecessary code duplication
    
    * consensus/beacon: better comment
    
    * all: easy to fix nitpicks by karalabe
    
    * consensus/beacon: verify known headers to be sure
    
    * core: comments
    
    * core: eth: don't drop peers who advertise blocks, nitpicks
    
    * core: never add beacon blocks to the future queue
    
    * core: fixed nitpicks
    
    * consensus/beacon: simplify IsTTDReached check
    
    * consensus/beacon: correct IsTTDReached check
    
    Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
    Co-authored-by: Péter Szilágyi <peterke@gmail.com>
    3 people committed Nov 26, 2021
    Copy the full SHA
    3038e48 View commit details
    Browse the repository at this point in the history
  2. eth: request id dispatcher and direct req/reply APIs (ethereum#23576)

    * eth: request ID based message dispatcher
    
    * eth: fix dispatcher cancellation, rework fetchers idleness tracker
    
    * eth/downloader: drop peers who refuse to serve advertised chains
    karalabe committed Nov 26, 2021
    Copy the full SHA
    c10a0a6 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. trie: simplify StackTrie implementation (ethereum#23950)

    Trim the search key from head as it's being pushed deeper into the trie. Previously the search key was never modified but each node kept information how to slice and compare it in keyOffset. Now the keyOffset is not needed as this information is included in the slice of the search key. This way the keyOffset can be removed and key manipulation
    simplified.
    chfast committed Nov 29, 2021
    Copy the full SHA
    86fe359 View commit details
    Browse the repository at this point in the history
  2. core/vm: simplify error handling in interpreter loop (ethereum#23952)

    * core/vm: break loop on any error
    
    * core/vm: move ErrExecutionReverted to opRevert()
    
    * core/vm: use "stop token" to stop the loop
    
    * core/vm: unconditionally pc++ in the loop
    
    * core/vm: set return data in instruction impls
    chfast committed Nov 29, 2021
    Copy the full SHA
    1fa9172 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    dbdc2c0 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

  1. core/vm: Rename SHA3 instruction to KECCAK256 (ethereum#23976)

    This was proposed in 2016, Solidity uses this since 2017, and evmone and other VMs use the keccak256 name. This brings geth in line with those.
    axic committed Nov 30, 2021
    Copy the full SHA
    a69d4b2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    163f166 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. Copy the full SHA
    1988b47 View commit details
    Browse the repository at this point in the history
  2. core/vm: Move interpreter.ReadOnly check into the opcode implementati…

    …ons (ethereum#23970)
    
    * core/vm: Move interpreter.ReadOnly check into the opcode implementations
    
    Also remove the same check from the interpreter inner loop.
    
    * core/vm: Remove obsolete operation.writes flag
    
    * core/vm: Capture fault states in logger
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    
    * core/vm: Remove panic added for testing
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    axic and holiman committed Dec 1, 2021
    Copy the full SHA
    9393d1f View commit details
    Browse the repository at this point in the history
  3. core/vm: rename opSuicide to opSelfdestruct (ethereum#24022)

    The opcode was renamed in the codebase in 2017, but the functions were kept unchanged.
    axic committed Dec 1, 2021
    Copy the full SHA
    2be129b View commit details
    Browse the repository at this point in the history
  4. eth/tracers/js: add support for REVERT/SELFDESTRUCT in evmdis_tracer (e…

    …thereum#24016)
    
    * eth/tracers: Add support for REVERT in evmdis_tracer
    
    * evm/tracers: Fix evmdis_tracer to use SELFDESTRUCT instead of SUICIDE
    
    * eth/tracers: Regenerate tracer library
    axic committed Dec 1, 2021
    Copy the full SHA
    721c572 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    c893488 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Copy the full SHA
    8fbe0b9 View commit details
    Browse the repository at this point in the history
  2. accounts/abi/bind: correctly handle structs used only as constructor …

    …params (ethereum#23940)
    
    The `structs` map is populated by iterating over all methods except the constructor, which results in a nil-pointer dereference.
    
    I've first reproduced the problem with a new test and then implemented the fix.
    
    Co-authored-by: Arran Schlosberg <me@arranschlosberg.com>
    divergencetech and ARR4N committed Dec 2, 2021
    Copy the full SHA
    b45931c View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    85064ed View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

  1. Merge pull request ethereum#24032 from karalabe/downloader-response-p…

    …reprocess
    
    eth: pre-process downloader responses on the peer reader thread
    karalabe committed Dec 3, 2021
    Copy the full SHA
    5e78fc0 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a0f7771 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    9331fe2 View commit details
    Browse the repository at this point in the history
  4. core/vm: move interpreter interruption check to jump instructions (et…

    …hereum#24026)
    
    * core/vm: Remove interpreter loop interruption check
    
    * core/vm: Unit test for interpreter loop interruption
    
    * core/vm: Check for interpreter loop abort on every jump
    gumb0 committed Dec 3, 2021
    Copy the full SHA
    b02fe53 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    58d1988 View commit details
    Browse the repository at this point in the history
  6. Merge pull request ethereum#24047 from karalabe/delete-dead-sync-bloom

    core, eth, les, trie: remove the sync bloom, used by fast sync
    karalabe committed Dec 3, 2021
    Copy the full SHA
    cca482b View commit details
    Browse the repository at this point in the history
  7. readme: use correct link for web3.js docs (ethereum#24046)

    Previous link leads to incorrect (more recent) version of web3.js docs.
    
    go-ethereum uses v0.20.1. The docs for 0.2x.x have been archived at this Github link.
    nala-two committed Dec 3, 2021
    Copy the full SHA
    46f701c View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    93f196c View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2021

  1. Copy the full SHA
    619a3e7 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2021

  1. Copy the full SHA
    a95675d View commit details
    Browse the repository at this point in the history
  2. core, core/rawdb: fix transaction indexing (ethereum#24024)

    This PR fixes a special corner case in transaction indexing.
    
    When the chain is rewound by SetHead to a historical point which is even lower than the transaction indexes tail, then system will report Failed to decode block body error all the time, because the relevant blocks are already deleted.
    
    In order to avoid this "non-critical-but-annoying" issue, we can recap the indexing target to head+1(to is excluded, so it means indexing transactions from 0 to head).
    rjl493456442 committed Dec 6, 2021
    Copy the full SHA
    69686fa View commit details
    Browse the repository at this point in the history
  3. Merge pull request ethereum#24066 from holiman/no_no_recursion

    core/vm: remove no-recursion option from config
    karalabe committed Dec 6, 2021
    Copy the full SHA
    a25906e View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    acb0f7a View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    cc87cbd View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2021

  1. Copy the full SHA
    d785905 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7f7877a View commit details
    Browse the repository at this point in the history
  3. core, eth: improve delivery speed on header requests (ethereum#23105)

    This PR reduces the amount of work we do when answering header queries, e.g. when a peer
    is syncing from us.
    
    For some items, e.g block bodies, when we read the rlp-data from database, we plug it
    directly into the response package. We didn't do that for headers, but instead read
    headers-rlp, decode to types.Header, and re-encode to rlp. This PR changes that to keep it
    in RLP-form as much as possible. When a node is syncing from us, it typically requests 192
    contiguous headers. On master it has the following effect:
    
    - For headers not in ancient: 2 db lookups. One for translating hash->number (even though
      the request is by number), and another for reading by hash (this latter one is sometimes
      cached).
      
    - For headers in ancient: 1 file lookup/syscall for translating hash->number (even though
      the request is by number), and another for reading the header itself. After this, it
      also performes a hashing of the header, to ensure that the hash is what it expected. In
      this PR, I instead move the logic for "give me a sequence of blocks" into the lower
      layers, where the database can determine how and what to read from leveldb and/or
      ancients.
    
    There are basically four types of requests; three of them are improved this way. The
    fourth, by hash going backwards, is more tricky to optimize. However, since we know that
    the gap is 0, we can look up by the parentHash, and stlil shave off all the number->hash
    lookups.
    
    The gapped collection can be optimized similarly, as a follow-up, at least in three out of
    four cases.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    holiman and fjl committed Dec 7, 2021
    Copy the full SHA
    db03faa View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

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

Commits on Dec 11, 2021

  1. cmd/geth, console: support interrupting the js console (ethereum#23387)

    Previously, Ctrl-C (SIGINT) was ignored during JS execution, so it was not
    possible to get out of infinite loops in the console. With this change,
    Ctrl-C now interrupts JS.
    
    Fixes ethereum#23344
    
    Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
    Co-authored-by: Felix Lange <fjl@twurst.com>
    3 people committed Dec 11, 2021
    Copy the full SHA
    72c2c0a View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. consensus: define MaxGasLimit as a const in params (ethereum#24092)

    * consensus: use the maxGasLimit constant to check the header.GasLimit to avoid creating new variables repeatedly
    
    * consensus: check the header.GasLimit by the public constant MaxGasLimit
    
    * consensus: check the header.GasLimit by the constant MaxGasLimit
    jovijovi committed Dec 14, 2021
    Copy the full SHA
    b3b8b26 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    adec878 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    155795b View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    fc01a7c View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. rpc: fix time key collision for logger with json output (ethereum#24112)

    The "t" key overrides the log message time in JSON output.
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    bobakxd and fjl committed Dec 15, 2021
    Copy the full SHA
    0ba0b81 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    893502e View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

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

Commits on Dec 17, 2021

  1. core/vm: reverse bit order in bytes of code bitmap (ethereum#24120)

    * core/vm: reverse bit order in bytes of code bitmap
    
    This bit order is more natural for bit manipulation operations and we
    can eliminate some small number of CPU instructions.
    
    * core/vm: drop lookup table
    chfast committed Dec 17, 2021
    Copy the full SHA
    81ec6b1 View commit details
    Browse the repository at this point in the history
  2. core/vm: Make INVALID a defined opcode (ethereum#24017)

    * core/vm: Define 0xfe opcode as INVALID
    
    * core/vm: Remove opInvalid as opUndefined handles it
    
    Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
    gumb0 and axic committed Dec 17, 2021
    Copy the full SHA
    3e47e38 View commit details
    Browse the repository at this point in the history
  3. eth, les: update unclean shutdown markers regularly (ethereum#24077)

    Fixes ethereum#22580
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    s1na and fjl committed Dec 17, 2021
    Copy the full SHA
    ada9c77 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    f5f5c08 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    2295640 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    8bbf83e View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. Copy the full SHA
    99be62a View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. Copy the full SHA
    b8edc04 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    980b768 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    3f2e96c View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. Copy the full SHA
    11a3a35 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    dddf73a View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2021

  1. core/asm: change order of items in stringtokenTypes (ethereum#24153)

    This orders the items in slice definition same as the enum values.
    zgfzgf committed Dec 26, 2021
    Copy the full SHA
    356bbe3 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2021

  1. go.mod : go-nat-pmp v1.0.2

    ucwong committed Dec 30, 2021
    Copy the full SHA
    062d910 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. trie: fix spelling mistake (ethereum#24185)

    mispelled words in comments: th enext
    codeoneline committed Jan 4, 2022
    Copy the full SHA
    98be5f9 View commit details
    Browse the repository at this point in the history
  2. accounts: correct comment (ethereum#24186)

    Change two instances of the word `calulcated` to `calculated`.
    pcresswell committed Jan 4, 2022
    Copy the full SHA
    d0bd501 View commit details
    Browse the repository at this point in the history
  3. core/rawdb: fix double-lock causing hang (ethereum#24189)

    Fixes ethereum#24159
    
    Co-authored-by: Felix Lange <fjl@twurst.com>
    holiman and fjl committed Jan 4, 2022
    Copy the full SHA
    66a908c View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Copy the full SHA
    4bd2d0e View commit details
    Browse the repository at this point in the history
  2. graphql: check header first in blocks query (ethereum#24190)

    Fixes ethereum#24167
    
    New behaviour is that the endpoint returns results only for available
    blocks without returning an error when it doesn't find a block. Note we
    skip any block after a non-existent block.
    
    This adds a header fetch for every block in range (even if header
    is not needed). Alternatively, we could do the check in every field's
    resolver method to avoid this overhead.
    s1na committed Jan 5, 2022
    Copy the full SHA
    c0d17bc View commit details
    Browse the repository at this point in the history
  3. ethclient: fix unmarshaling of ethereum.SyncProgress (ethereum#24199)

    SyncProgress was modified in PR ethereum#23576 to add the fields reported for
    snap sync. The PR also changed ethclient to use the SyncProgress struct
    directly instead of wrapping it for hex-decoding. This broke the
    SyncProgress method.
    
    Fix it by putting back the custom wrapper. While here, also put back the
    fast sync related fields because SyncProgress is stable API and thus
    removing fields is not allowed.
    
    Fixes ethereum#24180
    Fixes ethereum#24176
    fjl committed Jan 5, 2022
    Copy the full SHA
    0169d57 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    c20de3c View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    3ccd6b6 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    335914a View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    8be800f View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    0f89310 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. Merge pull request ethereum#24117 from holiman/db_has

    trie, core, eth: use db.has over db.get where possible
    karalabe committed Jan 6, 2022
    Copy the full SHA
    af2ca5a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7403a38 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    9aa2e98 View commit details
    Browse the repository at this point in the history
  4. accounts: corrected spelling mistakes (ethereum#24194)

    Co-authored-by: sanskar khare <sanskarkhare@sanskars-MacBook-Air.local>
    sanskarkhare and sanskar khare committed Jan 6, 2022
    Copy the full SHA
    127ce93 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Copy the full SHA
    0dec47b View commit details
    Browse the repository at this point in the history
  2. Merge pull request ethereum#24210 from holiman/whitelist_investigate

    eth: continue after whitelist check
    karalabe committed Jan 7, 2022
    Copy the full SHA
    adc0a6a View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    2347128 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    1884f37 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. core/evm: RANDOM opcode (EIP-4399) (ethereum#24141)

    * core: implement eip-4399 random opcode
    
    * core: make vmconfig threadsafe
    
    * core: miner: pass vmConfig by value not reference
    
    * all: enable 4399 by Rules
    
    * core: remove diff (f)
    
    * tests: set proper difficulty (f)
    
    * smaller diff (f)
    
    * eth/catalyst: nit
    
    * core: make RANDOM a pointer which is only set post-merge
    
    * cmd/evm/internal/t8ntool: fix t8n tracing of 4399
    
    * tests: set difficulty
    
    * cmd/evm/internal/t8ntool: check that baserules are london before applying the merge chainrules
    MariusVanDerWijden committed Jan 10, 2022
    Copy the full SHA
    b1e72f7 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Merge pull request ethereum#24197 from rjl493456442/periodically-flus…

    …h-batch
    
    core: periodically flush the transaction indexes
    karalabe committed Jan 11, 2022
    Copy the full SHA
    acd7b36 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ethereum#24171 from ucwong/pmp

    go.mod : go-nat-pmp v1.0.2
    karalabe committed Jan 11, 2022
    Copy the full SHA
    e6b61ed View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c006261 View commit details
    Browse the repository at this point in the history
  4. cmd/geth: update copyright year (ethereum#24224)

    * cmd/geth: update copyright year
    
    * cmd/geth: update copyright year
    vieyang committed Jan 11, 2022
    Copy the full SHA
    52448e9 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    2c58e6b View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. crypto/ecies: use AES-192 for curve P384 (ethereum#24139)

    Using curve P384 for encryption causes the error "ecies: shared key params
    are too big". Also, readme.md says curve P384 should use AES192 not AES256.
    
    Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
    xq840622 and MariusVanDerWijden committed Jan 12, 2022
    Copy the full SHA
    045e90c View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2022

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

Commits on Jan 18, 2022

  1. Copy the full SHA
    f80ce14 View commit details
    Browse the repository at this point in the history
  2. core/rawdb: enforce readonly in freezer instantiation (ethereum#24119)

    * freezer: add readonly flag to table
    
    * freezer: enforce readonly in table repair
    
    * freezer: enforce readonly in newFreezer
    
    * minor fix
    
    * minor
    
    * core/rawdb: test that writing during readonly fails
    
    * rm unused log
    
    * check readonly on batch append
    
    * minor
    
    * Revert "check readonly on batch append"
    
    This reverts commit 2ddb5ec.
    
    * review fixes
    
    * minor test refactor
    
    * attempt at fixing windows issue
    
    * add comment re windows sync issue
    
    * k->kind
    
    * open readonly db for genesis check
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    s1na and holiman committed Jan 18, 2022
    Copy the full SHA
    4aab440 View commit details
    Browse the repository at this point in the history
  3. cmd/geth: add db cmd to show metadata (ethereum#23900)

    * cmd/geth: add db cmd to show metadata
    
    * cmd/geth: better output generator status
    
    Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
    
    * cmd: minor
    
    Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
    Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
    3 people committed Jan 18, 2022
    Copy the full SHA
    51eb5f8 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    7dec26d View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. internal/ethapi: use same receiver names (ethereum#24252)

    * Chore: use same receiver names
    
    * Fix syntax issues
    aeharvlee committed Jan 20, 2022
    Copy the full SHA
    03aaea1 View commit details
    Browse the repository at this point in the history
  2. eth/catalyst: evict old payloads, type PayloadID (ethereum#24236)

    * eth/catalyst: evict old payloads, type PayloadID
    
    * eth/catalyst: added tracing info to engine api
    
    * eth/catalyst: add test for create payload timestamps
    
    * catalyst: better logs
    
    * eth/catalyst: computePayloadId return style
    
    * catalyst: add queue for payloads
    
    * eth/catalyst: nitpicks
    
    Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
    Co-authored-by: Péter Szilágyi <peterke@gmail.com>
    3 people committed Jan 20, 2022
    Copy the full SHA
    514ae7c View commit details
    Browse the repository at this point in the history
  3. rpc: add PeerInfo (ethereum#24255)

    This replaces the sketchy and undocumented string context keys for HTTP requests
    with a defined interface. Using string keys with context is discouraged because
    they may clash with keys created by other packages.
    
    We added these keys to make connection metadata available in the signer, so this
    change also updates signer/core to use the new PeerInfo API.
    fjl committed Jan 20, 2022
    Copy the full SHA
    5bcbb29 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Copy the full SHA
    c029cdc View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4c77062 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7ef5d1a View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    318d3eb View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    6656da8 View commit details
    Browse the repository at this point in the history
  6. core: unon fast sync completion wait for governance to be initialized…

    … in order to calculate rewards distribution correctly
    sadoci committed Jan 21, 2022
    Copy the full SHA
    880b5cb View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    ae45c97 View commit details
    Browse the repository at this point in the history
  8. core, miner, rpc, eth: fix goroutine leaks in tests (ethereum#24211)

    * fix blocking and non-blocking issues
    
    * core: revert change in blockchain.go
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    charlesxsh and holiman committed Jan 21, 2022
    Copy the full SHA
    eef7a33 View commit details
    Browse the repository at this point in the history
  9. trie: test for edgecase in VerifyRangeProof (ethereum#24257)

    * trie/proof: edge case for VerifyRangeProof
    
    * more consistency with other tests in the file
    
    * trie: fix test todo
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    darioush and holiman committed Jan 21, 2022
    Copy the full SHA
    2dfa4bc View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. Copy the full SHA
    c66e0f9 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e51e813 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. internal/ethapi: remove unnecessary comment (ethereum#24271)

    Because there is no `fullTx` parameter at function signatures and
    uncle apis does not return txs also, those lines are un-necessary.
    aeharvlee committed Jan 24, 2022
    Copy the full SHA
    06e16de View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6838542 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    bd615e0 View commit details
    Browse the repository at this point in the history
  4. eth, miner: use miner for post-merge block production (ethereum#23256)

    * eth, miner: remove duplicated code
    
    * eth/catalyst: remove unneeded code
    
    * miner: keep update pending state even the Merge is happened
    
    * eth, miner: rebase
    
    * miner: fix tests
    
    * eth, miner: address comments from marius
    
    * miner: use empty zero randomness for pending blocks after the merge
    
    * eth/catalyst: gofmt
    
    * miner: add warning log for state recovery
    
    * miner: ignore uncles for post-merge blocks
    
    Co-authored-by: Péter Szilágyi <peterke@gmail.com>
    rjl493456442 and karalabe committed Jan 24, 2022
    Copy the full SHA
    78636ee View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    4230f5f View commit details
    Browse the repository at this point in the history
  6. Merge pull request ethereum#24281 from karalabe/dev-read-write

    cmd/utils: fix regression placing dev mode datadir readonly
    karalabe committed Jan 24, 2022
    Copy the full SHA
    f9ce40b View commit details
    Browse the repository at this point in the history
  7. accounts/abi: simplify Arguments.Unpack (ethereum#24277)

    Since len(nonIndexedArgs) is definitely 0 in this context, the code can be simplified.
    zhiqiangxu committed Jan 24, 2022
    Copy the full SHA
    f39f068 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Copy the full SHA
    0e35192 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ethereum#24288 from holiman/prefer_prefixed

    core/rawdb: do prefixed lookup first
    karalabe committed Jan 25, 2022
    Copy the full SHA
    78f13a3 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    29cb5de View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    015fde9 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. etcd: added patched etcd

    sadoci committed Jan 26, 2022
    Copy the full SHA
    68b5f00 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c935183 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    579c759 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Copy the full SHA
    e282246 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a988550 View commit details
    Browse the repository at this point in the history
  3. rpc: set Request.GetBody for client requests (ethereum#24292)

    When talking to an HTTP2 server, there are situations where it needs to
    "rewind" the Request.Body. To allow this, we have to set up the Request.GetBody
    function to return a brand new instance of the body.
    
    If not set, we can end up with the following error:
    
        http2: Transport: cannot retry err [http2: Transport received Server's graceful shutdown GOAWAY] after Request.Body was written; define Request.GetBody to avoid this error
    
    See this commit for more information: https://sourcegraph.com/github.com/golang/net/-/commit/cffdcf672aee934982473246bc7e9a8ba446aa9b?visible=2
    ValentinTrinque committed Jan 27, 2022
    Copy the full SHA
    abd49a6 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. tests: external evm benchmarks (ethereum#24050)

    * tests: add ipsilon/evm-benchmarks git submodule
    
    * tests: plug-in evm-benchmarks
    chfast committed Jan 28, 2022
    Copy the full SHA
    64c53ed View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2022

  1. Copy the full SHA
    0c1bd22 View commit details
    Browse the repository at this point in the history
  2. eth/tracers: native prestate tracer (ethereum#24268)

    * eth/tracers: add initial native prestate tracer
    
    * fix balance hex
    
    * handle prestate for tx from and to
    
    * drop created contract from prestate
    
    * fix sender balance
    
    * use switch instead
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    
    * minor fix
    
    * lookup create2 account
    
    * mv code around a bit
    
    * check stackLen for create2
    
    * fix transfer tx for js prestate tracer
    
    * fix create2 addr
    
    * track extcodehash in js prestate tracer
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    s1na and holiman committed Jan 31, 2022
    Copy the full SHA
    cac09a3 View commit details
    Browse the repository at this point in the history
  3. build: fix lint on ARM (ethereum#24311)

    * build: append GOARM to arm lint download URL
    
    otherwise it fails with:
    
    downloading from https://github.com/golangci/golangci-lint/releases/download/v1.42.0/golangci-lint-1.42.0-linux-arm.tar.gz
    ci.go:347: download error: status 404
    
    * build: increase timeout for lint
    
    Otherwise it times out on a pi
    
    * Increase timeout even further
    
    saw longer build times
    ligi committed Jan 31, 2022
    Copy the full SHA
    a5c0cfb View commit details
    Browse the repository at this point in the history
  4. all: separate catalyst package (ethereum#24280)

    * all: seperate catalyst package
    
    * eth/catalyst: moved some methods, added docs
    
    * eth/catalyst, les/catalyst: add method docs
    
    * core, eth, les, miner: move common function to beacon package
    
    * eth/catalyst: goimported
    
    * cmd/utils, miner/stress/beacon: naming nitpicks
    
    Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
    Co-authored-by: Péter Szilágyi <peterke@gmail.com>
    3 people committed Jan 31, 2022
    Copy the full SHA
    9da25c5 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. accounts: correct spelling mistake (ethereum#24323)

    I believe the sentence is attempting to explain that the URL is "[used] by upper layers to define a sorting order over all wallets from multiple backends."
    B-Harden committed Feb 1, 2022
    Copy the full SHA
    b868ca1 View commit details
    Browse the repository at this point in the history
  2. eth/tracers: clean-up tracer collection (ethereum#24320)

    * eth/tracers: clean-up tracer collection
    
    * Rm test for dropped tracer
    s1na committed Feb 1, 2022
    Copy the full SHA
    c5436c8 View commit details
    Browse the repository at this point in the history
  3. accounts/abi/bind: improve WaitMined error handling (ethereum#24321)

    This change makes it so WaitMined no longer logs an error when the receipt
    is unavailable. It also changes the simulated backend to return NotFound for
    unavailable receipts, just like ethclient does.
    komkom committed Feb 1, 2022
    Copy the full SHA
    afe344b View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. Copy the full SHA
    d99e759 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ethereum#24328 from karalabe/uke-catalyst

    cmd: auto-enable beacon APIs if TTD is defined
    karalabe committed Feb 2, 2022
    Copy the full SHA
    1a7e345 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    aaca58a View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. cmd/devp2p: implement snap protocol testing (ethereum#24276)

    This also contains some changes to the protocol handler to
    make the tests pass.
    holiman committed Feb 4, 2022
    Copy the full SHA
    6ce4670 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

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

Commits on Feb 8, 2022

  1. signer/core: fix complex typed data sign (EIP712) (ethereum#24220)

    Co-authored-by: specerxi <xhxpecer@gmail.com>
    holiman and pranksteess committed Feb 8, 2022
    Copy the full SHA
    5a0d487 View commit details
    Browse the repository at this point in the history
  2. go.mod: upgrade to github.com/karalabe/usb v0.0.2 (ethereum#24356)

    This upgrade resolves a build issue on Android 7+ and removes
    a build warning on macOS >= 12.0.
    fjl committed Feb 8, 2022
    Copy the full SHA
    fb3a652 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. Copy the full SHA
    51e7968 View commit details
    Browse the repository at this point in the history
  2. p2p: reduce the scope of variable dialPubkey (ethereum#24385)

    dialPubkey isn't used anywhere else after dialDest.Load, so it should be safe to
    restrict its scope to the if clause.
    zhiqiangxu committed Feb 14, 2022
    Copy the full SHA
    6c3513c View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. internal/ethapi: fix incorrect type on empty slice (ethereum#24372)

    * Fixes ethereum#24368
    
    Signed-off-by: 0x6f736f646f <blackd0t@protonmail.com>
    
    * Update internal/ethapi/api.go
    
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    rodneyosodo and holiman committed Feb 15, 2022
    Copy the full SHA
    f01e2fa View commit details
    Browse the repository at this point in the history
  2. ethclient: add CallContractAtHash (ethereum#24355)

    * add CallContractAtHash to ethclient
    
    * add docstring and test
    
    * optimize test
    
    * ethclient: nits
    
    Co-authored-by: Péter Szilágyi <peterke@gmail.com>
    zhiqiangxu and karalabe committed Feb 15, 2022
    Copy the full SHA
    e98114d View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    20356e5 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. consensus/misc, core, core/vm: disabled EIP-1559 & EIP-3198, fixed --…

    …override.london option to include berlin as well
    sadoci committed Feb 25, 2022
    Copy the full SHA
    892bb78 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    79f3279 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8c34371 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. Merge ethereum v1.10.16

    sadoci committed Mar 11, 2022
    Copy the full SHA
    7be245c View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Copy the full SHA
    f773bf5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    74721c6 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. Merge pull request METADIUM#11 from sadoci/metadium

    Metadium - v1.10.16 merge
    MetadiumRelease committed Mar 17, 2022
    Copy the full SHA
    eb658a4 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

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

Commits on Mar 21, 2022

  1. Copy the full SHA
    c116cc5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a0e66b5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request METADIUM#12 from sadoci/metadium

    core, params, consensus: testnet berlin & london block height, abort block generation upon rewards calculation error
    MetadiumRelease committed Mar 21, 2022
    Copy the full SHA
    993beaf View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Copy the full SHA
    43194ea View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Copy the full SHA
    10e9aeb View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    dcd3da5 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    01c2171 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8e6c344 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Copy the full SHA
    ccf8b63 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    59cab3a View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

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

Commits on Apr 14, 2022

  1. Merge pull request METADIUM#14 from sadoci/metadium

    metadium: fixes for sync issues, pending block issue & chaindata directory name issue
    MetadiumRelease committed Apr 14, 2022
    Copy the full SHA
    98df44a View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Copy the full SHA
    00b76f3 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2022

  1. feat: add etcd compact

    lukepark327 authored and MetadiumRelease committed May 6, 2022
    Copy the full SHA
    c440fbe View commit details
    Browse the repository at this point in the history
  2. add etcdCompactWindow

    lukepark327 authored and MetadiumRelease committed May 6, 2022
    Copy the full SHA
    53ca60d View commit details
    Browse the repository at this point in the history
  3. feat: apply compact window && update check logic

    * apply concept of compact window
    * update check logic
    lukepark327 authored and MetadiumRelease committed May 6, 2022
    Copy the full SHA
    2069123 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Copy the full SHA
    7d802e3 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d5fdd66 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. Copy the full SHA
    548c814 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. Copy the full SHA
    3763ee7 View commit details
    Browse the repository at this point in the history
  2. add "meta" to ethstats

    trident86 authored and MetadiumRelease committed Sep 23, 2022
    Copy the full SHA
    47ae953 View commit details
    Browse the repository at this point in the history
  3. Merge metadium into master

    Conflicts:
    	params/version.go
    sadoci committed Sep 23, 2022
    Copy the full SHA
    0bd1232 View commit details
    Browse the repository at this point in the history
  4. Update CODEOWNERS

    MetadiumRelease committed Sep 23, 2022
    Copy the full SHA
    ad68a03 View commit details
    Browse the repository at this point in the history