Andrew Ashikhmin
d4cd712da0
Revisit getPayloadBodiesByHash ( #8758 )
...
Revisit PR #8750
2023-11-17 13:04:02 +01:00
Giulio rebuffo
8d8368091c
Add full support to beacon snapshots ( #8665 )
...
This PR adds beacon blocks snapshots for the following chains:
* Mainnet snapshots
* Sepolia snapshots
2023-11-13 14:10:57 +01:00
Andrew Ashikhmin
a54939633e
Numerical instead of lexicographic sorting in borKeyValueConfigHelper ( #8560 )
...
Corresponds to Item 3 of https://github.com/maticnetwork/bor/pull/1055
2023-10-23 14:11:32 +02:00
Giulio rebuffo
0ac11d0c94
Remove useless printlns ( #8542 )
2023-10-21 23:44:56 +02:00
Giulio rebuffo
82f1e9f342
Skip blockhashes stage ( #8497 )
2023-10-18 16:39:11 +02:00
Giulio rebuffo
9e42b705ce
Caplin: under the hood block downloading ( #8459 )
2023-10-16 15:35:26 +02:00
Alex Sharov
404719c292
Medbx: add label to error messages, UpdateForkChoice: add ctx to erorrs, MemDb: increase db-limit from 512Mb to 512Gb ( #8434 )
2023-10-11 12:53:34 +07:00
Giulio rebuffo
e36e5631a8
Better solution to bodies corrupted output in ByRange/ByHashes ( #8427 )
...
Marshal outside
2023-10-10 17:06:19 +02:00
Mark Holt
7deb69967f
Avoid marking blocks as bad at rewind ( #8414 )
...
Co-authored-by: Anshal Shukla <shukla.anshal85@gmail.com>
2023-10-10 19:47:51 +05:30
Giulio rebuffo
afd88edea8
Fixed body downloader bug in Ethereum PoS of downloading blocks ahead of time ( #8405 )
2023-10-08 23:23:21 +02:00
Giulio rebuffo
57cc5ccc6d
Use buffered channel ( #8403 )
2023-10-08 19:26:54 +02:00
Giulio rebuffo
d90572b786
Hopefully an even faster version of mocked sentry ( #8402 )
2023-10-07 22:30:10 +02:00
Giulio rebuffo
0eda40a9be
Even faster mocked sentry ( #8395 )
2023-10-07 02:39:12 +02:00
Giulio rebuffo
2294c8c66c
EthereumExecutionService in MockSentry ( #8373 )
...
Now we use the ethereum execution service directly:
* Changed sig of InsertChain
* Use of the service in case of PoS
2023-10-05 18:30:19 +02:00
Giulio rebuffo
2aa060f454
Fixed forkchoice nil exception ( #8223 )
2023-09-17 17:06:44 +02:00
Giulio rebuffo
346b278a3b
Caplin: Improved logging ( #8169 )
2023-09-10 22:10:21 +02:00
Alex Sharov
13fc0f2a7e
exec server: run 1st cycle not in global txn. run exec in async tx, run prune in sync tx. partial progress loss fix (partial fix) ( #8128 )
2023-09-06 08:48:07 +07:00
Giulio rebuffo
b4cf5f5be4
Fixed canonical chain truncation ( #8117 )
2023-09-01 23:44:18 +02:00
Giulio rebuffo
f5cc67fe5b
Added ranges to the Execution.proto ( #8081 )
2023-08-26 02:25:48 +02:00
Giulio rebuffo
d223adf114
Better migrations and chain segmentation recovery ( #8079 )
2023-08-25 17:45:00 +02:00
Giulio rebuffo
38db2ed2e7
[Caplin Phase 2]: Initial working implementation ( #8033 )
...
caplin just using execution.proto
2023-08-18 15:43:22 +02:00
Andrew Ashikhmin
611145c385
updateForkChoice: send state changes to txpool after tx is committed ( #8035 )
...
[txpool](https://github.com/ledgerwatch/erigon-lib/blob/main/txpool/pool.go )
expects an `OnNewBlock` update only after the DB transaction is
committed.
This fixes, for example, a nonce gap mis-detection in Hive test
"engine-cancun/Blob Transactions On Block 1, Cancun Genesis".
2023-08-17 16:03:12 +02:00
Somnath Banerjee
1867d9393a
Fix duplicate commitments in GetPayloadV3 response ( #8018 )
2023-08-14 17:57:33 +05:30
Giulio rebuffo
7c0d6e15bb
Added gnosis fields and removed body gap. ( #7993 )
2023-08-11 23:07:36 +02:00
racytech
6785ff28e4
hive: minor fixes (EIP-4788) ( #7985 )
2023-08-09 13:44:21 +06:00
Giulio rebuffo
6081fe01b8
fixed forkchoices ( #7983 )
2023-08-08 22:56:16 +02:00
Andrew Ashikhmin
d69b20bc4e
Support engine_forkchoiceUpdatedV3 with ParentBeaconBlockRoot (EIP-4788) ( #7969 )
...
Prerequisites: https://github.com/ledgerwatch/interfaces/pull/187 &
https://github.com/ledgerwatch/erigon-lib/pull/1069 . Also implement
https://github.com/ethereum/execution-apis/pull/426 .
2023-08-06 11:54:14 +02:00
Giulio rebuffo
b4057da8e6
removed missingHash ( #7973 )
2023-08-06 02:28:18 +02:00
Giulio rebuffo
9730cc796a
Cleanup of consensus separation ( #7971 )
2023-08-05 02:26:53 +02:00
Giulio rebuffo
b09d90ee0e
Added in-memory flushing to execution.proto ( #7968 )
2023-08-04 14:42:35 +02:00
Giulio rebuffo
29935a65f4
Fixed hive tests in consensus separation ( #7961 )
2023-08-03 03:39:47 +02:00
Giulio rebuffo
1220ae659e
Most hive tests fixed in --experimental.modular
( #7950 )
...
Broken: 25/109
2023-08-01 02:08:15 +02:00
Andrew Ashikhmin
03ac80ad2d
EIP-4844: rename "data hash" to "blob hash" ( #7947 )
...
See https://github.com/ethereum/EIPs/pull/7001
2023-07-31 10:12:53 +02:00
Giulio rebuffo
443757edbd
Consensus separation for Engine API (Working on Sepolia) ( #7945 )
...
This makes the experimental consensus separation functional on sepolia.
2023-07-30 23:35:55 +02:00
Giulio rebuffo
2f2a1741d2
Protyped consensus separated engine api (untested) ( #7942 )
2023-07-29 00:22:38 +02:00
Andrew Ashikhmin
7d35c6b737
EIP-4844: Rename "data gas" to "blob gas" ( #7937 )
...
See https://github.com/ethereum/EIPs/pull/7354 &
https://github.com/ethereum/consensus-specs/pull/3461 . Prerequisite:
https://github.com/ledgerwatch/erigon-lib/pull/1058
2023-07-28 12:12:05 +02:00
Giulio rebuffo
a0865b489f
Prototyped experimental engine reverse downloader ( #7936 )
...
Erigon lib now good
2023-07-28 01:32:19 +02:00
Giulio rebuffo
b4ecd7f524
Consensus Separation: Separated GetPayload using an execution service ( #7933 )
...
Miracoulously, hive tests pass first try. YIPPIE.
Also for the future, I added `--experimental.modular` which enables a
secondary engine API for consensus separation.
Now block building is responsibility of the execution module.
2023-07-27 14:37:49 +02:00
Giulio rebuffo
9d3551f8cf
prototype of ValidataChain ( #7921 )
2023-07-23 19:10:24 +02:00
Giulio rebuffo
9cf07f059d
Prototyped FCU for EL module ( #7913 )
...
save
2023-07-20 18:35:02 +02:00
Giulio rebuffo
735a800eb7
Added insertions and chainDb overlay ( #7899 )
2023-07-15 18:31:15 +02:00
Giulio rebuffo
814984dffb
Implementation of execution.proto: added getters ( #7898 )
2023-07-14 16:38:17 +02:00