Chen Kai
79c769e635
Merge branch 'ethereum:master' into portal
2024-04-16 08:15:57 +08:00
Martin HS
ef5ac3fb7a
eth/filters: enforce topic-limit early on filter criterias ( #29535 )
...
This PR adds a limit of 1000 to the "inner" topics in a filter-criteria
2024-04-15 17:35:35 +02:00
Seungbae Yu
67422e2a56
p2p/nat: fix typos in comments ( #29536 )
2024-04-15 14:58:17 +02:00
Martin HS
84b12df09e
core/rawdb: add sanity-limit to header accessor ( #29534 )
2024-04-15 14:54:51 +02:00
Chen Kai
56462f1df9
Merge branch 'ethereum:master' into portal
2024-04-15 15:20:58 +08:00
yudrywet
3705acd1a9
cmd/utils: fix typo in comment ( #29528 )
2024-04-15 08:40:42 +02:00
Abirdcfly
b179b7b8e7
all: remove duplicate word in comments ( #29531 )
...
This change removes some duplicate words in in comments
2024-04-15 08:34:31 +02:00
Chen Kai
eb3206b1e1
feat:beacon network test
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-15 09:37:39 +08:00
fearlseefe
5cc962afc7
fix: test err
2024-04-12 18:35:54 +08:00
fearlseefe
9077ad49dd
feat: add test for sync method
2024-04-12 18:35:54 +08:00
fearlessfe
0cc10d5436
feat: add sync method
2024-04-12 18:35:54 +08:00
Chen Kai
e9b80182b5
Merge branch 'ethereum:master' into portal
2024-04-11 21:24:39 +08:00
fearlseefe
a476a6d05c
feat: add test for verify update
2024-04-11 21:24:30 +08:00
fearlessfe
6e4d7ba533
faet: add apply update method
2024-04-11 21:24:30 +08:00
forestkeeperio.eth
bd91810462
cmd: fix some typos in readmes ( #29405 )
...
* Update README.md
updated for readability
* Update rules.md
Updated for readability and typos
2024-04-11 14:06:49 +03:00
Newt6611
b9010f3e87
rpc: fix comment grammar ( #29507 )
2024-04-11 11:30:15 +03:00
Chen Kai
b754c67483
Merge branch 'ethereum:master' into portal
2024-04-11 11:10:25 +08:00
Chen Kai
831453a528
feat:bootstrap test
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-11 10:29:23 +08:00
rjl493456442
9dcf8aae47
eth/protocols/snap: skip retrieval for completed storages ( #29378 )
...
* eth/protocols/snap: skip retrieval for completed storages
* eth/protocols/snap: address comments from peter
* eth/protocols/snap: add comments
2024-04-10 12:02:45 +03:00
fearlseefe
df8ac5749d
feat: add verify update method
2024-04-10 16:06:25 +08:00
fearlseefe
f0c0ceb204
feat: verify update
2024-04-10 16:06:25 +08:00
彭振
d02baa292f
Merge pull request #82 from GrapeBaBa/portal1
...
feat:light client init bootstrap
2024-04-10 11:00:58 +08:00
Chen Kai
c203f9ac8e
Merge branch 'ethereum:master' into portal
2024-04-09 20:02:33 +08:00
Chen Kai
3cb15c2348
feat:light client init bootstrap
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-09 19:54:31 +08:00
Aaron Chen
34aac1d756
all: use big.Sign to compare with zero ( #29490 )
2024-04-09 12:14:30 +02:00
Sina M
f202dfdd47
core/tracing: add changelog ( #29388 )
...
Co-authored-by: Matthieu Vachon <matthieu.o.vachon@gmail.com>
2024-04-09 12:12:02 +02:00
Bin
0bbd88bda0
all: use timer instead of time.After in loops, to avoid memleaks ( #29241 )
...
time.After is equivalent to NewTimer(d).C, and does not call Stop if the timer is no longer needed. This can cause memory leaks. This change changes many such occations to use NewTimer instead, and calling Stop once the timer is no longer needed.
2024-04-09 08:51:54 +02:00
rjl493456442
1126c6d8a5
core: add txlookup lock ( #29343 )
...
This change adds a lock to the transaction lookup cache, to avoid the case where reorgs make the lookup return inconsistent results.
2024-04-09 08:37:18 +02:00
cui
3caf617dcd
core/vm: move bls precompiles to correct addresses ( #29445 )
...
core: make bls precompiled contract use the correct address as in eip
2024-04-09 08:33:36 +02:00
Mohanson
f447de936c
rlp: replace reflect.PtrTo with reflect.PointerTo ( #29488 )
...
reflect.PtrTo has been deprecated and superseded by reflect.PointerTo
2024-04-09 08:27:13 +02:00
Aaron Chen
70bf94c34e
internal, signer/core: replace path.Join with filepath.Join ( #29489 )
2024-04-09 08:22:53 +02:00
彭振
d9d612d94a
Merge pull request #80 from GrapeBaBa/lc_api
...
feat:add light client types
2024-04-09 11:51:11 +08:00
Chen Kai
75a9bc1b54
Merge branch 'ethereum:master' into portal
2024-04-08 21:53:47 +08:00
fearlseefe
eb46343944
feat: beacon-storage-part2
...
impl get and put for LightClientFinalityUpdate and LightClientOptimisticUpdate
2024-04-08 21:52:29 +08:00
Chen Kai
23a502a2c3
feat:add light client types
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-08 21:51:16 +08:00
rjl493456442
c170cc0ab0
core/vm: reject contract creation if the storage is non-empty ( #28912 )
...
This change implements EIP-7610, which rejects the contract deployment if the destination has non-empty storage.
2024-04-08 15:48:37 +02:00
seayyyy
3c75c64e6b
core: fix typo ( #29438 )
2024-04-08 13:02:56 +02:00
Sina M
c3465cb5ba
core: fix dev mode genesis difficulty ( #29469 )
...
The dev mode is nowadays in Merge-mode from genesis, hence the difficulty of the first block should be zero.
2024-04-08 13:01:22 +02:00
Aaron Chen
ed4bc7f27b
all: replace fmt.Errorf() with errors.New() if no param required ( #29472 )
2024-04-08 12:59:17 +02:00
Aaron Chen
cfc7d06cc9
signer/core/apitypes: use slices.Contains ( #29474 )
2024-04-08 12:58:37 +02:00
imalasong
0dc09da7db
all: replace path.Join with filepath.Join ( #29479 )
...
* core/rawdb: replace file.Join with filepath.Join
Signed-off-by: xiaochangbai <704566072@qq.com>
* internal/build: replace file.Join with filepath.Join
Signed-off-by: xiaochangbai <704566072@qq.com>
---------
Signed-off-by: xiaochangbai <704566072@qq.com>
2024-04-08 12:29:49 +03:00
fearlessfe
74e0424686
feat: beacon-storage-part1
...
impl get and put for LightClientBootstrap and LightClientUpdatesByRange
2024-04-08 11:04:31 +08:00
Chen Kai
f7834b5be1
feat:add remain light client content type
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-07 23:16:15 +08:00
Chen Kai
dd8588c97e
Merge branch 'ethereum:master' into portal
2024-04-07 15:29:12 +08:00
Chen Kai
bf6dd12bad
feat:make spec arg
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-07 15:28:59 +08:00
Chen Kai
6edb2a29b3
feat:add lc bootstrap and update range
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-07 15:28:59 +08:00
Martin HS
7aafad2233
core/vm: better error-info for vm errors ( #29354 )
2024-04-06 12:22:55 +02:00
Roberto Bayardo
8876868bb8
log: default JSON log handler should log all verbosity levels ( #29471 )
...
Co-authored-by: lightclient <lightclient@protonmail.com>
2024-04-06 12:17:41 +02:00
Aaron Chen
ccb76c01d7
eth/tracers: use slices.Contains ( #29461 )
2024-04-06 12:16:25 +02:00
Aaron Chen
74995bf8a1
all: use slices.Contains ( #29459 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-04-06 12:05:06 +02:00