Chen Kai
c6b57fdff7
fix:upgrade zrnt
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-19 21:04:42 +08:00
Chen Kai
3bf3494178
Merge branch 'ethereum:master' into portal
2024-04-19 20:41:12 +08:00
Chen Kai
3014734c46
fix:fix minor warn issues
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-19 20:19:53 +08:00
Marius van der Wijden
2e06fbd409
core/vm: add KZG benchmark ( #29583 )
2024-04-19 13:46:43 +02:00
Chen Kai
bcc4d59065
Merge branch 'ethereum:master' into portal
2024-04-19 16:23:04 +08:00
Mario Vega
cce879b71b
tests: define cancun-to-prague at 15K chainconig ( #29557 )
...
tests: add cancun->prague config
2024-04-19 10:07:52 +02:00
ids
81349ff6e5
eth/catalyst: fix typo ( #29580 )
2024-04-19 09:58:14 +02:00
Chen Kai
be7fc977c4
fix:make offered content async gossip
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-18 21:28:37 +08:00
fearlseefe
e97bca61ec
fix: gossip in hive test
2024-04-18 20:01:03 +08:00
Chen Kai
c2bef98ad5
Merge branch 'ethereum:master' into portal
2024-04-18 17:05:29 +08:00
Martin HS
823719b9e1
core/vm: enable bls-precompiles for Prague ( #29552 )
...
enables the bls-contracts on the "Prague" config, so that the testing-team can activate them to make tests.
2024-04-18 09:08:25 +02:00
rjl493456442
b5902cf595
core: remove unused fields ( #29569 )
2024-04-18 14:48:50 +08:00
ucwong
5f95145308
eth/ethconfig: regenerate autogen files ( #29559 )
...
eth/ethconfig/gen_config.go : go generate fix
2024-04-18 08:21:23 +02:00
Chen Kai
54189a7289
Merge branch 'ethereum:master' into portal
2024-04-18 11:06:10 +08:00
Chen Kai
5805416966
feat:add state nibbles type
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-04-18 11:05:59 +08:00
Felföldi Zsolt
0da69e84c0
beacon/blsync: proceed with empty finalized hash if proof is not expected soon ( #29449 )
...
* beacon/blsync: proceed with empty finalized hash if proof is not expected soon
* Update beacon/blsync/block_sync.go
Co-authored-by: Felix Lange <fjl@twurst.com>
* beacon/blsync: fixed linter warning
* Update beacon/blsync/block_sync.go
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
2024-04-17 17:07:28 +02:00
Aaron Chen
1e9bf2a09e
core/state: fix bug in statedb.Copy and remove unnecessary preallocation ( #29563 )
...
This change removes an unnecessary preallocation and fixes a flaw with no-op copies of some parts of the statedb
2024-04-17 13:55:31 +02:00
Chen Kai
f1a812fcad
Merge branch 'ethereum:master' into portal
2024-04-17 18:32:35 +08:00
fearlseefe
2e2f44b615
feat: remove unused file
2024-04-17 18:29:33 +08:00
fearlessfe
9c0a5ccb74
feat: beacon start up
2024-04-17 18:29:33 +08:00
fearlessfe
5dc91e20ba
feat: refactor start ip
2024-04-17 18:29:33 +08:00
Aaron Chen
74e8d2da97
trie/utils: simplify codeChunkIndex ( #29480 )
...
minor simplification to the code
2024-04-17 08:24:30 +02:00
rjl493456442
27de7dec65
ethdb/pebble: print warning log if pebble performance degrades ( #29478 )
2024-04-17 13:52:08 +08:00
Chen Kai
9ff196c88b
Merge branch 'ethereum:master' into portal
2024-04-17 12:04:14 +08:00
Devon Bear
92da96b7d5
core/vm: refactor push-functions to use min builtin ( #29515 )
...
* optimize-push
* revert push1 change
* Update instructions.go
* core/vm: go format
* core/vm: fix nit
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2024-04-16 15:57:57 +03:00
persmor
0a51028819
all: fix various typos ( #29542 )
...
* core/rawdb: fix typos
* accounts/abi: fix typos
* metrics: fix typo
* beacon: fix typo
* crypto: fix typo
* rpc: fix typo
* rpc: fix typo
2024-04-16 15:44:00 +03:00
ucwong
5ffd940b7e
core: go fmt ( #29544 )
2024-04-16 15:42:16 +03:00
ucwong
65e32d47ea
go.mod: clean up indirection ( #29553 )
2024-04-16 15:32:50 +03:00
Chris Ziogas
72f69366de
c.d/utils: rename vmtrace.config to vmtrace.jsonconfig ( #29554 )
...
rename vmtrace.config to vmtrace.jsonconfig
for consinstency with t8ntool trace.jsonconfig
2024-04-16 15:31:19 +03:00
Chen Kai
c9ba5bc81b
Merge branch 'ethereum:master' into portal
2024-04-16 20:26:59 +08:00
law wang
fadd9d8b81
eth/catalyst: fix log ( #29549 )
...
log:output the correct variable
Co-authored-by: steven <steven@stevendeMacBook-Pro.local>
2024-04-16 11:21:20 +02:00
Marius van der Wijden
f437307877
core/vm: update gascosts for BLS12-381 + use gnark instead of kilic ( #29441 )
...
This PR updates the bls contracts from our internal implementation which is an unmaintained fork of the kilic library to the gnark-crypto library that is actively maintained by consensys.
It also updates the gas-costs according to the EIP
2024-04-16 10:53:43 +02:00
Darioush Jalali
71c78bf56d
rpc: close Clients in tests ( #29512 )
2024-04-16 10:38:25 +02:00
Marcus Baldassarre
e4ecaf89cf
rpc: implement Unwrap() for wsHandshakeError ( #29522 )
2024-04-16 10:37:18 +02:00
rjl493456442
d3c4466edd
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie ( #29313 )
...
This pull request defines a gentrie for snap sync purpose.
The stackTrie is used to generate the merkle tree nodes upon receiving a state batch. Several additional options have been added into stackTrie to handle incomplete states (either missing states before or after).
In this pull request, these options have been relocated from stackTrie to genTrie, which serves as a wrapper for stackTrie specifically for snap sync purposes.
Further, the logic for managing incomplete state has been enhanced in this change. Originally, there are two cases handled:
- boundary node filtering
- internal (covered by extension node) node clearing
This changes adds one more:
- Clearing leftover nodes on the boundaries.
This feature is necessary if there are leftover trie nodes in database, otherwise node inconsistency may break the state healing.
2024-04-16 09:05:36 +02:00
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