Chen Kai
144f327b6c
Merge branch 'ethereum:master' into portal
2024-04-24 09:19:31 +08:00
彭振
a8452844bb
Merge pull request #100 from fearlessfe/hs
...
refactor: history storage
2024-04-23 22:39:23 +08:00
Mario Vega
94579932b1
core/vm: fix Prague contracts ( #29612 )
...
core/vm: fix prague contracts
2024-04-23 15:10:24 +02:00
fearlessfe
dfdd76315d
refactor: history storage
2024-04-23 20:00:01 +08:00
Felföldi Zsolt
256d4b099c
beacon/light: request finality update explicitly when necessary ( #29567 )
...
This PR adds an extra mechanism to sync.HeadSync that tries to retrieve the latest finality update from every server each time it sends an optimistic update in a new epoch (unless we already have a validated finality update attested in the same epoch).
Note that this is not necessary and does not happen if the new finality update is delivered before the optimistic update. The spec only mandates light_client_finality_update events when a new epoch is finalized. If the chain does not finalize for a while then we might need an explicit request that returns a finality proof that proves the same finality epoch from the latest attested epoch.
2024-04-23 13:31:32 +02:00
haoran
b2b0e1da8c
all: fix various typos ( #29600 )
...
* core: fix typo
* rpc: fix typo
* snap: fix typo
* trie: fix typo
* main: fix typo
* abi: fix typo
* main: fix field comment for basicOp
2024-04-23 13:09:42 +03:00
Aaron Chen
709e0b3997
metrics: remove librato ( #29624 )
2024-04-23 13:08:02 +03:00
HAOYUatHZ
0e380ddaf7
miner: fix typos ( #29625 )
2024-04-23 13:06:25 +03:00
Martin HS
853e0c23f3
eth/catalyst, trie/pathdb: fix flaky tests ( #29571 )
...
This change fixes three flaky tests `TestEth2AssembleBlock`,`TestEth2NewBlock`, `TestEth2PrepareAndGetPayload` and `TestDisable`.
---------
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2024-04-23 10:33:36 +02:00
Chen Kai
a4ada7c012
Merge branch 'master' into portal1
2024-04-23 13:24:36 +08:00
rjl493456442
acd1eaae2c
core: remove bad block checks ( #29609 )
2024-04-22 20:00:42 +03:00
Felföldi Zsolt
e6689fe090
beacon/light/sync: print error log if checkpoint retrieval fails ( #29532 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-04-22 13:19:42 +02:00
Ryan Schneider
1ec7af2612
eth: Add eth_blobBaseFee RPC and blob fields to eth_feeHistory ( #29140 )
...
Co-authored-by: lightclient <lightclient@protonmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-04-22 12:17:06 +02:00
Péter Szilágyi
c2dfe7a0c7
go.mod: update golang/x repos ( #29604 )
2024-04-22 12:56:54 +03:00
Chen Kai
3850aa6522
Merge branch 'ethereum:master' into portal
2024-04-22 17:19:34 +08:00
Felix Lange
82b0dec713
eth/filters: remove support for pending logs ( #29574 )
...
This change removes support for subscribing to pending logs.
"Pending logs" were always an odd feature, because it can never be fully reliable. When support for it was added many years ago, the intention was for this to be used by wallet apps to show the 'potential future token balance' of accounts, i.e. as a way of notifying the user of incoming transfers before they were mined. In order to generate the pending logs, the node must pick a subset of all public mempool transactions, execute them in the EVM, and then dispatch the resulting logs to API consumers.
2024-04-22 10:31:17 +02:00
xiaodong
ad3d8cb12a
cmd/geth: remove unused parameter ( #29602 )
2024-04-22 16:13:03 +08:00
Chen Kai
ab764c159d
Merge branch 'ethereum:master' into portal
2024-04-21 20:26:14 +08:00
Aaron Chen
28ccb2bbf8
build: fix string compare for SortFunc ( #29595 )
2024-04-21 11:14:13 +02:00
bugmaker9371
98f504f69f
p2p/discover: fix test error messages ( #29592 )
2024-04-21 11:13:36 +02:00
彭振
1ab87da629
Merge pull request #99 from fearlessfe/portal-api
...
feat: change portal api
2024-04-21 07:57:23 +08:00
fearlessfe
73612bf661
feat: change portal api
2024-04-20 21:08:10 +08:00
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