-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
upstream: Prague code merge [v1.13.15, v1.14.11] #2753
Commits on Jun 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 125fb1f - Browse repository at this point
Copy the full SHA 125fb1fView commit details
Commits on Jun 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5550d83 - Browse repository at this point
Copy the full SHA 5550d83View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc40d68 - Browse repository at this point
Copy the full SHA fc40d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for e85e21c - Browse repository at this point
Copy the full SHA e85e21cView commit details -
core/rawdb: remove unused deriveLogFields (#29913)
Co-authored-by: Gary Rong <garyrong0905@gmail.com> Co-authored-by: Martin HS <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for d09ddac - Browse repository at this point
Copy the full SHA d09ddacView commit details -
p2p: use netip.Addr where possible (#29891)
enode.Node was recently changed to store a cache of endpoint information. The IP address in the cache is a netip.Addr. I chose that type over net.IP because it is just better. netip.Addr is meant to be used as a value type. Copying it does not allocate, it can be compared with ==, and can be used as a map key. This PR changes most uses of Node.IP() into Node.IPAddr(), which returns the cached value directly without allocating. While there are still some public APIs left where net.IP is used, I have converted all code used internally by p2p/discover to the new types. So this does change some public Go API, but hopefully not APIs any external code actually uses. There weren't supposed to be any semantic differences resulting from this refactoring, however it does introduce one: In package p2p/netutil we treated the 0.0.0.0/8 network (addresses 0.x.y.z) as LAN, but netip.Addr.IsPrivate() doesn't. The treatment of this particular IP address range is controversial, with some software supporting it and others not. IANA lists it as special-purpose and invalid as a destination for a long time, so I don't know why I put it into the LAN list. It has now been marked as special in p2p/netutil as well.
Configuration menu - View commit details
-
Copy full SHA for bc65694 - Browse repository at this point
Copy the full SHA bc65694View commit details
Commits on Jun 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6c518fe - Browse repository at this point
Copy the full SHA 6c518feView commit details -
rlp: no need to repeat called len method (#29936)
rlp: no need to repeat calling len
Configuration menu - View commit details
-
Copy full SHA for cbbfa3e - Browse repository at this point
Copy the full SHA cbbfa3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0750cb0 - Browse repository at this point
Copy the full SHA 0750cb0View commit details -
p2p/discover: unwrap 4-in-6 UDP source addresses (#29944)
Fixes an issue where discovery responses were not recognized.
Configuration menu - View commit details
-
Copy full SHA for 85459e1 - Browse repository at this point
Copy the full SHA 85459e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dd173a - Browse repository at this point
Copy the full SHA 0dd173aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4461c1f - Browse repository at this point
Copy the full SHA 4461c1fView commit details
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4405f18 - Browse repository at this point
Copy the full SHA 4405f18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a49d13 - Browse repository at this point
Copy the full SHA 6a49d13View commit details
Commits on Jun 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for deaf109 - Browse repository at this point
Copy the full SHA deaf109View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1098d14 - Browse repository at this point
Copy the full SHA 1098d14View commit details
Commits on Jun 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 349fcdd - Browse repository at this point
Copy the full SHA 349fcddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bda642 - Browse repository at this point
Copy the full SHA 8bda642View commit details
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for db273c8 - Browse repository at this point
Copy the full SHA db273c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eb185c - Browse repository at this point
Copy the full SHA 2eb185cView commit details
Commits on Jun 11, 2024
-
cmd, core: prefetch reads too from tries if requested (#29807)
* cmd/utils, consensus/beacon, core/state: when configured via stub flag: prefetch all reads from account/storage tries, terminate prefetcher synchronously. * cmd, core/state: fix nil panic, fix error handling, prefetch nosnap too * core/state: expand prefetcher metrics for reads and writes separately * cmd/utils, eth: fix noop collect witness flag --------- Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 85587d5 - Browse repository at this point
Copy the full SHA 85587d5View commit details -
core/state: rename all the AccessList receivers to 'al' (#29921)
rename all the receivers to 'al'
Configuration menu - View commit details
-
Copy full SHA for 3aa874b - Browse repository at this point
Copy the full SHA 3aa874bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffb29be - Browse repository at this point
Copy the full SHA ffb29beView commit details -
Configuration menu - View commit details
-
Copy full SHA for caa066d - Browse repository at this point
Copy the full SHA caa066dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c732039 - Browse repository at this point
Copy the full SHA c732039View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6f2bbd - Browse repository at this point
Copy the full SHA b6f2bbdView commit details
Commits on Jun 12, 2024
-
all: fix inconsistent receiver name and add lint rule for it (#29974)
* .golangci.yml: enable check for consistent receiver name * beacon/light/sync: fix receiver name * core/txpool/blobpool: fix receiver name * core/types: fix receiver name * internal/ethapi: use consistent receiver name 'api' for handler object * signer/core/apitypes: fix receiver name * signer/core: use consistent receiver name 'api' for handler object * log: fix receiver name
Configuration menu - View commit details
-
Copy full SHA for 1e97148 - Browse repository at this point
Copy the full SHA 1e97148View commit details -
accounts: avoid duplicate regex compilation (#29943)
* fix: Optimize regular initialization * modify var name * variable change to private types
Configuration menu - View commit details
-
Copy full SHA for 3687c34 - Browse repository at this point
Copy the full SHA 3687c34View commit details -
core/state, eth/protocols, trie, triedb/pathdb: remove unused error f…
…rom trie Commit (#29869) * core/state, eth/protocols, trie, triedb/pathdb: remove unused error return from trie Commit * move set back to account-trie-update block scoping for easier readability * address review * undo tests submodule change * trie: panic if BatchSerialize returns an error in Verkle trie Commit * trie: verkle comment nitpicks --------- Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 69351e8 - Browse repository at this point
Copy the full SHA 69351e8View commit details -
beacon/light: fix shutdown issues (#29946)
* beacon/light/request: add server test for event after unsubscribe * beacon/light/api: fixed double stream.Close() * beacon/light/request: add checks for nil event callback function * beacon/light/request: unlock server mutex while unsubscribing from parent
Configuration menu - View commit details
-
Copy full SHA for 86150af - Browse repository at this point
Copy the full SHA 86150afView commit details
Commits on Jun 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fd5078c - Browse repository at this point
Copy the full SHA fd5078cView commit details
Commits on Jun 17, 2024
-
core/state/snapshot: add a missing lock (#30001)
* upgrade lock usage * revert unnecessary change
Configuration menu - View commit details
-
Copy full SHA for 34b46a2 - Browse repository at this point
Copy the full SHA 34b46a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a58e4f0 - Browse repository at this point
Copy the full SHA a58e4f0View commit details -
log: fix some functions comments (#29907)
updates some docstrings --------- Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b78d235 - Browse repository at this point
Copy the full SHA b78d235View commit details -
Configuration menu - View commit details
-
Copy full SHA for 115d154 - Browse repository at this point
Copy the full SHA 115d154View commit details -
Configuration menu - View commit details
-
Copy full SHA for c736b04 - Browse repository at this point
Copy the full SHA c736b04View commit details -
common/math: fix out of bounds access in json unmarshalling (#30014)
Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for d866449 - Browse repository at this point
Copy the full SHA d866449View commit details
Commits on Jun 18, 2024
-
core/state/snapshot: acquire the lock on Release (#30011)
* core/state/snapshot: acquire the lock on release * core/state/snapshot: only acquire read-lock when iterating
Configuration menu - View commit details
-
Copy full SHA for 7cf6a63 - Browse repository at this point
Copy the full SHA 7cf6a63View commit details
Commits on Jun 19, 2024
-
cmd/geth, ethdb/pebble: improve database statistic (#29948)
* cmd/geth, ethdb/pebble: polish method naming and code comment * implement db stat for pebble * cmd, core, ethdb, internal, trie: remove db property selector * cmd, core, ethdb: fix function description --------- Co-authored-by: prpeh <prpeh@proton.me> Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 67a862d - Browse repository at this point
Copy the full SHA 67a862dView commit details -
trie: don't reset tracer at the end of Commit (#30024)
* trie: don't reset tracer at the end of Commit * Update trie.go --------- Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0e3a0a6 - Browse repository at this point
Copy the full SHA 0e3a0a6View commit details -
common: using
ParseUint
instead ofParseInt
(#30020)Since Decimal is defined as unsiged `uint64`, we should use `strconv.ParseUint` instead of `strconv.ParseInt` during unmarshalling. --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for c11aac2 - Browse repository at this point
Copy the full SHA c11aac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2700840 - Browse repository at this point
Copy the full SHA 2700840View commit details
Commits on Jun 20, 2024
-
trie/trienode: avoid unnecessary copy (#30019)
* avoid unnecessary copy * delete the never used function ProofList * eth/protocols/snap, trie/trienode: polish the code --------- Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 00675c5 - Browse repository at this point
Copy the full SHA 00675c5View commit details -
p2p/rlpx: 2KB maximum size for handshake messages (#30029)
Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 27654d3 - Browse repository at this point
Copy the full SHA 27654d3View commit details
Commits on Jun 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e0e45db - Browse repository at this point
Copy the full SHA e0e45dbView commit details -
Revert "core/state/snapshot: tiny fixes" (#30039)
Revert "core/state/snapshot: tiny fixes (#29995)" This reverts commit e0e45db.
Configuration menu - View commit details
-
Copy full SHA for c10ac4f - Browse repository at this point
Copy the full SHA c10ac4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a71f6f9 - Browse repository at this point
Copy the full SHA a71f6f9View commit details
Commits on Jun 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d8ea7ac - Browse repository at this point
Copy the full SHA d8ea7acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a651f8 - Browse repository at this point
Copy the full SHA 0a651f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe0c0b0 - Browse repository at this point
Copy the full SHA fe0c0b0View commit details -
internal/debug: remove unnecessary log level assignment (#30044)
Log level is specified in L259 so it's unnecessary to specify it for handlers (L234, L236).
Configuration menu - View commit details
-
Copy full SHA for 73f7e7c - Browse repository at this point
Copy the full SHA 73f7e7cView commit details -
all: stateless witness builder and (self-)cross validator (#29719)
* all: add stateless verifications * all: simplify witness and integrate it into live geth --------- Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ed8fd0a - Browse repository at this point
Copy the full SHA ed8fd0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98b5930 - Browse repository at this point
Copy the full SHA 98b5930View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9298d2d - Browse repository at this point
Copy the full SHA 9298d2dView commit details
Commits on Jun 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 269e80b - Browse repository at this point
Copy the full SHA 269e80bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 045b971 - Browse repository at this point
Copy the full SHA 045b971View commit details
Commits on Jun 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 19c3c1e - Browse repository at this point
Copy the full SHA 19c3c1eView commit details -
core/txpool/blobpool: improve newPriceHeap function (#30050)
Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 36d67be - Browse repository at this point
Copy the full SHA 36d67beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4939c25 - Browse repository at this point
Copy the full SHA 4939c25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06f1d07 - Browse repository at this point
Copy the full SHA 06f1d07View commit details -
rpc: truncate call error data logs (#30028)
Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 7cfff30 - Browse repository at this point
Copy the full SHA 7cfff30View commit details
Commits on Jul 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a4e338f - Browse repository at this point
Copy the full SHA a4e338fView commit details -
build: add check for stale generated files (#30037)
Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 41abab9 - Browse repository at this point
Copy the full SHA 41abab9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0905660 - Browse repository at this point
Copy the full SHA 0905660View commit details
Commits on Jul 2, 2024
-
accounts/abi: embed Go template instead of string literal (#30098)
refactor(accounts/abi): use embed pkg to split default template to file
Configuration menu - View commit details
-
Copy full SHA for de366fd - Browse repository at this point
Copy the full SHA de366fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f2e1cf - Browse repository at this point
Copy the full SHA 6f2e1cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 640e0f1 - Browse repository at this point
Copy the full SHA 640e0f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for aadddf3 - Browse repository at this point
Copy the full SHA aadddf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6cae0f - Browse repository at this point
Copy the full SHA c6cae0fView commit details
Commits on Jul 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d9d423 - Browse repository at this point
Copy the full SHA 2d9d423View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c4b4d05 - Browse repository at this point
Copy the full SHA c4b4d05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10467ac - Browse repository at this point
Copy the full SHA 10467acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37590b2 - Browse repository at this point
Copy the full SHA 37590b2View commit details
Commits on Jul 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 803dc6b - Browse repository at this point
Copy the full SHA 803dc6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0aafbb3 - Browse repository at this point
Copy the full SHA 0aafbb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcaf374 - Browse repository at this point
Copy the full SHA bcaf374View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa55f5e - Browse repository at this point
Copy the full SHA aa55f5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf03784 - Browse repository at this point
Copy the full SHA cf03784View commit details
Commits on Jul 15, 2024
-
core/txpool/blobpool: use nonce from argument instead of tx.Nonce() (…
…#30148) This does not change the behavior here as the nonce in the argument is tx.Nonce(). This commit helps to make the function easier to read and avoid capturing the tx in the function.
Configuration menu - View commit details
-
Copy full SHA for a0631f3 - Browse repository at this point
Copy the full SHA a0631f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79d2327 - Browse repository at this point
Copy the full SHA 79d2327View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bbe993 - Browse repository at this point
Copy the full SHA 4bbe993View commit details -
Configuration menu - View commit details
-
Copy full SHA for 169aa91 - Browse repository at this point
Copy the full SHA 169aa91View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0d2613 - Browse repository at this point
Copy the full SHA a0d2613View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8adce57 - Browse repository at this point
Copy the full SHA 8adce57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71210b0 - Browse repository at this point
Copy the full SHA 71210b0View commit details
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0d38b0c - Browse repository at this point
Copy the full SHA 0d38b0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b530d8e - Browse repository at this point
Copy the full SHA b530d8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15936c6 - Browse repository at this point
Copy the full SHA 15936c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c54294b - Browse repository at this point
Copy the full SHA c54294bView commit details -
core/rawdb, triedb, cmd: create an isolated disk namespace for verkle…
… (#30105) * core, triedb/pathdb, cmd: define verkle state ancient store * core/rawdb, triedb: add verkle namespace in pathdb
Configuration menu - View commit details
-
Copy full SHA for f59d013 - Browse repository at this point
Copy the full SHA f59d013View commit details
Commits on Jul 18, 2024
-
p2p/discover: remove type encPubkey (#30172)
The pubkey type was moved to package v4wire a long time ago. Remaining uses of encPubkey were probably left in due to laziness.
Configuration menu - View commit details
-
Copy full SHA for ad49c70 - Browse repository at this point
Copy the full SHA ad49c70View commit details -
Configuration menu - View commit details
-
Copy full SHA for df3f0a8 - Browse repository at this point
Copy the full SHA df3f0a8View commit details
Commits on Jul 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 944718b - Browse repository at this point
Copy the full SHA 944718bView commit details -
eth/gasprice: remove default from config (#30080)
* eth/gasprice: remove default from config * eth/gasprice: sanitize startPrice
Configuration menu - View commit details
-
Copy full SHA for 380688c - Browse repository at this point
Copy the full SHA 380688cView commit details -
rpc: use stable object in notifier test (#30193)
This makes the test resilient to changes of types.Header -- otherwise the test needs to be updated each time the header structure is modified.
Configuration menu - View commit details
-
Copy full SHA for 7abe84c - Browse repository at this point
Copy the full SHA 7abe84cView commit details -
core/state: remove useless metrics (#30184)
Originally, these metrics were added to track the largest storage wiping. Since account self-destruction was deprecated with the Cancun fork, these metrics have become meaningless.
Configuration menu - View commit details
-
Copy full SHA for ef583e9 - Browse repository at this point
Copy the full SHA ef583e9View commit details
Commits on Jul 23, 2024
-
rpc: show more error detail for
invalidMessageError
(#30191)Here we add distinct error messages for network timeouts and JSON parsing errors. Note this specifically applies to HTTP connections serving a single RPC request. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for 57e6627 - Browse repository at this point
Copy the full SHA 57e6627View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7026bae - Browse repository at this point
Copy the full SHA 7026baeView commit details -
core/txpool: use the cached address in ValidateTransactionWithState (…
…#30208) The address recover is executed and cached in ValidateTransaction already. It's expected that the cached one is returned in ValidateTransaction. However, currently, we use the wrong function signer.Sender instead of types.Sender which will do all the address recover again.
Configuration menu - View commit details
-
Copy full SHA for 6693fe1 - Browse repository at this point
Copy the full SHA 6693fe1View commit details -
core/state: check db error after intermediate call (#30171)
This pull request adds an additional error check after statedb.IntermediateRoot, ensuring that no errors occur during this call. This step is essential, as the call might encounter database errors.
Configuration menu - View commit details
-
Copy full SHA for 1939813 - Browse repository at this point
Copy the full SHA 1939813View commit details -
cmd/utils: allow configurating blob pool from flags (#30203)
Currently, we have 3 flags to configure blob pool. However, we don't read these flags and set the blob pool configuration in eth config accordingly. This commit adds a function to check if these flags are provided and set blob pool configuration based on them.
Configuration menu - View commit details
-
Copy full SHA for 35b4183 - Browse repository at this point
Copy the full SHA 35b4183View commit details -
core/state: fix SetStorage override behavior (#30185)
This pull request fixes the broken feature where the entire storage set is overridden. Originally, the storage set override was achieved by marking the associated account as deleted, preventing access to the storage slot on disk. However, since #29520, this flag is also checked when accessing the account, rendering the account unreachable. A fix has been applied in this pull request, which re-creates a new state object with all account metadata inherited.
Configuration menu - View commit details
-
Copy full SHA for 766ce23 - Browse repository at this point
Copy the full SHA 766ce23View commit details
Commits on Jul 24, 2024
-
triedb/pathdb: print out all trie owner and hash information (#30200)
This pull request explicitly prints out the full hash for debugging purpose.
Configuration menu - View commit details
-
Copy full SHA for 4ad88e9 - Browse repository at this point
Copy the full SHA 4ad88e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dfc75d - Browse repository at this point
Copy the full SHA 4dfc75dView commit details -
eth/tracers, internal/ethapi: remove unnecessary map pointer in state…
… override (#30094)
Configuration menu - View commit details
-
Copy full SHA for ac0f220 - Browse repository at this point
Copy the full SHA ac0f220View commit details
Commits on Jul 26, 2024
-
internal/ethapi: fix state override test (#30228)
Looks like #30094 became a bit stale after #30185 was merged and now we have a stale ref to a state override object causing CI to fail on master.
Configuration menu - View commit details
-
Copy full SHA for f94baab - Browse repository at this point
Copy the full SHA f94baabView commit details
Commits on Jul 27, 2024
-
p2p/nat: return correct port for ExtIP NAT (#30234)
Return the actually requested external port instead of 0 in the AddMapping implementation for `--nat extip:<IP>`.
Configuration menu - View commit details
-
Copy full SHA for b0f66e3 - Browse repository at this point
Copy the full SHA b0f66e3View commit details
Commits on Jul 30, 2024
-
p2p: fix flaky test TestServerPortMapping (#30241)
The test specifies `ListenAddr: ":0"`, which means a random ephemeral port will be chosen for the TCP listener by the OS. Additionally, since no `DiscAddr` was specified, the same port that is chosen automatically by the OS will also be used for the UDP listener in the discovery UDP setup. This sometimes leads to test failures if the TCP listener picks a free TCP port that is already taken for UDP. By specifying `DiscAddr: ":0"`, the UDP port will be chosen independently from the TCP port, fixing the random failure. See issue #29830. Verified using ``` cd p2p go test -c -race stress ./p2p.test -test.run=TestServerPortMapping ... 5m0s: 4556 runs so far, 0 failures ``` The issue described above can technically lead to sporadic failures on systems that specify a listen address via the `--port` flag of 0 while not setting `--discovery.port`. Since the default is using port `30303` and using a random ephemeral port is likely not used much to begin with, not addressing the root cause might be acceptable.
Configuration menu - View commit details
-
Copy full SHA for 6e33dbf - Browse repository at this point
Copy the full SHA 6e33dbfView commit details
Commits on Jul 31, 2024
-
p2p/discover: schedule revalidation also when all nodes are excluded …
…(#30239) ## Issue If `nextTime` has passed, but all nodes are excluded, `get` would return `nil` and `run` would therefore not invoke `schedule`. Then, we schedule a timer for the past, as neither `nextTime` value has been updated. This creates a busy loop, as the timer immediately returns. ## Fix With this PR, revalidation will be also rescheduled when all nodes are excluded. --------- Co-authored-by: lightclient <lightclient@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for de6d597 - Browse repository at this point
Copy the full SHA de6d597View commit details
Commits on Aug 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ff6e43e - Browse repository at this point
Copy the full SHA ff6e43eView commit details -
eth/downloader: correct sync mode logging to show old mode (#30219)
This PR fixes an issue in the setMode method of beaconBackfiller where the log message was not displaying the previous mode correctly. The log message now shows both the old and new sync modes.
Configuration menu - View commit details
-
Copy full SHA for dad8f23 - Browse repository at this point
Copy the full SHA dad8f23View commit details -
all: remove deprecated protobuf dependencies (#30232)
The package `github.com/golang/protobuf/proto` is deprecated in favor `google.golang.org/protobuf/proto`. We should update the codes to recommended package. Signed-off-by: Icarus Wu <icaruswu66@qq.com>
Configuration menu - View commit details
-
Copy full SHA for b635089 - Browse repository at this point
Copy the full SHA b635089View commit details -
accounts/abi/bind: add accessList support to base bond contract (#30195)
Adding the correct accessList parameter when calling a contract can reduce gas consumption. However, the current version only allows adding the accessList manually when constructing the transaction. This PR can provide convenience for saving gas.
Configuration menu - View commit details
-
Copy full SHA for 67b8137 - Browse repository at this point
Copy the full SHA 67b8137View commit details
Commits on Aug 2, 2024
-
internal/debug: remove memsize (#30253)
Removing because memsize will very likely be broken by Go 1.23. See fjl/memsize#4
Configuration menu - View commit details
-
Copy full SHA for e467577 - Browse repository at this point
Copy the full SHA e467577View commit details -
eth/downloader: gofmt (#30261)
Fixes a regression introduced in ethereum/go-ethereum#30219
Configuration menu - View commit details
-
Copy full SHA for 16cf5c5 - Browse repository at this point
Copy the full SHA 16cf5c5View commit details -
cmd/evm: don't overwrite sender account (#30259)
Fixes #30254 It seems like the removed CreateAccount call is very old and not needed anymore. After removing it, setting a sender that does not exist in the state doesn't seem to cause an issue.
Configuration menu - View commit details
-
Copy full SHA for 142c94d - Browse repository at this point
Copy the full SHA 142c94dView commit details
Commits on Aug 5, 2024
-
eth/catalyst: get params.ExcessBlobGas but check with params.BlobGasU…
…sed (#30267) Seems it is checked with the wrong argument Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1058695 - Browse repository at this point
Copy the full SHA 1058695View commit details
Commits on Aug 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cf8aa31 - Browse repository at this point
Copy the full SHA cf8aa31View commit details -
core/vm/runtime: ensure tracer benchmark calls
OnTxStart
(#30257)The struct-based tracing added in #29189 seems to have caused an issue with the benchmark `BenchmarkTracerStepVsCallFrame`. On master we see the following panic: ```console BenchmarkTracerStepVsCallFrame panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x40 pc=0x1019782f0] goroutine 37 [running]: github.com/ethereum/go-ethereum/eth/tracers/js.(*jsTracer).OnOpcode(0x140004c4000, 0x0, 0x10?, 0x989680, 0x1, {0x101ea2298, 0x1400000e258}, {0x1400000e258?, 0x14000155928?, 0x10173020c?}, ...) /Users/matt/dev/go-ethereum/eth/tracers/js/goja.go:328 +0x140 github.com/ethereum/go-ethereum/core/vm.(*EVMInterpreter).Run(0x14000307da0, 0x140003cc0d0, {0x0, 0x0, 0x0}, 0x0) ... FAIL github.com/ethereum/go-ethereum/core/vm/runtime 0.420s FAIL ``` The issue seems to be that `OnOpcode` expects that `OnTxStart` has already been called to initialize the `env` value in the tracer. The JS tracer uses it in `OnOpcode` for the `GetRefund()` method. This patch resolves the issue by reusing the `Call` method already defined in `runtime_test.go` which correctly calls `OnTxStart`.
Configuration menu - View commit details
-
Copy full SHA for dbc1d04 - Browse repository at this point
Copy the full SHA dbc1d04View commit details -
ethclient: support networkID in hex format (#30263)
Some chains’ network IDs use hexadecimal such as Optimism ("0xa" instead of "10"), so when converting the string to big.Int, we cannot specify base 10; otherwise, it will encounter errors with hexadecimal network IDs.
Configuration menu - View commit details
-
Copy full SHA for e9981bc - Browse repository at this point
Copy the full SHA e9981bcView commit details -
core/vm: improved stack swap performance (#30249)
This PR adds the methods `Stack.swap1..16()` that faster than `Stack.swap(1..16)`. Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b37ac5c - Browse repository at this point
Copy the full SHA b37ac5cView commit details
Commits on Aug 8, 2024
-
signer/core: improve performance of isPrimitiveTypeValid function (#3…
…0274) (#30277) Precomputes valid primitive types into a map to use for validation, thus removing sprintf.
Configuration menu - View commit details
-
Copy full SHA for 978041f - Browse repository at this point
Copy the full SHA 978041fView commit details -
core/vm: use uint64 in memory for indices everywhere (#30252)
Consistently use `uint64` for indices in `Memory` and drop lots of type conversions from `uint64` to `int64`. --------- Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4a3aed3 - Browse repository at this point
Copy the full SHA 4a3aed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ea766d - Browse repository at this point
Copy the full SHA 9ea766dView commit details -
tests: fix TransactionTest to actually run (#30272)
Due to https://github.com/ethereum/tests/releases/tag/v10.1, the format of the TransactionTest changed, but it was not properly addressed, causing the test to pass unexpectedly. --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for d3dae66 - Browse repository at this point
Copy the full SHA d3dae66View commit details -
eth/downloader, core/types: take withdrawals-size into account in dow…
…nloader queue (#30276) Fixes a slight miscalculation in the downloader queue, which was not accurately taking block withdrawals into account when calculating the size of the items in the queue
Configuration menu - View commit details
-
Copy full SHA for ebe31df - Browse repository at this point
Copy the full SHA ebe31dfView commit details -
cmd/evm: fix evm basefee (#30281)
fixes #30279 -- previously we did not use the basefee from the genesis, and instead the defaults were used from `runtime.go/setDefaults`-function
Configuration menu - View commit details
-
Copy full SHA for 83e70aa - Browse repository at this point
Copy the full SHA 83e70aaView commit details
Commits on Aug 9, 2024
-
go.mod: update uint256 to 1.3.1 (#30280)
Release notes: https://github.com/holiman/uint256/releases/tag/v1.3.1
Configuration menu - View commit details
-
Copy full SHA for 811a69c - Browse repository at this point
Copy the full SHA 811a69cView commit details
Commits on Aug 10, 2024
-
beacon/engine, consensus/beacon: use params.MaximumExtraDataSize inst…
…ead of hard-coded value (#29721) Co-authored-by: Felix Lange <fjl@twurst.com> Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by: lightclient <lightclient@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 32a1e06 - Browse repository at this point
Copy the full SHA 32a1e06View commit details
Commits on Aug 12, 2024
-
p2p/simulations: remove packages (#30250)
Looking at the history of these packages over the past several years, there haven't been any meaningful contributions or usages: https://github.com/ethereum/go-ethereum/commits/master/p2p/simulations?before=de6d5976794a9ed3b626d4eba57bf7f0806fb970+35 Almost all of the commits are part of larger refactors or low-hanging-fruit contributions. Seems like it's not providing much value and taking up team + contributor time.
Configuration menu - View commit details
-
Copy full SHA for 33a13b6 - Browse repository at this point
Copy the full SHA 33a13b6View commit details -
eth/protocols/snap: cleanup dangling account trie nodes due to incomp…
…lete storage (#30258) This pull request fixes #30229. During snap sync, large storage will be split into several pieces and synchronized concurrently. Unfortunately, the tradeoff is that the respective merkle trie of each storage chunk will be incomplete due to the incomplete boundaries. The trie nodes on these boundaries will be discarded, and any dangling nodes on disk will also be removed if they fall on these paths, ensuring the state healer won't be blocked. However, the dangling account trie nodes on the path from the root to the associated account are left untouched. This means the dangling account trie nodes could potentially stop the state healing and break the assumption that the entire subtrie should exist if the subtrie root exists. We should consider the account trie node as the ancestor of the corresponding storage trie node. In the scenarios described in the above ticket, the state corruption could occur if there is a dangling account trie node while some storage trie nodes are removed due to synchronization redo. The fixing idea is pretty straightforward, the trie nodes on the path from root to account should all be explicitly removed if an incomplete storage trie occurs. Therefore, a `delete` operation has been added into `gentrie` to explicitly clear the account along with all nodes on this path. The special thing is that it's a cross-trie clearing. In theory, there may be a dangling node at any position on this account key and we have to clear all of them.
Configuration menu - View commit details
-
Copy full SHA for 5adf4ad - Browse repository at this point
Copy the full SHA 5adf4adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 880511d - Browse repository at this point
Copy the full SHA 880511dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9523b6 - Browse repository at this point
Copy the full SHA a9523b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cf3b5d - Browse repository at this point
Copy the full SHA 1cf3b5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab03c57 - Browse repository at this point
Copy the full SHA ab03c57View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc95452 - Browse repository at this point
Copy the full SHA bc95452View commit details
Commits on Aug 13, 2024
-
core/txpool/blobpool: fix error message (#30247)
the validation process only checks for 'less than', which is inconsistent with the error output
Configuration menu - View commit details
-
Copy full SHA for bd57f35 - Browse repository at this point
Copy the full SHA bd57f35View commit details
Commits on Aug 14, 2024
-
go.mod: upgrade to pebble v1.1.2 (#30297)
Includes a fix for MIPS32 support. Pebble release: https://github.com/cockroachdb/pebble/releases/tag/v1.1.2 Key fix for mips32: cockroachdb/pebble@9f3904a (also the only change from v1.1.1.
Configuration menu - View commit details
-
Copy full SHA for 2b9d198 - Browse repository at this point
Copy the full SHA 2b9d198View commit details
Commits on Aug 15, 2024
-
core: only compute state root once (#30299)
This PR refactors the genesis initialization a bit, s.th. we only compute the blockhash once instead of twice as before (during hashAlloc and flushAlloc) This will significantly reduce the amount of memory allocated during genesis init --------- Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c686485 - Browse repository at this point
Copy the full SHA c686485View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2e5b0 - Browse repository at this point
Copy the full SHA 2f2e5b0View commit details -
eth/fetcher: always expect transaction metadata in announcement (#30288)
This pull request drops the legacy transaction retrieval support from before eth68, adding the restrictions that transaction metadata must be provided along with the transaction announment.
Configuration menu - View commit details
-
Copy full SHA for c4b01d8 - Browse repository at this point
Copy the full SHA c4b01d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c356847 - Browse repository at this point
Copy the full SHA c356847View commit details -
eth/tracers/js: add coinbase addr to ctx (#30231)
Add coinbase address to javascript tracer context. This PR adds the `coinbase` address to `jsTracer.ctx`, allowing access to the coinbase address (fee receipient) in custom JavaScript tracers. Example usage: ```javascript result: function(ctx) { return toAddress(ctx.coinbase); } ``` This change enables custom tracers to access coinbase address, previously unavailable, enhancing their capabilities to match built-in tracers.
Configuration menu - View commit details
-
Copy full SHA for 7a149a1 - Browse repository at this point
Copy the full SHA 7a149a1View commit details -
eth: dial nodes from discv5 (#30302)
Here I am adding a discv5 nodes source into the p2p dial iterator. It's an improved version of #29533. Unlike discv4, the discv5 random nodes iterator will always provide full ENRs. This means we can apply filtering to the results and will only try dialing nodes which explictly opt into the eth protocol with a matching chain. I have also removed the dial iterator from snap. We don't have an official DNS list for snap anymore, and I doubt anyone else is running one. While we could potentially filter for snap on discv5, there will be very few nodes announcing it, and the extra iterator would just stall the dialer. --------- Co-authored-by: lightclient <lightclient@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6eb42a6 - Browse repository at this point
Copy the full SHA 6eb42a6View commit details
Commits on Aug 16, 2024
-
beacon/light: handle endpoint URL more gracefully (#30306)
blsync was failing if the light endpoint it was provided ended with a `/`. This change should handle the joining more gracefully.
Configuration menu - View commit details
-
Copy full SHA for 43640f1 - Browse repository at this point
Copy the full SHA 43640f1View commit details -
core: remove withdrawal length check for state processor (#30286)
The withdrawal length is already verified by the beacon consensus package, so the check in the state processor is a duplicate.
Configuration menu - View commit details
-
Copy full SHA for 09d889d - Browse repository at this point
Copy the full SHA 09d889dView commit details -
vm: simplify error handling in
vm.EVM.create()
(#30292)To allow all error paths in `vm.EVM.create()` to consume the necessary gas, there is currently a pattern of gating code on `if err == nil` instead of returning as soon as the error occurs. The same behaviour can be achieved by abstracting the gated code into a method that returns immediately on error, improving readability and thus making it easier to understand and maintain.
Configuration menu - View commit details
-
Copy full SHA for 710c3f3 - Browse repository at this point
Copy the full SHA 710c3f3View commit details
Commits on Aug 19, 2024
-
internal/build: include git-date on detached head (#30320)
When we are building in detached head, we cannot easily obtain the same information as we can if we're in non-detached head. However, one thing we _can_ obtain is the git-hash and git-date. Currently, we omit to include the git-date into the build-info, which causes problem for reproducable builds which are on a detached head. This change fixes it to include the date-info always.
Configuration menu - View commit details
-
Copy full SHA for 60db6a7 - Browse repository at this point
Copy the full SHA 60db6a7View commit details -
build: remove mantic from ppa builds (#30322)
removes ppa-build for ubuntu `mantic`
Configuration menu - View commit details
-
Copy full SHA for 8486722 - Browse repository at this point
Copy the full SHA 8486722View commit details -
gitignore: ignore upload-artefacts (#30325)
Our `WriteArchive`, used by ci builder, creates files in the repo root,in order to upload. After we've built the amd64-builds, we create the uploads, and cause the repo to be flagged as dirty for the remaining builds. This change fixes it by adding the artefacts to gitignore. Closes #30324
Configuration menu - View commit details
-
Copy full SHA for 41b3b30 - Browse repository at this point
Copy the full SHA 41b3b30View commit details -
eth/catalyst: ensure period zero mode leaves no pending txs in pool (…
…#30264) closes #29475, replaces #29657, #30104 Fixes two issues. First is a deadlock where the txpool attempts to reorg, but can't complete because there are no readers left for the new txs subscription. Second, resolves a problem with on demand mode where txs may be left pending when there are more pending txs than block space. Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 84565dc - Browse repository at this point
Copy the full SHA 84565dcView commit details
Commits on Aug 20, 2024
-
accounts/abi: handle ABIs with contract type parameter (#30315)
convert parameter of type contract to the basic `address` type --------- Co-authored-by: Martin HS <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 65aaf52 - Browse repository at this point
Copy the full SHA 65aaf52View commit details -
core/rawdb: drop MigrateTable (#30331)
These are the leftovers from #24028.
Configuration menu - View commit details
-
Copy full SHA for 3b48b16 - Browse repository at this point
Copy the full SHA 3b48b16View commit details -
core/vm: reuse Memory instances (#30137)
This PR adds a sync.Pool to reuse instances of Memory in EVMInterpreter.
Configuration menu - View commit details
-
Copy full SHA for fc88cea - Browse repository at this point
Copy the full SHA fc88ceaView commit details -
build: attempt at reproducible builds (#30321)
This PR implements the conclusions from ethereum/go-ethereum#28987 (comment), that is: Building with `--strip-all` as a ld-flag to the cgo linker, to remove symbols. Without that, some spurious reference to a temporary file is included into the kzg-related library. Building with `--build-id=none`, to avoid putting a `build id` into the file.
Configuration menu - View commit details
-
Copy full SHA for 693e40a - Browse repository at this point
Copy the full SHA 693e40aView commit details -
all: update to go version 1.23.0 (#30323)
This PR updates the version of go used in builds and docker to 1.23.0. Release notes: https://go.dev/doc/go1.23 More importantly, following our policy of maintaining the last two versions (which now becomes 1.23 and 1.22), we can now make use of the things that were introduced in 1.22: https://go.dev/doc/go1.22 Go 1.22 makes two changes to “for” loops. - each iteration creates new variables, - for loops may range over integers Other than that, some interesting library changes and other stuff.
Configuration menu - View commit details
-
Copy full SHA for d0fd133 - Browse repository at this point
Copy the full SHA d0fd133View commit details -
rpc: add timeout to rpc client Unsubscribe (#30318)
Fixes #30156 This adds a repro of the linked issue. I fixed it by adding a timeout when issuing the call to unsubscribe.
Configuration menu - View commit details
-
Copy full SHA for 15fb0dc - Browse repository at this point
Copy the full SHA 15fb0dcView commit details -
cmd/devp2p: require dns:read, dns:edit permissions for cloudflare dep…
…loy (#30326) This PR adds the `dns:read` and `dns:edit` permissions to the required set of permissions checked before deploying an ENR tree to Cloudflare. These permissions are necessary for a successful publish. **Background**: The current logic for `devp2p dns to-cloudflare` checks for `zone:edit` and `zone:read` permissions. However, when running the command with only these two permissions, the following error occurs: ``` wrong permissions on zone REMOVED-ZONE: map[#zone:edit:false #zone:read:true] ``` Adding `zone:read` and `zone:edit` to the API token led to a different error: ``` INFO [08-19|14:06:16.782] Retrieving existing TXT records on pos-nodes.hardfork.dev Authentication error (10000) ``` This suggested that additional permissions were required. I added `dns:read`, but encountered another error: ``` INFO [08-19|14:11:42.342] Retrieving existing TXT records on pos-nodes.hardfork.dev INFO [08-19|14:11:42.851] Updating DNS entries failed to publish REMOVED.pos-nodes.hardfork.dev: Authentication error (10000) ``` Finally, after adding both `dns:read` and `dns:edit` permissions, the command executed successfully with the following output: ``` INFO [08-19|14:13:07.677] Checking Permissions on zone REMOVED-ZONE INFO [08-19|14:13:08.014] Retrieving existing TXT records on pos-nodes.hardfork.dev INFO [08-19|14:13:08.440] Updating DNS entries INFO [08-19|14:13:08.440] "Updating pos-nodes.hardfork.dev from \"enrtree-root:v1 e=FSED3EDKEKRDDFMCLP746QY6CY l=FDXN3SN67NA5DKA4J2GOK7BVQI seq=1 sig=Glja2c9RviRqOpaaHR0MnHsQwU76nJXadJwFeiXpp8MRTVIhvL0LIireT0yE3ETZArGEmY5Ywz3FVHZ3LR5JTAE\" to \"enrtree-root:v1 e=AB66M4ULYD5OYN4XFFCPVZRLUM l=FDXN3SN67NA5DKA4J2GOK7BVQI seq=1 sig=H8cqDzu0FAzBplK4g3yudhSaNtszIebc2aj4oDm5a5ZE5PAg-xpCnQgVE_53CsgsqQpalD9byafx_FrUT61sagA\"" INFO [08-19|14:13:16.932] Updated DNS entries new=32 updated=1 untouched=100 INFO [08-19|14:13:16.932] Deleting stale DNS entries INFO [08-19|14:13:24.663] Deleted stale DNS entries count=31 ``` With this PR, the required permissions for deploying an ENR tree to Cloudflare now include `zone:read`, `zone:edit`, `dns:read`, and `dns:edit`. The initial check now includes all of the necessary permissions and indicates in the error message which permissions are missing: ``` INFO [08-19|14:17:20.339] Checking Permissions on zone REMOVED-ZONE wrong permissions on zone REMOVED-ZONE: map[#dns_records:edit:false #dns_records:read:false #zone:edit:false #zone:read:true] ```
Configuration menu - View commit details
-
Copy full SHA for 0fde506 - Browse repository at this point
Copy the full SHA 0fde506View commit details -
all: clean up goerli flag and config (#30289)
Co-authored-by: lightclient <lightclient@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3c37db7 - Browse repository at this point
Copy the full SHA 3c37db7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00294e9 - Browse repository at this point
Copy the full SHA 00294e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a534ee - Browse repository at this point
Copy the full SHA 2a534eeView commit details
Commits on Aug 21, 2024
-
trie: use go-verkle helper for speedier (*VerkleTrie).RollBackAccount…
… (#30242) This is a performance improvement on the account-creation rollback code required for the archive node to support verkle. It uses the utility function `DeleteAtStem` to remove code and account data per-group instead of doing it leaf by leaf. It also fixes an index bug, as code is chunked in 31-byte chunks, so comparing with the code size should use 31 as its stride. --------- Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for df645e7 - Browse repository at this point
Copy the full SHA df645e7View commit details -
eth/protocols/eth: handle zero-count header requests (#30305)
Proper fix for handling `count=0` get header requests. https://en.wikipedia.org/wiki/Count_Zero
Configuration menu - View commit details
-
Copy full SHA for 733fcbb - Browse repository at this point
Copy the full SHA 733fcbbView commit details -
eth/tracers: avoid panic in state test runner (#30332)
Make tracers more robust by handling `nil` receipt as input. Also pass in a receipt with gas used in the state test runner. Closes ethereum/go-ethereum#30117. --------- Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 30824fa - Browse repository at this point
Copy the full SHA 30824faView commit details
Commits on Aug 22, 2024
-
build: fix hash for go1.23.0.linux-riscv64.tar.gz (#30335)
build: fix hash for go1.23.0.linux-riscv64.tar.gz
Configuration menu - View commit details
-
Copy full SHA for 941ae33 - Browse repository at this point
Copy the full SHA 941ae33View commit details
Commits on Aug 23, 2024
-
build: make go buildid static (#30342)
The previous clearing of buildid did fully work, turns out we need to set it in `ldflags` The go buildid is the only remaining hurdle for reproducible builds, see ethereum/go-ethereum#28987 (comment) This PR changes the go build id application note to say literally `none` golang/go#33772 (comment): > This difference is due to the .note.go.buildid section added by the linker. It can be set to something static e.g. -ldflags=-buildid= (empty string) to gain reproducibility.
Configuration menu - View commit details
-
Copy full SHA for ada20c0 - Browse repository at this point
Copy the full SHA ada20c0View commit details -
trie: avoid un-needed map copy (#30343)
This change avoids the an unnecessary map copy if the preimage recording is not enabled.
Configuration menu - View commit details
-
Copy full SHA for 020f026 - Browse repository at this point
Copy the full SHA 020f026View commit details -
beacon/blsync: better error information in test (#30336)
this change reports the error instead of ignoring it
Configuration menu - View commit details
-
Copy full SHA for c12a1c9 - Browse repository at this point
Copy the full SHA c12a1c9View commit details -
beacon/light/sync: basic tests for rangeLock (#30269)
adds simple tests for lock and firstUnlocked method from rangeLock type --------- Co-authored-by: lightclient <lightclient@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for eaf4285 - Browse repository at this point
Copy the full SHA eaf4285View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0378dc8 - Browse repository at this point
Copy the full SHA 0378dc8View commit details -
gitignore: ignore build signatures (#30346)
Ignore files are generated during signing of download-binaries, which 'dirty' the vcs for subsequent builds.
Configuration menu - View commit details
-
Copy full SHA for 1d006bd - Browse repository at this point
Copy the full SHA 1d006bdView commit details
Commits on Aug 26, 2024
-
doc: update 2021-08-22-split-postmortem (#30351)
Update 2021-08-22-split-postmortem
Configuration menu - View commit details
-
Copy full SHA for 4e17f28 - Browse repository at this point
Copy the full SHA 4e17f28View commit details -
core: implement EIP-2935 (#29465)
https://eips.ethereum.org/EIPS/eip-2935 --------- Co-authored-by: Guillaume Ballet <gballet@gmail.com> Co-authored-by: Ignacio Hagopian <jsign.uy@gmail.com> Co-authored-by: Martin HS <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for a223efc - Browse repository at this point
Copy the full SHA a223efcView commit details -
core: add metrics for state access (#30353)
This pull request adds a few more performance metrics, specifically: - The average time cost of an account read - The average time cost of a storage read - The rate of account reads - The rate of storage reads
Configuration menu - View commit details
-
Copy full SHA for bfda8ae - Browse repository at this point
Copy the full SHA bfda8aeView commit details -
core/state: fix trie prefetcher for verkle (#30354)
This pull request fixes the panic issue in prefetcher once the verkle is activated.
Configuration menu - View commit details
-
Copy full SHA for 9b5d141 - Browse repository at this point
Copy the full SHA 9b5d141View commit details
Commits on Aug 27, 2024
-
p2p/discover: fix Write method in metered connection (#30355)
`WriteToUDP` was never called, since `meteredUdpConn` exposed directly all the methods from the underlying `UDPConn` interface. This fixes the `discover/egress` metric never being updated.
Configuration menu - View commit details
-
Copy full SHA for 87377c5 - Browse repository at this point
Copy the full SHA 87377c5View commit details -
accounts/abi/bind, ethclient/simulated: check SendTransaction error i…
…n tests (#30349) In few tests the returned error from `SendTransaction` is not being checked. This PR checks the returned err in tests. Returning errors also revealed tx in `TestCommitReturnValue` is not actually being sent, and returns err ` only replay-protected (EIP-155) transactions allowed over RPC`. Fixed the transaction by using the `testTx` function.
Configuration menu - View commit details
-
Copy full SHA for 9eb9154 - Browse repository at this point
Copy the full SHA 9eb9154View commit details
Commits on Aug 28, 2024
-
core/state: semantic journalling (part 1) (#28880)
This is a follow-up to #29520, and a preparatory PR to a more thorough change in the journalling system. ### API methods instead of `append` operations This PR hides the journal-implementation details away, so that the statedb invokes methods like `JournalCreate`, instead of explicitly appending journal-events in a list. This means that it's up to the journal whether to implement it as a sequence of events or aggregate/merge events. ### Snapshot-management inside the journal This PR also makes it so that management of valid snapshots is moved inside the journal, exposed via the methods `Snapshot() int` and `RevertToSnapshot(revid int, s *StateDB)`. ### SetCode JournalSetCode journals the setting of code: it is implicit that the previous values were "no code" and emptyCodeHash. Therefore, we can simplify the setCode journal. ### Selfdestruct The self-destruct journalling is a bit strange: we allow the selfdestruct operation to be journalled several times. This makes it so that we also are forced to store whether the account was already destructed. What we can do instead, is to only journal the first destruction, and after that only journal balance-changes, but not journal the selfdestruct itself. This simplifies the journalling, so that internals about state management does not leak into the journal-API. ### Preimages Preimages were, for some reason, integrated into the journal management, despite not being a consensus-critical data structure. This PR undoes that. --------- Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0e5546f - Browse repository at this point
Copy the full SHA 0e5546fView commit details -
signer/core/apitypes: support fixed size arrays for EIP-712 typed dat…
…a (#30175) When attempting to hash a typed data struct that includes a type reference with a fixed-size array, the validation process fails. According to EIP-712, arrays can be either fixed-size or dynamic, denoted by `Type[n]` or `Type[]` respectively, although it appears this currently isn't supported. This change modifies the validation logic to accommodate types containing fixed-size arrays.
Configuration menu - View commit details
-
Copy full SHA for ea3b509 - Browse repository at this point
Copy the full SHA ea3b509View commit details
Commits on Aug 29, 2024
-
consensus/beacon, core/types: add verkle witness builder (#30129)
This PR adds the bulk verkle witness+proof production at the end of block production. It reads all data from the tree in one swoop and produces a verkle proof. Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for e9467ee - Browse repository at this point
Copy the full SHA e9467eeView commit details
Commits on Aug 30, 2024
-
trie, core/state: Nyota EIP-6800 & EIP-4762 spec updates (#30357)
This PR implements changes related to [EIP-6800](https://eips.ethereum.org/EIPS/eip-6800) and [EIP-4762](https://eips.ethereum.org/EIPS/eip-4762) spec updates. A TL;DR of the changes is that `Version`, `Balance`, `Nonce` and `CodeSize` are encoded in a single leaf named `BasicData`. For more details, see the [_Header Values_ table in EIP-6800](https://eips.ethereum.org/EIPS/eip-6800#header-values). The motivation for this was simplifying access event patterns, reducing code complexity, and, as a side effect, saving gas since fewer leaf nodes must be accessed. --------- Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Co-authored-by: Felix Lange <fjl@twurst.com>
Configuration menu - View commit details
-
Copy full SHA for ab3ee99 - Browse repository at this point
Copy the full SHA ab3ee99View commit details
Commits on Sep 2, 2024
-
Include tracerConfig in created tracing test (#30364)
Fixes the tracer test filler for when there is tracerConfig.
Configuration menu - View commit details
-
Copy full SHA for 36a7134 - Browse repository at this point
Copy the full SHA 36a7134View commit details -
core/state: pull the verkle trie from prefetcher for empty storage ro…
…ot (#30369) This pull request fixes a flaw in prefetcher. In verkle tree world, both accounts and storage slots are committed into a single tree instance for state hashing. If the prefetcher is activated, we will try to pull the trie for the prefetcher for performance speedup. However, we had a special logic to skip pulling storage trie if the storage root is empty. While it's true for merkle as we have nothing to do with an empty storage trie, it's totally wrong for verkle. The consequences for skipping pulling is the storage changes are committed into trie A, while the account changes are committed into trie B (pulled from the prefetcher), boom.
Configuration menu - View commit details
-
Copy full SHA for 922eb03 - Browse repository at this point
Copy the full SHA 922eb03View commit details
Commits on Sep 3, 2024
-
funding.json: add funding information file (#30385)
Adds a list of funding identifiers.
Configuration menu - View commit details
-
Copy full SHA for de597af - Browse repository at this point
Copy the full SHA de597afView commit details
Commits on Sep 4, 2024
-
all: implement EIP-6110, execution layer triggered deposits (#29431)
This PR implements EIP-6110: Supply validator deposits on chain. It also sketches out the base for Prague in the engine API types.
Configuration menu - View commit details
-
Copy full SHA for dfd33c7 - Browse repository at this point
Copy the full SHA dfd33c7View commit details -
all: remove forkchoicer and reorgNeeded (#29179)
This PR changes how sidechains are handled. Before the merge, it was possible to import a chain with lower td and not set it as canonical. After the merge, we expect every chain that we get via InsertChain to be canonical. Non-canonical blocks can still be inserted with InsertBlockWIthoutSetHead. If during the InsertChain, the existing chain is not canonical anymore, we mark it as a sidechain and send the SideChainEvents normally.
Configuration menu - View commit details
-
Copy full SHA for b0b67be - Browse repository at this point
Copy the full SHA b0b67beView commit details -
core: fix compilation error (#30394)
un-borks a compilation error from a recent merge to master
Configuration menu - View commit details
-
Copy full SHA for fdb8499 - Browse repository at this point
Copy the full SHA fdb8499View commit details -
all: remove funding verifier (#30391)
Now that verification is done, we can remove the funding information.
Configuration menu - View commit details
-
Copy full SHA for 7ef49e3 - Browse repository at this point
Copy the full SHA 7ef49e3View commit details -
node: fix flaky jwt-test (#30388)
This PR fixes a flaky jwt-test. The test is a jwt "from one second in the future". The test passes; the reason for this is that the CI-system is slow, and by the time the jwt is actually evaluated, that second has passed, and it's no longer future. Alternative to #30380
Configuration menu - View commit details
-
Copy full SHA for c3f13b2 - Browse repository at this point
Copy the full SHA c3f13b2View commit details
Commits on Sep 5, 2024
-
build: increase go test timeout (#30398)
This increases the timeout for the go tests on ci, this should prevent travis from erroring. see: https://app.travis-ci.com/github/ethereum/go-ethereum/jobs/625803693
Configuration menu - View commit details
-
Copy full SHA for 23973bd - Browse repository at this point
Copy the full SHA 23973bdView commit details -
core/state: state reader abstraction (#29761)
This pull request introduces a state.Reader interface for state accessing. The interface could be implemented in various ways. It can be pure trie only reader, or the combination of trie and state snapshot. What's more, this interface allows us to have more flexibility in the future, e.g. the archive reader (for accessing archive state). Additionally, this pull request removes the following metrics - `chain/snapshot/account/reads` - `chain/snapshot/storage/reads`
Configuration menu - View commit details
-
Copy full SHA for 623b17b - Browse repository at this point
Copy the full SHA 623b17bView commit details
Commits on Sep 6, 2024
-
core/state: get rid of field pointer in journal (#30361)
This pull request replaces the field pointer in journal entry with the field itself, specifically the address of mutated account. While it will introduce the extra allocation cost, but it's easier for code reading. Let's measure the overhead overall to see if the change is acceptable or not.
Configuration menu - View commit details
-
Copy full SHA for 5035f99 - Browse repository at this point
Copy the full SHA 5035f99View commit details -
build: upgrade -dlgo version to Go 1.23.1 (#30404)
New security fix: https://groups.google.com/g/golang-announce/c/K-cEzDeCtpc
Configuration menu - View commit details
-
Copy full SHA for 83775b1 - Browse repository at this point
Copy the full SHA 83775b1View commit details -
internal/ethapi: eth_multicall (#27720)
This is a successor PR to #25743. This PR is based on a new iteration of the spec: ethereum/execution-apis#484. `eth_multicall` takes in a list of blocks, each optionally overriding fields like number, timestamp, etc. of a base block. Each block can include calls. At each block users can override the state. There are extra features, such as: - Include ether transfers as part of the logs - Overriding precompile codes with evm bytecode - Redirecting accounts to another address ## Breaking changes This PR includes the following breaking changes: - Block override fields of eth_call and debug_traceCall have had the following fields renamed - `coinbase` -> `feeRecipient` - `random` -> `prevRandao` - `baseFee` -> `baseFeePerGas` --------- Co-authored-by: Gary Rong <garyrong0905@gmail.com> Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 8f4fac7 - Browse repository at this point
Copy the full SHA 8f4fac7View commit details -
eth/fetcher: fix blob transaction propagation (#30125)
This PR fixes an issue with blob transaction propagation due to the blob transation txpool rejecting transactions with gapped nonces. The specific changes are: - fetch transactions from a peer in the order they were announced to minimize nonce-gaps (which cause blob txs to be rejected - don't wait on fetching blob transactions after announcement is received, since they are not broadcast Testing: - unit tests updated to reflect that fetch order should always match tx announcement order - unit test added to confirm blob transactions are scheduled immediately for fetching - running the PR on an eth mainnet full node without incident so far --------- Signed-off-by: Roberto Bayardo <bayardo@alum.mit.edu> Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 88c8459 - Browse repository at this point
Copy the full SHA 88c8459View commit details -
core/state/snapshot: port changes from 29995 (#30040)
#29995 has been reverted due to an unexpected flaw in the state snapshot process. Specifically, it attempts to stop the state snapshot generation, which could potentially cause the system to halt if the generation is not currently running. This pull request ports the changes made in #29995 and fixes the flaw.
Configuration menu - View commit details
-
Copy full SHA for d718312 - Browse repository at this point
Copy the full SHA d718312View commit details
Commits on Sep 10, 2024
-
beacon/engine/types: remove PayloadV4 (#30415)
h/t @MariusVanDerWijden for finding and fixing this on devnet 3. I made the mistake of thinking `PayloadVersion` was correlated with the `GetPayloadVX` method, but it actually tracks which version of `PayloadAttributes` were passed to `forkchoiceUpdated`. So far, Prague does not necessitate a new version of fcu, so there is no need for `PayloadV4`. Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Configuration menu - View commit details
-
Copy full SHA for c70b0a9 - Browse repository at this point
Copy the full SHA c70b0a9View commit details
Commits on Sep 11, 2024
-
core/vm: remove panic when address is not present (#30414)
Remove redundant address presence check in `makeGasSStoreFunc`. This PR simplifies the `makeGasSStoreFunc` function by removing the redundant check for address presence in the access list. The updated code now only checks for slot presence, streamlining the logic and eliminating unnecessary panic conditions. This change removes the unnecessary address presence check, simplifying the code and improving maintainability without affecting functionality. The previous panic condition was intended as a canary during the testing phases (i.e. _YOLOv2_) and is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for ec69830 - Browse repository at this point
Copy the full SHA ec69830View commit details
Commits on Sep 12, 2024
-
beacon/light/api: fixed blsync update query (#30421)
This PR fixes what ethereum/go-ethereum#30306 broke. Escaping the `?` in the event sub query was fixed in that PR but it was still escaped in the `updates` request. This PR adds a URL params argument to `httpGet` and fixes `updates` query formatting.
Configuration menu - View commit details
-
Copy full SHA for a01e974 - Browse repository at this point
Copy the full SHA a01e974View commit details
Commits on Sep 13, 2024
-
eth/filters: prevent concurrent access in test (#30401)
use a mutex to prevent concurrent access to the api.filters map during `TestPendingTxFilterDeadlock` test
Configuration menu - View commit details
-
Copy full SHA for 7c6b3f9 - Browse repository at this point
Copy the full SHA 7c6b3f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0b5d42 - Browse repository at this point
Copy the full SHA c0b5d42View commit details -
core/state, core/vm: Nyota contract create init simplification (#30409)
Implementation of [this EIP-4762 update](ethereum/EIPs#8867). --------- Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Co-authored-by: Tanishq Jasoria <jasoriatanishq@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9be2e01 - Browse repository at this point
Copy the full SHA 9be2e01View commit details -
p2p/enode: add quic ENR entry (#30283)
Add `quic` entry to the ENR as proposed in ethereum/consensus-specs#3644 --------- Co-authored-by: lightclient <lightclient@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for f544fc3 - Browse repository at this point
Copy the full SHA f544fc3View commit details
Commits on Sep 14, 2024
-
core/tracing: fix copy/paste error+comments in reason listing (#30431)
Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 07b5a04 - Browse repository at this point
Copy the full SHA 07b5a04View commit details -
core/txpool/blobpool: avoid possible zero index panic (#30430)
This situation(`len(txs) == 0`) rarely occurs, but if it does, it will panic. --------- Co-authored-by: Martin HS <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 0dd7e82 - Browse repository at this point
Copy the full SHA 0dd7e82View commit details
Commits on Sep 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ae70744 - Browse repository at this point
Copy the full SHA ae70744View commit details
Commits on Sep 16, 2024
-
internal: run tests in parallel (#30381)
Continuation of ethereum/go-ethereum#28546
Configuration menu - View commit details
-
Copy full SHA for 4c4f212 - Browse repository at this point
Copy the full SHA 4c4f212View commit details -
core/types: more easily extensible tx signing (#30372)
This change makes the code slightly easier for downstream-projects to extend with more signer-types, but if functionalily equivalent to the previous code.
Configuration menu - View commit details
-
Copy full SHA for 0342496 - Browse repository at this point
Copy the full SHA 0342496View commit details -
core, trie: prealloc capacity for maps (#30437)
- preallocate capacity for map - avoid `reinject` adding empty value - use `maps.Copy`
Configuration menu - View commit details
-
Copy full SHA for ec596e0 - Browse repository at this point
Copy the full SHA ec596e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dd2962 - Browse repository at this point
Copy the full SHA 8dd2962View commit details
Commits on Sep 17, 2024
-
core/tracing: add verkle gas change reasons to changelog (#30444)
Add changes from #30409 and #29338 to changelog. --------- Co-authored-by: Martin HS <martin@swende.se> Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8032b63 - Browse repository at this point
Copy the full SHA 8032b63View commit details
Commits on Sep 18, 2024
-
Revert "core/rawdb: remove unused transition status state accessors" …
…(#30449) Reverts ethereum/go-ethereum#30433
Configuration menu - View commit details
-
Copy full SHA for d09600f - Browse repository at this point
Copy the full SHA d09600fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f321dfa - Browse repository at this point
Copy the full SHA f321dfaView commit details -
Merge pull request #30456 from ethereum/master
Merge branch 'master' into release/1.14
Configuration menu - View commit details
-
Copy full SHA for c350d3a - Browse repository at this point
Copy the full SHA c350d3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for af794ef - Browse repository at this point
Copy the full SHA af794efView commit details
Commits on Sep 19, 2024
-
genesis: fix dev mode alloc (#30460)
Balance being null causes `getGenesisState` to fail as the balance field is required in json marshaling of an account.
Configuration menu - View commit details
-
Copy full SHA for 868d53c - Browse repository at this point
Copy the full SHA 868d53cView commit details -
core: minor fix for the log wrapper with debug purpose (#30454)
After this PR, ethereum/go-ethereum#28187, the way to set the default logger is different. This PR only updates the way to set logger in some test cases' comments that existed in the codebase (since this commit ethereum/go-ethereum@b63e3c37a6). Although I am not sure if it a good way to leave the code in the comment, it truly makes me more efficiently to debug and fix the failing test cases.
Configuration menu - View commit details
-
Copy full SHA for c4c2c4f - Browse repository at this point
Copy the full SHA c4c2c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7513966 - Browse repository at this point
Copy the full SHA 7513966View commit details -
Configuration menu - View commit details
-
Copy full SHA for deb5c08 - Browse repository at this point
Copy the full SHA deb5c08View commit details
Commits on Sep 20, 2024
-
build: fix macos builds by working around travis osx flaw (#30479)
This should fix ethereum/go-ethereum#30471. See investigation in ethereum/go-ethereum#30478 for more background.
Configuration menu - View commit details
-
Copy full SHA for b018da9 - Browse repository at this point
Copy the full SHA b018da9View commit details -
beacon, core, eth, miner: integrate witnesses into production Geth (#…
…30069) This PR integrates witness-enabled block production, witness-creating payload execution and stateless cross-validation into the `engine` API. The purpose of the PR is to enable the following use-cases (for API details, please see next section): - Cross validating locally created blocks: - Call `forkchoiceUpdatedWithWitness` instead of `forkchoiceUpdated` to trigger witness creation too. - Call `getPayload` as before to retrieve the new block and also the above created witness. - Call `executeStatelessPayload` against another client to cross-validate the block. - Cross validating locally processed blocks: - Call `newPayloadWithWitness` instead of `newPayload` to trigger witness creation too. - Call `executeStatelessPayload` against another client to cross-validate the block. - Block production for stateless clients (local or MEV builders): - Call `forkchoiceUpdatedWithWitness` instead of `forkchoiceUpdated` to trigger witness creation too. - Call `getPayload` as before to retrieve the new block and also the above created witness. - Propagate witnesses across the consensus libp2p network for stateless Ethereum. - Stateless validator validation: - Call `executeStatelessPayload` with the propagated witness to statelessly validate the block. *Note, the various `WithWitness` methods could also *just be* an additional boolean flag on the base methods, but this PR wanted to keep the methods separate until a final consensus is reached on how to integrate in production.* --- The following `engine` API types are introduced: ```go // StatelessPayloadStatusV1 is the result of a stateless payload execution. type StatelessPayloadStatusV1 struct { Status string `json:"status"` StateRoot common.Hash `json:"stateRoot"` ReceiptsRoot common.Hash `json:"receiptsRoot"` ValidationError *string `json:"validationError"` } ``` - Add `forkchoiceUpdatedWithWitnessV1,2,3` with same params and returns as `forkchoiceUpdatedV1,2,3`, but triggering a stateless witness building if block production is requested. - Extend `getPayloadV2,3` to return `executionPayloadEnvelope` with an additional `witness` field of type `bytes` iff created via `forkchoiceUpdatedWithWitnessV2,3`. - Add `newPayloadWithWitnessV1,2,3,4` with same params and returns as `newPayloadV1,2,3,4`, but triggering a stateless witness creation during payload execution to allow cross validating it. - Extend `payloadStatusV1` with a `witness` field of type `bytes` if returned by `newPayloadWithWitnessV1,2,3,4`. - Add `executeStatelessPayloadV1,2,3,4` with same base params as `newPayloadV1,2,3,4` and one more additional param (`witness`) of type `bytes`. The method returns `statelessPayloadStatusV1`, which mirrors `payloadStatusV1` but replaces `latestValidHash` with `stateRoot` and `receiptRoot`.
Configuration menu - View commit details
-
Copy full SHA for 9326a11 - Browse repository at this point
Copy the full SHA 9326a11View commit details
Commits on Sep 22, 2024
-
travis: work around travis/osx/go1.23 setup bug (#30491)
This is a work-around for a strange issue with travis, specifically, `os=osx, go: 1.23.1`. When this is used, the actual go that ends up being used is `go1.19.4 darwin/amd64 `. Using `which go`, it told me that the `go` in the path was a softlink at `/Users/travis/gopath/bin/go1.23.1 `. However, this was not true: using `command -v go`, it told me that the actual `go` that was used is a softlink at `/usr/local/bin/go`. This change rewrites the `/usr/local/bin/go` softlink to point to the binary at `/Users/travis/gopath/bin/go1.23.1`, so we get the right go-version.
Configuration menu - View commit details
-
Copy full SHA for f4c6c03 - Browse repository at this point
Copy the full SHA f4c6c03View commit details
Commits on Sep 23, 2024
-
cmd/utils: fix
setEtherbase
(#30488)Make `setEtherbase` fall thorugh and handle `miner.pending.feeRecipient` after showing deprecation-warning for `miner.etherbase`-flag.
Configuration menu - View commit details
-
Copy full SHA for 118c84a - Browse repository at this point
Copy the full SHA 118c84aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 956d32d - Browse repository at this point
Copy the full SHA 956d32dView commit details -
core/state: commit snapshot only if the base layer exists (#30493)
This pull request skips the state snapshot update if the base layer is not existent, eliminating the numerous warning logs after an unclean shutdown. Specifically, Geth will rewind its chain head to a historical block after unclean shutdown and state snapshot will be remained as unchanged waiting for recovery. During this period of time, the snapshot is unusable and all state updates should be ignored/skipped for state snapshot update.
Configuration menu - View commit details
-
Copy full SHA for b805772 - Browse repository at this point
Copy the full SHA b805772View commit details -
internal/ethapi/api: for simulated calls, set gaspool to max value if…
… global gascap is 0 (#30474) In #27720, we introduced RPC global gas cap. A value of `0` means an unlimited gas cap. However, this was not the case for simulated calls. This PR fixes the behaviour.
Configuration menu - View commit details
-
Copy full SHA for 564b616 - Browse repository at this point
Copy the full SHA 564b616View commit details
Commits on Sep 24, 2024
-
core/rawdb: make sure specified state scheme is valid (#30499)
This change exits with error if user provided a `--state.scheme` which is neither `hash` nor `path`
Configuration menu - View commit details
-
Copy full SHA for 2278647 - Browse repository at this point
Copy the full SHA 2278647View commit details -
internal/ethapi: fix gascap 0 for eth_simulateV1 (#30496)
Similar to #30474.
Configuration menu - View commit details
-
Copy full SHA for f2e13c7 - Browse repository at this point
Copy the full SHA f2e13c7View commit details -
core/tracing, core/vm: add ContractCode to the OpContext (#30466)
Extends the opcontext interface to include accessor for code being executed in current context. While it is possible to get the code via `statedb.GetCode`, that approach doesn't work for initcode.
Configuration menu - View commit details
-
Copy full SHA for 55ed8fe - Browse repository at this point
Copy the full SHA 55ed8feView commit details -
core/vm: more benchmarks for bls g1/g2-multiexp precompiles (#30459)
This change adds more comprehensive benchmarks with a wider-variety of input sizes for g1 and g2 multi exponentiation.
Configuration menu - View commit details
-
Copy full SHA for 80b529e - Browse repository at this point
Copy the full SHA 80b529eView commit details
Commits on Sep 26, 2024
-
p2p/discover: fix flaky tests writing to test.log after completion (#…
…30506) This PR fixes two tests, which had a tendency to sometimes write to the `*testing.T` `log` facility after the test function had completed, which is not allowed. This PR fixes it by using waitgroups to ensure that the handler/logwriter terminates before the test exits. closes #30505
Configuration menu - View commit details
-
Copy full SHA for b5a88da - Browse repository at this point
Copy the full SHA b5a88daView commit details -
deps: update supranational/blst (#30504)
This update should only affect the fuzzers, as far as I know. But it seems like it might also fix some arm/macos compilation issue in ethereum/go-ethereum#30494 Closes #30494 (I think)
Configuration menu - View commit details
-
Copy full SHA for 93675d1 - Browse repository at this point
Copy the full SHA 93675d1View commit details -
core/txpool, eth/catalyst: ensure gas tip retains current value upon …
…rollback (#30495) Here we move the method that drops all transactions by temporarily increasing the fee into the TxPool itself. It's better to have it there because we can set it back to the configured value afterwards. This resolves a TODO in the simulated backend.
Configuration menu - View commit details
-
Copy full SHA for bb9897f - Browse repository at this point
Copy the full SHA bb9897fView commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9274f28 - Browse repository at this point
Copy the full SHA 9274f28View commit details -
Configuration menu - View commit details
-
Copy full SHA for abbd3d9 - Browse repository at this point
Copy the full SHA abbd3d9View commit details -
Merge pull request #30518 from holiman/blobpool_fix
core/txpool/blobpool: return all reinject-addresses
Configuration menu - View commit details
-
Copy full SHA for 52a9d89 - Browse repository at this point
Copy the full SHA 52a9d89View commit details -
Revert "core/txpool, eth/catalyst: ensure gas tip retains current val…
…ue upon rollback" (#30521) Reverts ethereum/go-ethereum#30495 You are free to create a proper Clear method if that's the best way. But one that does a proper cleanup, not some hacky call to set gas which screws up logs, metrics and everything along the way. Also doesn't work for legacy pool local transactions. The current code had a hack in the simulated code, now we have a hack in live txpooling code. No, that's not acceptable. I want the live code to be proper, meaningful API, meaningful comments, meaningful implementation.
Configuration menu - View commit details
-
Copy full SHA for 1df75db - Browse repository at this point
Copy the full SHA 1df75dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2695518 - Browse repository at this point
Copy the full SHA 2695518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1015a42 - Browse repository at this point
Copy the full SHA 1015a42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 283be23 - Browse repository at this point
Copy the full SHA 283be23View commit details
Commits on Sep 30, 2024
-
p2p/discover: add config option for disabling FINDNODE liveness check…
… (#30512) This is for fixing Prysm integration tests.
Configuration menu - View commit details
-
Copy full SHA for 6b61b54 - Browse repository at this point
Copy the full SHA 6b61b54View commit details -
core/txpool/blobpool: use types.Sender instead of signer.Sender (#30473)
Use types.Sender(signer, tx) to utilize the transaction's sender cache and avoid repeated address recover.
Configuration menu - View commit details
-
Copy full SHA for 0a21cb4 - Browse repository at this point
Copy the full SHA 0a21cb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfe25c7 - Browse repository at this point
Copy the full SHA cfe25c7View commit details -
eth/catalyst: use setcanonical instead of sethead in simulated fork (…
…#30465) Fixes ethereum/go-ethereum#30448
Configuration menu - View commit details
-
Copy full SHA for e67d5f8 - Browse repository at this point
Copy the full SHA e67d5f8View commit details -
cmd/geth: remove deprecated lightchaindata db (#30527)
This PR removes the dependencies on `lightchaindata` db as the light protocol has been deprecated and removed from the codebase.
Configuration menu - View commit details
-
Copy full SHA for db6ae7f - Browse repository at this point
Copy the full SHA db6ae7fView commit details
Commits on Oct 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 40fd887 - Browse repository at this point
Copy the full SHA 40fd887View commit details -
Configuration menu - View commit details
-
Copy full SHA for f14f13b - Browse repository at this point
Copy the full SHA f14f13bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3c696f - Browse repository at this point
Copy the full SHA f3c696fView commit details
Commits on Nov 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 82e0d8c - Browse repository at this point
Copy the full SHA 82e0d8cView commit details
Commits on Nov 22, 2024
-
fix: Prague code merge [v1.13.15, v1.14.11] CI fix (#55)
* fix compile for statedb_test.go * format addresses of core/vm/contracts * fix compilation of package simulated * tests: update tests * remove rootParent in triePrefetcher * add ClearAccessList for processing system txs before Cancun * copy prefetcher when copy statedb * always prefetch the account trie once the prefetcher is constructed * recover TriePrefetchInAdvance * fix comment for s.StopPrefetcher * fix noTrie in statedb.go * improve SnapToDiffLayer * fix test cases in core/state * fix compilation of test cases in core * fix compilation of test cases in cmd, internal and trie * remove Requests in BlockBody * define RequestsHash in parlia engine * fix compilation of test cases in eth * fix compilation of test cases in ethclient and miner * fix compilation of test cases in triedb/pathdb * add todo for relation between witness and noTrie * fix Nancy CI * fix golangci-lint part I * update golang to 1.23.x from 1.21.x in workflows * remove sepoliaAllocData and holeskyAllocData * modifiy interface FinalizeAndAssemble * fix golangci-lint part II * fix golangci-lint part III * fix golangci-lint done * check for multidb * improve interface EnableBlockValidator * fix getGenesisState * code review for core/rawdb * fix mustCopyTrie * fix state_processor * adapt for changes in func NewBlock * improve EncodeSigHeader * fix test cases in dir core, part I * fix TestParliaBlobFeeReward * fix repairHistory * remove diskdb in triedb.Database * fix asyncnodebuffer * adapt memory freezer for blob table * comment verkle related test cases * fix golang lint * use 1.21.x to run golangci-lint * fix TestBsc1Messages * fix TestSnapSyncWithBlobs * fix traceTx * update golang version for docker * improve newWorker * fix: truncate state history ut * TestTailTruncateHistory clear up * fix test cases in dir tests * remove deprecated flags in truffle test * comment filterNode * HeaderChain.GenesisHeader * fix golangcilint * fix truffle-test CI * update .nancy-ignore to avoid conflicts with develop branch * update diff go-ethereum patch * remove isTTDReached in worker * fix mockparlia FinalizeAndAssemble * fix golangci-lint * fix makeEnv * change log level for tri prefetch --------- Co-authored-by: joeylichang <joeycli0919@gmail.com> Co-authored-by: joey <joeycli@tencent.com>
Configuration menu - View commit details
-
Copy full SHA for 6d87312 - Browse repository at this point
Copy the full SHA 6d87312View commit details