Chen Kai
9624e6f4c0
Merge branch 'ethereum:master' into portal
2024-06-29 20:20:18 +08:00
Ceyhun Onur
7cfff30ba3
rpc: truncate call error data logs ( #30028 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-06-28 20:37:58 +02:00
gitglorythegreat
06f1d077d3
all: replace division with right shift if possible ( #29911 )
2024-06-28 18:08:31 +02:00
maskpp
4939c25341
cmd/evm/internal/t8ntool: log writeTraceResult error message ( #30038 )
2024-06-28 18:05:57 +02:00
maskpp
36d67be41b
core/txpool/blobpool: improve newPriceHeap function ( #30050 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-06-28 15:51:27 +02:00
lilasxie
19c3c1e205
triedb/pathdb: fix flaky test in pathdb ( #29901 )
2024-06-28 21:15:54 +08:00
rjl493456442
045b9718d5
trie: relocate state execution logic into pathdb package ( #29861 )
2024-06-27 20:30:39 +08:00
Halimao
269e80b07e
eth/tracers,trie: remove unnecessary check ( #30071 )
2024-06-27 11:29:50 +02:00
maskpp
9298d2db88
trie/trienode: remove unnecessary check in Summary ( #30047 )
2024-06-25 15:45:33 +02:00
maskpp
98b5930d2d
core/txpool/blobpool: avoid use *map as parameter. ( #30048 )
2024-06-25 14:19:04 +02:00
jwasinger
ed8fd0ac09
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>
2024-06-25 14:48:08 +03:00
AMIR
73f7e7c087
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).
2024-06-25 11:30:58 +02:00
Halimao
fe0c0b04fe
accounts/keystore: use t.TempDir in test ( #30052 )
2024-06-25 11:24:33 +02:00
lightclient
0a651f8972
.github: add lightclient as codeowner to relevant packages ( #30062 )
2024-06-25 11:16:27 +02:00
lightclient
d8ea7ac2b0
cmd/blsync: use debug.Setup for logging configuration ( #30065 )
2024-06-25 11:14:12 +02:00
fearlseefe
4e6a44fb89
feat: add state content key
2024-06-22 19:29:56 +08:00
Chen Kai
0f8632ed9b
Merge branch 'ethereum:master' into portal
2024-06-22 11:39:03 +08:00
Halimao
a71f6f91fd
p2p/discover: improve flaky revalidation tests ( #30023 )
2024-06-21 15:29:07 +02:00
rjl493456442
c10ac4f48f
Revert "core/state/snapshot: tiny fixes" ( #30039 )
...
Revert "core/state/snapshot: tiny fixes (#29995 )"
This reverts commit e0e45dbc32 .
2024-06-21 10:42:43 +03:00
rjl493456442
e0e45dbc32
core/state/snapshot: tiny fixes ( #29995 )
2024-06-21 09:51:03 +08:00
David Theodore
27654d3022
p2p/rlpx: 2KB maximum size for handshake messages ( #30029 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-06-20 14:08:54 +02:00
Chen Kai
1189e67f12
fix:make add enr
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-06-20 16:31:52 +08:00
Chen Kai
a7cb535e53
Merge branch 'ethereum:master' into portal
2024-06-20 16:16:44 +08:00
maskpp
00675c5876
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>
2024-06-20 11:47:29 +08:00
Chen Kai
792b4746b8
fix:add lock in addenr
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-06-19 21:46:22 +08:00
psogv0308
27008408a5
core/txpool/blobpool: change rw-lock to r-lock ( #29989 )
2024-06-19 14:46:57 +02:00
Chen Kai
98047b22a3
Merge branch 'ethereum:master' into portal
2024-06-19 19:22:49 +08:00
Halimao
c11aac249d
common: using ParseUint instead of ParseInt ( #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>
2024-06-19 11:06:52 +02:00
jwasinger
0e3a0a693c
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>
2024-06-19 10:58:22 +03:00
Ha DANG
67a862db9d
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>
2024-06-19 14:47:17 +08:00
Chen Kai
9918abaaa1
fix:add lock when del enr
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-06-19 09:29:39 +08:00
Chen Kai
af02291ad4
fix:add enr should add node immediately
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-06-18 21:12:43 +08:00
Chen Kai
f8c05e17eb
feat:add default bootnodes
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-06-18 19:51:30 +08:00
Chen Kai
346440e510
Merge branch 'ethereum:master' into portal
2024-06-18 14:07:29 +08:00
Marius van der Wijden
7cf6a63687
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
2024-06-18 10:52:49 +08:00
Chen Kai
13e8f62b34
fix:fix delete no lock
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-06-18 08:28:24 +08:00
Dean Eigenmann
d8664490da
common/math: fix out of bounds access in json unmarshalling ( #30014 )
...
Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-06-17 21:53:00 +02:00
maskpp
c736b04d9b
triedb/pathdb: use maps.Clone and maps.Keys ( #29985 )
2024-06-17 17:09:29 +02:00
Chen Kai
6a01b9bd0b
Merge branch 'gethmaster' into selfportal
2024-06-17 20:48:41 +08:00
Chen Kai
6088495691
fix:merge geth p2p change
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-06-17 20:28:49 +08:00
maskpp
115d154392
trie, triedb/pathdb: prealloc capacity for map and slice ( #29986 )
2024-06-17 11:42:41 +02:00
Zoro
b78d2352ef
log: fix some functions comments ( #29907 )
...
updates some docstrings
---------
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2024-06-17 11:03:27 +02:00
Péter Szilágyi
a58e4f0674
go.mod: update Pebble to sort out a deleted upstream dependency ( #30010 )
2024-06-17 11:15:27 +03:00
maskpp
34b46a2f75
core/state/snapshot: add a missing lock ( #30001 )
...
* upgrade lock usage
* revert unnecessary change
2024-06-17 10:42:39 +03:00
Darioush Jalali
fd5078c779
trie/triedb: add Reader to backend interface ( #29988 )
2024-06-14 14:52:46 +08:00
Chen Kai
4641a25656
fix:change nat default any
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-06-13 15:45:35 +08:00
Chen Kai
6795c90755
feat:rm get internal ip
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-06-13 13:37:40 +08:00
Felföldi Zsolt
86150af2e5
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
2024-06-12 16:38:19 +02:00
jwasinger
69351e8b0f
core/state, eth/protocols, trie, triedb/pathdb: remove unused error from 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>
2024-06-12 12:23:16 +03:00
jackyin
3687c34cfc
accounts: avoid duplicate regex compilation ( #29943 )
...
* fix: Optimize regular initialization
* modify var name
* variable change to private types
2024-06-12 10:46:36 +03:00