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

Message call verkle witness gas charging #43

Closed
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 24, 2021

  1. params: release Geth v1.10.8

    karalabe committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    2667545 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea4bc2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    79bb930 View commit details
    Browse the repository at this point in the history
  4. p2p, p2p/enode: fix data races (ethereum#23434)

    In p2p/dial.go, conn.flags was accessed without using sync/atomic.
    This race is fixed by removing the access.
    
    In p2p/enode/iter_test.go, a similar race is resolved by writing the field atomically.
    
    Co-authored-by: Felix Lange <[email protected]>
    MariusVanDerWijden and fjl authored Aug 24, 2021
    Configuration menu
    Copy the full SHA
    8dbf261 View commit details
    Browse the repository at this point in the history
  5. core/bloombits: avoid crash when storing errors of different type (et…

    …hereum#23437)
    
    This fixes a rare crash which could occur when two different errors happened
    in the same bloombits.MatcherSession.
    otherview authored Aug 24, 2021
    Configuration menu
    Copy the full SHA
    8e0771c View commit details
    Browse the repository at this point in the history
  6. tests/testdata: make submodule shallow (ethereum#23412)

    Before:
    
    316M .git/modules/tests/
    
    After:
    
    171M .git/modules/tests/
    ligi authored Aug 24, 2021
    Configuration menu
    Copy the full SHA
    5c66bab View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0b40977 View commit details
    Browse the repository at this point in the history
  8. core/types: add benchmarks for rlp encoding/decoding (ethereum#23190)

    Co-authored-by: Felix Lange <[email protected]>
    Co-authored-by: Sina Mahmoodi <[email protected]>
    3 people authored Aug 24, 2021
    Configuration menu
    Copy the full SHA
    a0a4a15 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    85126c4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5cee33e View commit details
    Browse the repository at this point in the history
  11. core: make txpool reject too sudden changes (ethereum#23095)

    * core: make txpool reject too sudden changes
    
    * core: add some metrics to txpool
    holiman authored Aug 24, 2021
    Configuration menu
    Copy the full SHA
    d705f5a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0db0b27 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b69f5ca View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a789dcc View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a5a5237 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fe2f153 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2021

  1. Configuration menu
    Copy the full SHA
    83ad92c View commit details
    Browse the repository at this point in the history
  2. build: upgrade to golangci-lint v1.42.0 (ethereum#23461)

    The new linter version is built with go 1.17 and thus includes the go vet
    check for mismatched +build and go:build lines.
    
    Fortunately, no new warnings are reported with this update.
    fjl authored Aug 25, 2021
    Configuration menu
    Copy the full SHA
    45f3443 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    efee853 View commit details
    Browse the repository at this point in the history
  4. cmd/evm: add difficulty calculation to t8n tool (ethereum#23353)

    This PR adds functionality to the evm t8n to calculate ethash difficulty. If the caller does not provide a currentDifficulty, but instead provides the parentTimestamp (well, semi-optional, will default to 0 if not given), and parentDifficulty, we can calculate it for him.
    
    The caller can also provide a parentUncleHash. In most, but not all cases, the parent uncle hash also affects the formula. If no such hash is provided (or, if the empty all-zero hash is provided), it's assumed that there were no uncles.
    holiman authored Aug 25, 2021
    Configuration menu
    Copy the full SHA
    84c51bc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3784e15 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d162142 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    887902e View commit details
    Browse the repository at this point in the history
  8. all: add go:build lines (ethereum#23468)

    Generated by go1.17 fmt ./...
    fjl authored Aug 25, 2021
    Configuration menu
    Copy the full SHA
    8a13401 View commit details
    Browse the repository at this point in the history
  9. rlp: minor optimizations for slice/array encoding (ethereum#23467)

    As per benchmark results below, these changes speed up encoding/decoding of
    consensus objects a bit.
    
        name                             old time/op    new time/op    delta
        EncodeRLP/legacy-header-8           384ns ± 1%     331ns ± 3%  -13.83%  (p=0.000 n=7+8)
        EncodeRLP/london-header-8           411ns ± 1%     359ns ± 2%  -12.53%  (p=0.000 n=8+8)
        EncodeRLP/receipt-for-storage-8     251ns ± 0%     239ns ± 0%   -4.97%  (p=0.000 n=8+8)
        EncodeRLP/receipt-full-8            319ns ± 0%     300ns ± 0%   -5.89%  (p=0.000 n=8+7)
        EncodeRLP/legacy-transaction-8      389ns ± 1%     387ns ± 1%     ~     (p=0.099 n=8+8)
        EncodeRLP/access-transaction-8      607ns ± 0%     581ns ± 0%   -4.26%  (p=0.000 n=8+8)
        EncodeRLP/1559-transaction-8        627ns ± 0%     606ns ± 1%   -3.44%  (p=0.000 n=8+8)
        DecodeRLP/legacy-header-8           831ns ± 1%     813ns ± 1%   -2.20%  (p=0.000 n=8+8)
        DecodeRLP/london-header-8           824ns ± 0%     804ns ± 1%   -2.44%  (p=0.000 n=8+7)
    
    * rlp: pass length to byteArrayBytes
    
    This makes it possible to inline byteArrayBytes. For arrays, the length is known
    at encoder construction time, so the call to v.Len() can be avoided.
    
    * rlp: avoid IsNil for pointer encoding
    
    It's actually cheaper to use Elem first, because it performs less checks
    on the value. If the pointer was nil, the result of Elem is 'invalid'.
    
    * rlp: minor optimizations for slice/array encoding
    
    For empty slices/arrays, we can avoid storing a list header entry in the
    encoder buffer. Also avoid doing the tail check at encoding time because
    it is already known at encoder construction time.
    fjl authored Aug 25, 2021
    Configuration menu
    Copy the full SHA
    32c576b View commit details
    Browse the repository at this point in the history
  10. cmd/devp2p/internal/ethtest: remove WriteTo method (ethereum#23379)

    WriteTo is unused, and go vet warns about it because it
    doesn't match the usual signature of the io.WriterTo method.
    baptiste-b-pegasys authored Aug 25, 2021
    Configuration menu
    Copy the full SHA
    154b525 View commit details
    Browse the repository at this point in the history
  11. rpc: add BlockNumber.MarshalText (ethereum#23324)

    Currently rpc.BlockNumber is marshalled to JSON as a numeric value, which is
    wrong because BlockNumber.UnmarshalJSON() wants it to either be hex-encoded
    or string "earliest"/"latest"/"pending". As a result, the call chain
    
        rpc.BlockNumberOrHashWithNumber(123) -> json.Marshal() -> json.Unmarshal()
    
    fails with error "cannot unmarshal object into Go value of type string".
    zenovich authored Aug 25, 2021
    Configuration menu
    Copy the full SHA
    7c4cad0 View commit details
    Browse the repository at this point in the history
  12. build: stop publishing deb packages for Ubuntu 20.10 Groovy Gorilla (e…

    …thereum#23470)
    
    Support for this Ubuntu release has ended on July 22 2021 and
    Launchpad no longer accepts uploads for it.
    fjl authored Aug 25, 2021
    Configuration menu
    Copy the full SHA
    d584e39 View commit details
    Browse the repository at this point in the history
  13. node: remove dependency on wallet backend packages (ethereum#23019)

    * accounts: new AddBackends method in manager
    
    * node,cmd/geth: mv accman backend init to cmd/geth
    
    * node,cmd/geth: mv scrypt config downstreawm from node
    
    * accounts: use static buffer size for accman sub chan
    
    minor fix
    
    * accounts,cmd/geth: update accman backends through its event loop
    
    * accounts,node: add comments
    
    * accounts: un-export newBackendEvent
    
    * accounts: use chan instead of wg in newBlockEvent
    
    * node: rename isKeyDirEphem
    
    * accounts,cmd: AddBackends->AddBackend
    
    * accounts: fix potential blocking when adding backend
    s1na authored Aug 25, 2021
    Configuration menu
    Copy the full SHA
    108eec3 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2021

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

Commits on Aug 27, 2021

  1. internal/ethapi: support both input and data for personal_sendTransac…

    …tion (ethereum#23476)
    
    Currently, setDefaults overwrites the transaction input value if only input is provided. This causes personal_sendTransaction to estimate the gas based on a transaction with empty data. eth_estimateGas never calls setDefaults so it was unaffected by this.
    lightclient authored Aug 27, 2021
    Configuration menu
    Copy the full SHA
    ffae204 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. core/vm: rework jumpdest analysis benchmarks (ethereum#23499)

    * core/vm: rework jumpdest analysis benchmarks
    
    For BenchmarkJumpdestOpAnalysis use fixed code size of ~1.2MB
    and classic benchmark loop.
    
    * core/vm: clear bitvec in jumpdest analysis benchmark
    chfast authored Aug 30, 2021
    Configuration menu
    Copy the full SHA
    3258211 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2021

  1. Configuration menu
    Copy the full SHA
    f85cf72 View commit details
    Browse the repository at this point in the history
  2. core: fix typo in iterator.go (ethereum#23502)

    strorage -> storage
    eltociear authored Aug 31, 2021
    Configuration menu
    Copy the full SHA
    31be5d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d019e90 View commit details
    Browse the repository at this point in the history
  4. core: fix race conditions in txpool (ethereum#23474)

    * core: fix race conditions in txpool
    
    * core: fixed races in the txpool
    
    * core: rebased on master
    
    * core: move reheap mutex
    
    * core: renamed mutex
    
    * core: revert Reheap changes
    MariusVanDerWijden authored Aug 31, 2021
    Configuration menu
    Copy the full SHA
    067084f View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

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

Commits on Sep 7, 2021

  1. trie: add missing copyright header (ethereum#23530)

    * Add missing copyright header
    
    * Update stacktrie_test.go
    
    Co-authored-by: Péter Szilágyi <[email protected]>
    aaronbuchwald and karalabe authored Sep 7, 2021
    Configuration menu
    Copy the full SHA
    de2c44a View commit details
    Browse the repository at this point in the history
  2. docs: add post-mortem (ethereum#23518)

    * docs: add post-mortem
    
    * Update docs/postmortems/2021-08-22-split-postmortem.md
    
    Co-authored-by: Sina Mahmoodi <[email protected]>
    
    * Update docs/postmortems/2021-08-22-split-postmortem.md
    
    Co-authored-by: Sina Mahmoodi <[email protected]>
    
    * Update docs/postmortems/2021-08-22-split-postmortem.md
    
    Co-authored-by: Sina Mahmoodi <[email protected]>
    
    * Update docs/postmortems/2021-08-22-split-postmortem.md
    
    * Update 2021-08-22-split-postmortem.md
    
    * Update docs/postmortems/2021-08-22-split-postmortem.md
    
    Co-authored-by: Sina Mahmoodi <[email protected]>
    
    Co-authored-by: Sina Mahmoodi <[email protected]>
    holiman and s1na authored Sep 7, 2021
    Configuration menu
    Copy the full SHA
    7957530 View commit details
    Browse the repository at this point in the history
  3. internal/debug: remove deprecated flags (ethereum#23368)

    * internal/debug: remove deprecated flags
    
    The removed flags are removed in the main portion of geth, this removes it internally too.
    
    * internal/debug: remove legacy --debug and legacy --backtrace flag
    
    * Update flags.go
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    Zachinquarantine and holiman authored Sep 7, 2021
    Configuration menu
    Copy the full SHA
    ca5bc67 View commit details
    Browse the repository at this point in the history
  4. cmd/geth, cmd/utils: remove legacy rpc flags (ethereum#23358)

    * remove rpc flags
    
    * remove legacy rpc flags
    
    * remove legacy rpc flags
    
    * remove legacy rpc commands
    
    * (hopefully) fix most of the build errors
    
    * fix build errors
    
    https://app.travis-ci.com/github/ethereum/go-ethereum/jobs/530318686
    
    * cmd/utils: fix syntax error
    
    * empty commit to unbreak travis ci
    
    * fix syntax error
    
    * syntax fixes
    
    * syntax fixes
    
    * fix
    
    fixes "cmd/geth/usage.go:234:7: expected '(', found init (typecheck)"
    
    * fix
    
    * various fixes in usage.go
    
    * various fixes in flags.go
    
    * adds extra space
    
    reverts the spacing to how it was before I resolved the merge conflict
    
    * more fixes in usage.go
    
    * fix
    
    fix for cmd/geth/usage.go:243:17: expected operand, found ':=' (typecheck) in travis
    
    * Update cmd/utils/flags.go
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    
    * fix error
    
     fixes these errors:
    cmd/utils/flags_legacy.go:21:2: "strings" imported but not used (typecheck)
    
    	"strings"
    
    	^
    
    cmd/utils/flags_legacy.go:24:2: "github.com/ethereum/go-ethereum/node" imported but not used (typecheck)
    
    	"github.com/ethereum/go-ethereum/node"
    
    	^
    
    * goimports
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    Zachinquarantine and holiman authored Sep 7, 2021
    Configuration menu
    Copy the full SHA
    9a0df80 View commit details
    Browse the repository at this point in the history
  5. core/rawdb: freezer batch write (ethereum#23462)

    This change is a rewrite of the freezer code.
    
    When writing ancient chain data to the freezer, the previous version first encoded each
    individual item to a temporary buffer, then wrote the buffer. For small item sizes (for
    example, in the block hash freezer table), this strategy causes a lot of system calls for
    writing tiny chunks of data. It also allocated a lot of temporary []byte buffers.
    
    In the new version, we instead encode multiple items into a re-useable batch buffer, which
    is then written to the file all at once. This avoids performing a system call for every
    inserted item.
    
    To make the internal batching work, the ancient database API had to be changed. While
    integrating this new API in BlockChain.InsertReceiptChain, additional optimizations were
    also added there.
    
    Co-authored-by: Felix Lange <[email protected]>
    holiman and fjl authored Sep 7, 2021
    Configuration menu
    Copy the full SHA
    794c613 View commit details
    Browse the repository at this point in the history
  6. p2p/enode: use unix timestamp as base ENR sequence number (ethereum#1…

    …9903)
    
    This PR ensures that wiping all data associated with a node (apart from its nodekey)
    will not generate already used sequence number for the ENRs, since all remote nodes
    would reject them until they out-number the previously published largest one.
    
    The big complication with this scheme is that every local update to the ENR can
    potentially bump the sequence number by one. In order to ensure that local updates
    do not outrun the clock, the sequence number is a millisecond-precision timestamp,
    and updates are throttled to occur at most once per millisecond.
    
    Co-authored-by: Felix Lange <[email protected]>
    karalabe and fjl authored Sep 7, 2021
    Configuration menu
    Copy the full SHA
    6ef3a16 View commit details
    Browse the repository at this point in the history
  7. core: make txPricedList.stales the first field for 64bit alignment (e…

    …thereum#23542)
    
    This fixes crashes on 32bit builds.
    fjl authored Sep 7, 2021
    Configuration menu
    Copy the full SHA
    51ed39c View commit details
    Browse the repository at this point in the history
  8. core: 64bit alignment of testBlockChain.gasLimit (ethereum#23543)

    This fixes crashes in txpool tests on 32bit platforms.
    fjl authored Sep 7, 2021
    Configuration menu
    Copy the full SHA
    5c1fc3b View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

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

Commits on Sep 10, 2021

  1. Configuration menu
    Copy the full SHA
    9e17648 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ethereum#23561 from karalabe/temp-split-leseh

    les: duplicate downloader and fetcher to allow progressive refactoring
    karalabe authored Sep 10, 2021
    Configuration menu
    Copy the full SHA
    9ada4a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2021

  1. README: add londonBlock to example genesis config (ethereum#23565)

    Updated example genesis.json configuration section, added londonBlock within config.
    verheesj authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    578bc81 View commit details
    Browse the repository at this point in the history
  2. cmd/evm: transaction validation tool (ethereum#23494)

    * cmd/evm: transaction validation tool
    
    * cmd/evm: add hash to t9n tool
    
    * cmd/evm: lint nits
    
    * cmd/evm: nitpicks
    holiman authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    babe9b9 View commit details
    Browse the repository at this point in the history
  3. core, rpc: disable memory output by default in traces (ethereum#23558)

    * core: cmd: invert disableMemory
    
    * core: fix missed inversion
    
    * cmd/evm: preserve Flags but change default value
    
    * Apply suggestions from code review
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    MariusVanDerWijden and holiman authored Sep 13, 2021
    Configuration menu
    Copy the full SHA
    b8d7c66 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2021

  1. cmd/devp2p/internal/ethtest: only use eth66 if eth66 is negotiated (e…

    …thereum#23568)
    
    * cmd/devp2p/internal/ethtest: only use eth66 if eth66 is negotiated
    
    * cmd/devp2p/internal/ethtest: switch on concrete type not pointer
    
    * cmd/devp2p/internal/ethtest: switch on concrete type not pointer
    MariusVanDerWijden authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    84ff152 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

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

Commits on Sep 17, 2021

  1. core,eth: call frame tracing (ethereum#23087)

    This change introduces 2 new optional methods; `enter()` and `exit()` for js tracers, and makes `step()` optiona. The two new methods are invoked when entering and exiting a call frame (but not invoked for the outermost scope, which has it's own methods). Currently these are the data fields passed to each of them:
    
        enter: type (opcode), from, to, input, gas, value
        exit: output, gasUsed, error
    
    The PR also comes with a re-write of the callTracer. As a backup we keep the previous tracing script under the name `callTracerLegacy`. Behaviour of both tracers are equivalent for the most part, although there are some small differences (improvements), where the new tracer is more correct / has more information.
    s1na authored Sep 17, 2021
    Configuration menu
    Copy the full SHA
    4013549 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2021

  1. ethclient, accounts/keystore: fix flaky tests (ethereum#23599)

    * ethclient/gethclient: fix flaky test (due to map key ordering)
    
    * accounts/keystore: fix test failing due to rand collision due to low time resolution on windows
    holiman authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    1b34283 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62e3b83 View commit details
    Browse the repository at this point in the history
  3. internal: support optional filter expression for debug.stacks (ethere…

    …um#23605)
    
    * internal: support optional filter expression for debug.stacks
    
    * internal/debug: fix string regexp
    
    * internal/debug: support searching for line numbers too
    karalabe authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    e28f713 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9bf495b View commit details
    Browse the repository at this point in the history
  5. Merge pull request ethereum#23609 from karalabe/regex-fix

    internal/debug: make gosimple linter happy
    karalabe authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    86f3625 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5b246af View commit details
    Browse the repository at this point in the history
  7. Merge pull request ethereum#23610 from karalabe/gomod-tify

    go.mod: fix module file to prevent go from updating it during build
    karalabe authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    b1a5e4a View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. console: add note about typing exit to exit (ethereum#23602)

    * add explicit note about typing exit in console
    
    * Add note about typing exit as alternative
    thadguidry authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    d8211c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b61ef24 View commit details
    Browse the repository at this point in the history
  3. rpc: set scheme for ws and ipc conns to the server (ethereum#23615)

    * rpc: set scheme for ws and ipc conns to the server
    
    * rpc: review fixes
    
    * rpc: bugfix
    
    * rpc: empty default scheme
    s1na authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    ca9bce9 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

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

Commits on Sep 27, 2021

  1. rpc: set pong read deadline (ethereum#23556)

    This PR adds a 30s timeout for the remote part to answer a ping message, thus detecting (silent) disconnnects
    jmank88 authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    51ececb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12674d4 View commit details
    Browse the repository at this point in the history
  3. eth/tracers: re-write of 4byte tracer using enter/exit (ethereum#23622)

    * eth/tracers: add re-write of 4byte tracer using enter/exit
    
    * eth/tracers: fix 4byte indent
    s1na authored Sep 27, 2021
    Configuration menu
    Copy the full SHA
    ac7baea View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. core/state: move state account to core/types + abstracted "write acco…

    …unt to trie" (ethereum#23567)
    
    * core/state: abstracted "write account to trie" method
    
    * fix appveyor build
    
    * Apply suggestions from code review
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    
    * review feedback
    
    * core/state/accounts: move Account to core/types
    
    * core/types: rename Account -> StateAccount
    
    * core/state: restore EncodeRLP for stateObject
    
    * core/types: add the missing file
    
    * more review feedback
    
    * more review feedback
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    Co-authored-by: Felix Lange <[email protected]>
    3 people authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    443afc9 View commit details
    Browse the repository at this point in the history
  2. eth/tracers: implement debug.intermediateRoots (ethereum#23594)

    This PR implements a new debug method, which I've talked briefly about to some other client developers. It allows the caller to obtain the intermediate state roots for a block (which might be either a canon block or a 'bad' block).
    holiman authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    ab2caae View commit details
    Browse the repository at this point in the history
  3. core/rawdb: avoid unnecessary receipt processing for log filtering (e…

    …thereum#23147)
    
    * core/types: rm extranous check in test
    
    * core/rawdb: add lightweight types for block logs
    
    * core/rawdb,eth: use lightweight accessor for log filtering
    
    * core/rawdb: add bench for decoding into rlpLogs
    s1na authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    783e97e View commit details
    Browse the repository at this point in the history
  4. accounts/abi/bind: check event signature before parsing (ethereum#23230)

    * accounts/abi/bind: check event signature before parsing
    
    * remove redundant break line
    yihau authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    92c5d10 View commit details
    Browse the repository at this point in the history
  5. eth/tracers: avoid unsyncronized mutations on trie database (ethereum…

    …#23632)
    
    This PR fixes an issue in traceChain, where the statedb Commit operation was performed asynchronously with dereference-operations agains the underlying trie.Database instance. Due to how the reference counting works within the trie database (where parent count is recursively updated when new parents are added), doing dereferencing in the middle of Commit can cause the refcount to become wrong, leading to an inconsistent state. 
    
    This was fixed by doing Commit/Deref from the same routine.
    holiman authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    3531ca2 View commit details
    Browse the repository at this point in the history
  6. eth/protocols/eth: simplify peer known block/txs caches (ethereum#23649)

    * Simplify peer known block/txns cache
    
    * Address minor changes
    
    * Add more minor comments
    
    * Minor changes from review
    ferranbt authored Sep 28, 2021
    Configuration menu
    Copy the full SHA
    a541fbe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    42bc194 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Configuration menu
    Copy the full SHA
    3a6fe69 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eae3b19 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06082fe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2491c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2021

  1. Configuration menu
    Copy the full SHA
    07a5bc1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ethereum#23670 from karalabe/get-header-rlp

    internal/ethapi: support retrieving header RLPs too
    karalabe authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    a47b8cf View commit details
    Browse the repository at this point in the history
  3. eth/tracers: fix callTracer fault handling (ethereum#23667)

    * eth/tracers: fix calltracer fault handling
    
    * eth/tracers: fix calltracer indentation
    s1na authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    b522f5e View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2021

  1. Configuration menu
    Copy the full SHA
    5240725 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ethereum#23677 from karalabe/canon-rlp-fetcher

    internal/ethapi: make header/block rlp retrieval canonical
    karalabe authored Oct 3, 2021
    Configuration menu
    Copy the full SHA
    01fdca5 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. Configuration menu
    Copy the full SHA
    12f971f View commit details
    Browse the repository at this point in the history
  2. eth/filters: fix TestPendingLogsSubscription (ethereum#23619)

    The test did not synchronize with per-case goroutines, and thus didn't notice
    that some tests were just hanging. This change adds missing synchronization
    and fixes the broken tests.
    mirokuratczyk authored Oct 4, 2021
    Configuration menu
    Copy the full SHA
    5a0e1d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0dbb3b1 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. eth/api: add rpc method to obtain which states are accessible (ethere…

    …um#23646)
    
    This PR adds a method to the debug namespace, to iterate over the blocks and check where we have the roots on disk.
    holiman authored Oct 5, 2021
    Configuration menu
    Copy the full SHA
    307156c View commit details
    Browse the repository at this point in the history
  2. go.mod: upgrade github.com/karalable/usb (ethereum#23684)

    This update includes fixes for the *BSD build and go module vendoring.
    fjl authored Oct 5, 2021
    Configuration menu
    Copy the full SHA
    57ff2de View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. core/types: copy tx recipient address (ethereum#23376)

    This resolves a long-standing TODO. The point of copying the address is
    to ensure that all data referenced by types.Transaction is independent of the
    data passed into the constructor.
    
    Co-authored-by: Felix Lange <[email protected]>
    aaronbuchwald and fjl authored Oct 6, 2021
    Configuration menu
    Copy the full SHA
    4e599ee View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. core: improve shutdown synchronization in BlockChain (ethereum#22853)

    This change removes misuses of sync.WaitGroup in BlockChain. Before this change,
    block insertion modified the WaitGroup counter in order to ensure that Stop would wait
    for pending operations to complete. This was racy and could even lead to crashes
    if Stop was called at an unfortunate time. The issue is resolved by adding a specialized
    'closable' mutex, which prevents chain modifications after stopping while also
    synchronizing writers with each other.
    
    Co-authored-by: Felix Lange <[email protected]>
    holiman and fjl authored Oct 7, 2021
    Configuration menu
    Copy the full SHA
    edb1937 View commit details
    Browse the repository at this point in the history
  2. internal/ethapi: use correct signer when serving old blocks (ethereum…

    …#23683)
    
    Fixes ethereum#23681
    
    After the fix I get the address 0x6d6d02e83c4ced98204e20126acf27e9d87b8af2 for the
    tx mentioned in the ticket, which agrees with etherscan.
    s1na authored Oct 7, 2021
    Configuration menu
    Copy the full SHA
    48496e0 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Configuration menu
    Copy the full SHA
    ec2b43c View commit details
    Browse the repository at this point in the history
  2. build: upgrade -dlgo version to 1.17.2 (ethereum#23698)

    Go 1.17.2 fixes some miscompilation issues on amd64 and a runtime issue with timers.
    While the upgrade is not strictly necessary for go-ethereum right now, it is still good
    to be up-to-date.
    fjl authored Oct 8, 2021
    Configuration menu
    Copy the full SHA
    2fe0c65 View commit details
    Browse the repository at this point in the history
  3. eth: close miner on exit (instead of just stopping) (ethereum#21992)

    This ensures that all miner goroutines have exited before stopping the blockchain. 
    
    Co-authored-by: Felix Lange <[email protected]>
    holiman and fjl authored Oct 8, 2021
    Configuration menu
    Copy the full SHA
    28d30b5 View commit details
    Browse the repository at this point in the history
  4. miner: fix data race during shutdown (ethereum#23435)

    This fixes a data race on worker.current by moving the call to StopPrefetcher
    into the main loop.
    
    The commit also contains fixes for two other races in unit tests of unrelated packages.
    MariusVanDerWijden authored Oct 8, 2021
    Configuration menu
    Copy the full SHA
    ee120ef View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2021

  1. miner/stress: initialize account backends explicitly (ethereum#23699)

    node.Node no longer registers any account manager backends by default,
    they need to be registered explicitly.
    
    For ethash-based tests, we actually don't need any accounts in the miner
    keystore. Just set the etherbase instead to make mining work. For
    clique, the signer account must be in the keystore.
    
    The change also adds interrupt handling in stress tests.
    fjl authored Oct 9, 2021
    Configuration menu
    Copy the full SHA
    1bea4b0 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2021

  1. internal/jsre: handle null and undefined to prevent crash (ethereum#2…

    …3701)
    
    This prevents the console from crashing when auto-completing on
    a variable or property that is null or undefined.
    
    Fixes ethereum#23693
    aditya520 authored Oct 10, 2021
    Configuration menu
    Copy the full SHA
    a6a0609 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84bccd0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcbd700 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2021

  1. Configuration menu
    Copy the full SHA
    8a430fb View commit details
    Browse the repository at this point in the history
  2. cmd/evm: stricter transaction validation (ethereum#23694)

    * cmd/evm: t9n: validate transaction intrinsic gas
    
    * cmd/evm: t9n: stricter tx validation
    holiman authored Oct 11, 2021
    Configuration menu
    Copy the full SHA
    64da037 View commit details
    Browse the repository at this point in the history
  3. build: increase C thread stack size on linux (ethereum#23676)

    * build: increase thread stack size when running alpine linux
    
    * review feedback: force a stack size of 8M on all linux distribs
    
    * fix missing extldflags
    gballet authored Oct 11, 2021
    Configuration menu
    Copy the full SHA
    8b6e018 View commit details
    Browse the repository at this point in the history
  4. params: changed CatalystBlock to TerminalTotalDifficulty (ethereum#23700

    )
    
    * params: changed CatalystBlock to TerminalTotalDifficulty
    
    * eth/catalyst: comment out unused code
    MariusVanDerWijden authored Oct 11, 2021
    Configuration menu
    Copy the full SHA
    53b1420 View commit details
    Browse the repository at this point in the history
  5. les/vflux/server: fix metrics (ethereum#22946)

    * les/vflux/server: fix metrics
    
    * les/vflux/server: fix metrics
    rjl493456442 authored Oct 11, 2021
    Configuration menu
    Copy the full SHA
    088bc34 View commit details
    Browse the repository at this point in the history
  6. core: tests for forked blocks retrievable by hash (ethereum#23695)

    * Update tests to showcase that forked blocks can still be looked up by their hash
    mirokuratczyk authored Oct 11, 2021
    Configuration menu
    Copy the full SHA
    cf8a6d6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    da3da7c View commit details
    Browse the repository at this point in the history
  8. consensus/clique, core: API cleanup (ethereum#23100)

    This removes some code:
    
    - The clique engine calculated the snapshot twice when verifying headers/blocks.
    
    - The method GetBlockHashesFromHash in Header/Block/Lightchain was only used by tests. It
      is now removed from the API.
      
    - The method GetTdByHash internally looked up the number before calling GetTd(hash, num).
      In many cases, callers already had the number, and used this method just because it has a
      shorter name. I have removed the method to make the API surface smaller.
    holiman authored Oct 11, 2021
    Configuration menu
    Copy the full SHA
    6289137 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. Configuration menu
    Copy the full SHA
    3d11a22 View commit details
    Browse the repository at this point in the history
  2. eth,rpc: allow for flag configured timeouts for eth_call (ethereum#23645

    )
    
    * eth,rpc: allow for flag configured timeouts for eth_call
    
    * lint: account for package-local import order
    
    * cr: rename `rpc.calltimeout` to `rpc.evmtimeout`
    noam-alchemy authored Oct 12, 2021
    Configuration menu
    Copy the full SHA
    633e7ef View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2021

  1. go.mod: upgrade goja (ethereum#23721)

    This update adds support for some more ES6 functionality, notably
    arrow functions.
    fjl authored Oct 13, 2021
    Configuration menu
    Copy the full SHA
    f9d683b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4f570f View commit details
    Browse the repository at this point in the history
  3. all: fix some go-critic linter warnings (ethereum#23709)

    This doesn't fix all go-critic warnings, just the most serious ones.
    
    Co-authored-by: Felix Lange <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    3 people authored Oct 13, 2021
    Configuration menu
    Copy the full SHA
    778ff94 View commit details
    Browse the repository at this point in the history
  4. accounts/abi/bind: refactor transact method (ethereum#23719)

    This fixes a bug where gas-related fields of the TransactOpts passed
    to transaction methods would be modified, skipping gas estimation for
    subsequent transactions.
    
    Co-authored-by: Yondon Fu <[email protected]>
    Co-authored-by: Felix Lange <[email protected]>
    3 people authored Oct 13, 2021
    Configuration menu
    Copy the full SHA
    79b727b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    011fe3e View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. accounts/abi: add basic support for error types (ethereum#23161)

    This is the initial step for support of Solidity errors in contract bindings.
    As of this change, errors can be decoded, but are not supported in
    bindings yet.
    
    Closes ethereum#23157
    MariusVanDerWijden authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    08e782c View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. core/state/snapshot: fix data race in layer flattening (ethereum#23628)

    * core/state/snapshot: fix data race in layer flattening
    
    * core/state/snapshot: fix typo
    rjl493456442 authored Oct 15, 2021
    Configuration menu
    Copy the full SHA
    f915f68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb74230 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    464885f View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2021

  1. Configuration menu
    Copy the full SHA
    c641cff View commit details
    Browse the repository at this point in the history
  2. cmd/geth: support string (non-hex) keys in db get/put/delete (ethereu…

    …m#23744)
    
    Adds suppor for passing regular strings to db `put`/`get`/`delete`, to avoid having to hex-encode when operating on fixed-key items like `SnapshotSyncStatus`, `SnapshotRecovery`  etc.
    
    
    Signed-off-by: Maxim Zhiburt <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    zhiburt and holiman authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    eaa24a8 View commit details
    Browse the repository at this point in the history
  3. cmd/rlpdump: add support for text to rlp (ethereum#23745)

    This PR adds support for the rlpdump tool to go from text format to RLP.
    holiman authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    b8dc1e2 View commit details
    Browse the repository at this point in the history
  4. internal/ethapi: fix recover sender of pending transaction (ethereum#…

    …23765)
    
    * internal/ethapi: fix recover sender of pending transaction
    
    * internal/ethapi: check if current exists
    MariusVanDerWijden authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    433f091 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c36f8fe View commit details
    Browse the repository at this point in the history
  6. cmd/puppeth: use geth's prompt to read input (ethereum#23718)

    * cmd/puppeth: use geth's prompt to read input
    
    * remove wizard.in
    
    * cmd/puppeth: fix compilation errors
    
    * reset prompt (don't exit) on receiving ctrl-c
    
    * make promptInput spin until the user enters a value or interrupts (ctrl-d)
    
    * make promptInput use parameter
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    jwasinger and holiman authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    60d3cc8 View commit details
    Browse the repository at this point in the history
  7. eth/fetcher: remove superfluous nilness-check (ethereum#23739)

    * eth/fetcher: fix nilness check ethereum#23738
    
    * eth/fetcher: Use errors.Is. PR feedback from @holiman.
    prestonvanloon authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    b97f578 View commit details
    Browse the repository at this point in the history
  8. cmd/utils: update gpo.maxprice flag description (ethereum#23758)

    * cmd/utils: update flag description
    
    * Update cmd/utils/flags.go
    
    Co-authored-by: unkonwn-coder <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    3 people authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    554b1b9 View commit details
    Browse the repository at this point in the history
  9. cmd/evm: add 256-bit field validations on transactions (t9n) (ethereu…

    …m#23743)
    
    * cmd/evm: add 256-bit field validations on transactions (t9n)
    
    * cmd/evm: validate gas*gasPrice, return intrinsic gas usage
    
    * cmd/evm: address review comment
    holiman authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    84d8eb2 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2021

  1. all: fix warning flagging the use of DeepEqual on error (ethereum#23624)

    * core: fix warning flagging the use of DeepEqual on error
    
    * apply the same change everywhere possible
    
    * revert change that was committed by mistake
    
    * fix build error
    
    * Update config.go
    
    * revert changes to ConfigCompatError
    
    * review feedback
    
    Co-authored-by: Felix Lange <[email protected]>
    gballet and fjl authored Oct 19, 2021
    Configuration menu
    Copy the full SHA
    0183256 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. core/state/snapshot: fix BAD BLOCK error when snapshot is generating (e…

    …thereum#23635)
    
    * core/state/snapshot: fix BAD BLOCK error when snapshot is generating
    
    * core/state/snapshot: alternative fix for the snapshot generator
    
    * add comments and minor update
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    zzyalbert and holiman authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    312e02b View commit details
    Browse the repository at this point in the history
  2. params: update version

    holiman committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    f423290 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da1b6f3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7231b3e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    114ed3e View commit details
    Browse the repository at this point in the history
  6. ethclient: fix typo (ethereum#23778)

    Harry Dutton authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    3ce9f6d View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. accounts/abi/bind: fix error handling in baseFee query (ethereum#23781)

    This fixes a panic that occurs when HeaderByNumber() returns an error.
    kibgzr authored Oct 21, 2021
    Configuration menu
    Copy the full SHA
    b6fb184 View commit details
    Browse the repository at this point in the history
  2. common/hexutil: improve performance of EncodeBig (ethereum#23780)

    - use Text instead of fmt.Sprintf
    - reduced allocs from 6 to 2
    - improved speed
    lmittmann authored Oct 21, 2021
    Configuration menu
    Copy the full SHA
    2954f40 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. core/rawdb, ethdb: introduce batched/atomic reads from ancients (ethe…

    …reum#23566)
    
    This PR adds a new accessor method to the freezer database. This new view offers a consistent interface, guaranteeing that all individual tables (headers, bodies etc) are all on the same number, and that this number is not changes (added/truncated) while the operation is performing.
    holiman authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    0e7efd6 View commit details
    Browse the repository at this point in the history
  2. build: remove xgo cross-builds (ethereum#23800)

    xgo is not maintained at this time, so none of these builds work.
    
    Closes ethereum#23784
    jwasinger authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    48dc34b View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. core: use block difficulty for genesis (ethereum#23793)

    * core: write test showing that TD is not stored properly at genesis
    
    The ToBlock method applies a default value for an empty
    difficulty value. This default is not carried over through the Commit
    method because the TotalDifficulty database write writes the
    original difficulty value (nil) instead of the defaulty value
    present on the genesis Block.
    
    Date: 2021-10-22 08:25:32-07:00
    Signed-off-by: meows <[email protected]>
    
    * core: write TD value from Block, not original genesis value
    
    This an issue where a default TD value was not written to
    the database, resulting in a 0 value TD at genesis.
    
    A test for this issue was provided at 90e3ffd
    
    Date: 2021-10-22 08:28:00-07:00
    Signed-off-by: meows <[email protected]>
    
    * core: fix tests by adding GenesisDifficulty to expected result
    
    See prior two commits.
    
    Date: 2021-10-22 09:16:01-07:00
    Signed-off-by: meows <[email protected]>
    
    * les: fix test with genesis change
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    meowsbits and holiman authored Oct 26, 2021
    Configuration menu
    Copy the full SHA
    c72b16c View commit details
    Browse the repository at this point in the history
  2. ethdb: more accurate batch size calculation (ethereum#23790)

    This PR also counts the size of the key when calculating the size of a db batch
    rjl493456442 authored Oct 26, 2021
    Configuration menu
    Copy the full SHA
    53f8157 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    526c3f6 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2021

  1. core: fix benchmark tests (ethereum#23803)

    Fixes crashes in various benchmarks in the core package
    holiman authored Oct 27, 2021
    Configuration menu
    Copy the full SHA
    eab4d89 View commit details
    Browse the repository at this point in the history
  2. cmd/evm: handle rlp errors in t9n (ethereum#23771)

    * cmd/evm: handle rlp errors in t9n
    
    * cmd/evm/testdata: fix readme
    holiman authored Oct 27, 2021
    Configuration menu
    Copy the full SHA
    52c02cc View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

  1. Configuration menu
    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 authored Oct 28, 2021
    Configuration menu
    Copy the full SHA
    32150f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2021

  1. 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 authored Oct 29, 2021
    Configuration menu
    Copy the full SHA
    31870a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. optimize the judge of invalide notification.number (ethereum#22658)

    Don't bother fetching genesis
    
    Co-authored-by: wuff1996 <[email protected]>
    r1cs and r1cs authored Oct 31, 2021
    Configuration menu
    Copy the full SHA
    410e731 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. Configuration menu
    Copy the full SHA
    57c252e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c113520 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff84491 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e4becb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c2e64db View commit details
    Browse the repository at this point in the history
  6. 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 <[email protected]>
    Co-authored-by: Martin Holst Swende <[email protected]>
    3 people authored Nov 1, 2021
    Configuration menu
    Copy the full SHA
    c576fa1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    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 authored Nov 2, 2021
    Configuration menu
    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 <[email protected]>
    holiman and fjl authored Nov 2, 2021
    Configuration menu
    Copy the full SHA
    178debe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    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 <[email protected]>
    holiman and WeiLoy authored Nov 2, 2021
    Configuration menu
    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 authored Nov 4, 2021
    Configuration menu
    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 authored Nov 4, 2021
    Configuration menu
    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 <[email protected]>
    
    * 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 <[email protected]>
    
    * 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 <[email protected]>
    s1na and holiman authored Nov 5, 2021
    Configuration menu
    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 authored Nov 5, 2021
    Configuration menu
    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 authored Nov 8, 2021
    Configuration menu
    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 authored Nov 8, 2021
    Configuration menu
    Copy the full SHA
    e1c000b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e61b8cb View commit details
    Browse the repository at this point in the history
  4. Merge pull request ethereum#23868 from karalabe/cht-1.10.12

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

    params: update Ropsten CHT too
    karalabe authored Nov 8, 2021
    Configuration menu
    Copy the full SHA
    851256e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    787a3b1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6c4dc6c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ad11691 View commit details
    Browse the repository at this point in the history
  10. 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 authored Nov 8, 2021
    Configuration menu
    Copy the full SHA
    9489853 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2021

  1. 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 <[email protected]>
    holiman and s1na authored Nov 9, 2021
    Configuration menu
    Copy the full SHA
    6b9c77f View commit details
    Browse the repository at this point in the history
  2. 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 authored Nov 9, 2021
    Configuration menu
    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 authored Nov 10, 2021
    Configuration menu
    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 authored Nov 10, 2021
    Configuration menu
    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 authored Nov 11, 2021
    Configuration menu
    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 authored Nov 11, 2021
    Configuration menu
    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 <[email protected]>
    meowsbits authored Nov 11, 2021
    Configuration menu
    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 <[email protected]>
    
    * Update eth/tracers/native/4byte.go
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    
    * goimports
    
    * eth/tracers: make 4byte tracer not care about create
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    wardbradt and holiman authored Nov 11, 2021
    Configuration menu
    Copy the full SHA
    e9294a7 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. 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 authored Nov 12, 2021
    Configuration menu
    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 authored Nov 16, 2021
    Configuration menu
    Copy the full SHA
    b0b708b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    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 authored Nov 16, 2021
    Configuration menu
    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 <[email protected]>
    jessetane and holiman authored Nov 16, 2021
    Configuration menu
    Copy the full SHA
    33f2813 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. Configuration menu
    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 <[email protected]>
    PlasmaPower and fjl authored Nov 17, 2021
    Configuration menu
    Copy the full SHA
    16341e0 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

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

Commits on Nov 19, 2021

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

Commits on Nov 22, 2021

  1. Configuration menu
    Copy the full SHA
    e076143 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f2c3f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    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 authored Nov 22, 2021
    Configuration menu
    Copy the full SHA
    441c7f2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    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 authored Nov 22, 2021
    Configuration menu
    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 authored Nov 23, 2021
    Configuration menu
    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 authored Nov 23, 2021
    Configuration menu
    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 authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    347c37b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d15e423 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    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 authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    7322b25 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 authored Nov 24, 2021
    Configuration menu
    Copy the full SHA
    0a7672f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a0c19f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    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 authored Nov 24, 2021
    Configuration menu
    Copy the full SHA
    66ee942 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    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 authored Nov 24, 2021
    Configuration menu
    Copy the full SHA
    ad7c90c View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. core/vm, core/state/snapshot: remove unused code (ethereum#23956)

    * core/state/snapshot: remove wiper functionality
    
    * core/vm: remove unused 'unofficial' opcodes
    holiman authored Nov 25, 2021
    Configuration menu
    Copy the full SHA
    9055cc1 View commit details
    Browse the repository at this point in the history
  2. 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 authored Nov 25, 2021
    Configuration menu
    Copy the full SHA
    1876cb4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request ethereum#23967 from ipsilon/evm_jumptable_type

    core/vm: use proper JumpTable type
    karalabe authored Nov 25, 2021
    Configuration menu
    Copy the full SHA
    4ebeca1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    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 <[email protected]>
    Co-authored-by: Péter Szilágyi <[email protected]>
    3 people authored Nov 26, 2021
    Configuration menu
    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 authored Nov 26, 2021
    Configuration menu
    Copy the full SHA
    c10a0a6 View commit details
    Browse the repository at this point in the history
  3. all: implement EIP-compliant verkle trees

    verkle: Implement Trie, NodeIterator and Database ifs
    
    Fix crash in TestDump
    
    Fix TestDump
    
    Fix TrieCopy
    
    remove unnecessary traces
    
    fix: Error() returned errIteratorEnd in verkle node iterator
    
    rewrite the iterator and change the signature of OpenStorageTrie
    
    add the adapter to reuse the account trie for storage
    
    don't try to deserialize a storage leaf into an account
    
    Fix statedb unit tests (ethereum#14)
    
    * debug code
    
    * Fix more unit tests
    
    * remove traces
    
    * Go back to the full range
    
    One tree to rule them all
    
    remove updateRoot, there is no root to update
    
    store code inside the account leaf
    
    fix build
    
    save current state for Sina
    
    Update go-verkle to latest
    
    Charge WITNESS_*_COST gas on storage loads
    
    Add witness costs for SSTORE as well
    
    Charge witness gas in the case of code execution
    
    corresponding code deletion
    
    add a --verkle flag to separate verkle experiments from regular geth operations
    
    use the snapshot to get data
    
    stateless execution from block witness
    
    AccessWitness functions
    
    Add block generation test + genesis snapshot generation
    
    test stateless block execution (ethereum#18)
    
    * test stateless block execution
    
    * Force tree resolution before generating the proof
    
    increased coverage in stateless test execution (ethereum#19)
    
    * test stateless block execution
    
    * Force tree resolution before generating the proof
    
    * increase coverage in stateless test execution
    
    ensure geth compiles
    
    fix issues in tests with verkle trees deactivated
    
    Ensure stateless data is available when executing statelessly (ethereum#20)
    
    * Ensure stateless data is available when executing statelessly
    
    * Actual execution of a statless block
    
    * bugfixes in stateless block execution
    
    * code cleanup
    
     - Reduce PR footprint by reverting NewEVM to its original signature
     - Move the access witness to the block context
     - prepare for a change in AW semantics
       Need to store the initial values.
     - Use the touch helper function, DRY
    
    * revert the signature of MustCommit to its original form (ethereum#21)
    
    fix leaf proofs in stateless execution (ethereum#22)
    
    * Fixes in witness pre-state
    
    * Add the recipient's nonce to the witness
    
    * reduce PR footprint and investigate issue in root state calculation
    
    * quick build fix
    
    cleanup: Remove extra parameter in ToBlock
    
    revert ToBlock to its older signature
    
    fix import cycle in vm tests
    
    fix linter issue
    
    fix appveyor build
    
    fix nil pointers in tests
    
    Add indices, yis and Cis to the block's Verkle proof
    
    upgrade geth dependency to drop geth's common dep
    
    fix cmd/devp2p tests
    
    fix rebase issues
    
    quell an appveyor warning
    
    fix address touching in SLOAD and SSTORE
    
    fix access witness for code size
    
    touch target account data before calling
    
    make sure the proper locations get touched in (ext)codecopy
    
    touch all code pages in execution
    
    add pushdata to witness
    
    remove useless code in genesis snapshot generation
    
    testnet: fix some of the rebase/drift issues
    
    Fix verkle proof generation in block
    
    fix an issue occuring when chunking past the code size
    
    fix: ensure the code copy doesn't extend past the code size
    gballet committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    1627805 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    719bf47 View commit details
    Browse the repository at this point in the history
  5. fixes for the IPA testnet

    upgrade to latest go-verkle
    
    update go-verkle to get more fixes
    
    simplify code by removing all stateless references (ethereum#25)
    
    fix verkle proof test by enforcing values alignment to 32 bytes
    
    remove unneeded KZG tag
    
    fix the stateless test
    
    Move AccessWitness into StateDB (ethereum#27)
    
    * move AccessWitness into StateDB
    
    * set Accesses in TxContext constructor
    
    * Ensures that a statedb is initialized with a witness
    
    * copy AccessWitness in StateDB.Copy.  use copied state in miner worker.commit.
    
    * remove redundant line
    
    Co-authored-by: Guillaume Ballet <[email protected]>
    
    Fix contract creation issue
    gballet committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    9f9c03a View commit details
    Browse the repository at this point in the history
  6. enable verkle on cancun block: take 2 (ethereum#28)

    * enable verkle on cancun block: take 2
    
    * fix typo.  make unreachable line panic message more clear
    jwasinger authored and gballet committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    97a79f5 View commit details
    Browse the repository at this point in the history
  7. fix rebase issues

    gballet committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    bc06d2c View commit details
    Browse the repository at this point in the history
  8. fix linter issue

    gballet committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    e114474 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ef08e51 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    15d9860 View commit details
    Browse the repository at this point in the history
  11. fix boundary check in PUSH

    gballet committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    5ca9901 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6d40e11 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    03dbc0a View commit details
    Browse the repository at this point in the history
  14. add circleci support (ethereum#32)

    * add circleci support
    
    * disable linter, which is broken again
    
    * actually run tests
    gballet committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    7cb1add View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    41c2f75 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    361a328 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7360d16 View commit details
    Browse the repository at this point in the history
  18. use the witness in statedb, revert applyTx signature (ethereum#36)

    * use the witness in statedb, revert applyTx signature
    
    * fix miner tests
    
    * fix catalyst build
    gballet committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    909049c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    86bdc3f View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

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

Commits on Dec 6, 2021

  1. remove outdated comment

    gballet committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    fe75603 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2021

  1. miner: embed verkle proof in sealing block (ethereum#39)

    * miner: embed verkle proof in sealing block
    
    * add test to ensure that verkle proof is present in mined blocks
    jwasinger authored Dec 7, 2021
    Configuration menu
    Copy the full SHA
    6af78cb View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. make push dynamically-charged. charge witness gas costs for push. ref…

    …actor evm witness gas charging to move logic for touching a range of bytecode into a helper method 'touchEachChunksAndChargeGas'
    jwasinger committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    b2edbf1 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Configuration menu
    Copy the full SHA
    3b7edd8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf38ac5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bf2e6e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c89d465 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    34ff553 View commit details
    Browse the repository at this point in the history
  6. some fixes

    jwasinger committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    d38f6b9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c4d898b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e3d935d View commit details
    Browse the repository at this point in the history
  9. (hopefully) fix tests

    jwasinger committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    c08aa4e View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. Configuration menu
    Copy the full SHA
    c54a54b View commit details
    Browse the repository at this point in the history
  2. charge witness gas for call

    jwasinger committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    a834f72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    155949a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c05fd7a View commit details
    Browse the repository at this point in the history