bsc/eth/downloader
Marius van der Wijden 7fb42e6db2
eth/downloader: handle missing withdrawals if empty list is expected (#26675)
This PR relaxes the block body ingress handling a bit: if block body withdrawals are missing (but expected to be empty), the body withdrawals are set to 'empty list' before being passed to upper layers. 

This fixes an issue where a block passed from EthereumJS to geth was deemed invalid.
2023-02-15 07:23:07 -05:00
..
api.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
beaconsync.go eth/downloader: move the pivot in beacon sync mode too (#26453) 2023-01-10 12:16:54 -05:00
downloader_test.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
downloader.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
events.go cmd,eth: 16400 Add an option to stop geth once in sync. WIP for light mode (#17321) 2019-01-30 08:40:36 +01:00
fetchers_concurrent_bodies.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
fetchers_concurrent_headers.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
fetchers_concurrent_receipts.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
fetchers_concurrent.go eth/downloader: fix timeout resurrection panic (#26652) 2023-02-09 14:56:15 +02:00
fetchers.go eth: pre-process downloader responses on the peer reader thread 2021-12-01 20:18:12 +02:00
metrics.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
modes.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
peer.go eth, les: unlock downloader peerSet if there's an error (#25546) 2022-08-19 09:02:47 +03:00
queue_test.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
queue.go eth/downloader: handle missing withdrawals if empty list is expected (#26675) 2023-02-15 07:23:07 -05:00
resultstore.go all: fix docstrings 2022-10-04 09:18:02 +02:00
skeleton_test.go eth/downloader: create repro testcase for beacon header loss 2023-01-09 12:12:25 +02:00
skeleton.go eth/downloader: fix cornercase when clean stale beacon headers (#26441) 2023-01-12 11:19:16 +01:00
statesync.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
testchain_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00