Commit Graph

16514 Commits

Author SHA1 Message Date
Andrew Ashikhmin
775d4a225b
Don't check TerminalBlockHash in exchangeTransitionConfiguration (#5428) 2022-09-19 13:05:45 +02:00
Andrew Ashikhmin
7561a74af3
Remove terminal PoW block overrides (#5420) 2022-09-19 10:33:18 +02:00
Alex Sharov
2b4884bf0b
docker set alpine version to v3.16 (#5426) 2022-09-19 14:38:08 +07:00
Alex Sharov
c1bb4bc734
exec22: stagedsync test v1 (#5425)
* save

* save
2022-09-19 12:17:36 +07:00
Alex Sharov
9fb8a190bc
erigon22: folder snapshots/history (#5351) 2022-09-18 17:41:01 +07:00
Andrew Ashikhmin
4ee0627eaf
Disable PoW sync for mainnet (#5417) 2022-09-18 12:38:21 +02:00
Andrew Ashikhmin
222224ca86
Log peer ID (#5416) 2022-09-18 11:33:18 +02:00
Max Revitt
506dac35d2
feat(ci): run on self-hosted github runner (#5393)
* feat(ci): run on self-hosted github runner

* feat(hive): exclusions from ethdevops

* fix(ci): workspace cleanup, cancel in prog same sha
2022-09-18 11:01:11 +07:00
Enrique Jose Avila Asapche
7b1bf44ce6
dont check for block reward or uncles if we are tracing POS (#5410)
* dont check for block reward or uncles if we are tracing POS

* comparing chainConfig to header difficulty

* fixed test

* difficulty == 0 then we are POS
2022-09-17 22:04:37 +01:00
ledgerwatch
62bbc36d11
Start new release cycle (#5411)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-17 13:25:57 +01:00
Nicolas Gotchac
a18c088771
bor/consensus: Only write Snapshots to DB for checkpoints (#5369) 2022-09-17 13:25:47 +01:00
Alex Sharov
0e8d5d41fc
remove libmdbx git-submodule, make db-tools work on vendored to mdbx-go .c code (after "make dist") (#5392)
* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save
2022-09-17 12:55:38 +01:00
Alex Sharov
0fef7c392c
save (#5397) 2022-09-17 12:54:35 +01:00
Enrique Jose Avila Asapche
b8a8ea6ace
Log stage finish (#5409)
* logging latest block at stage finish

* better logging debug
2022-09-17 12:54:18 +01:00
ledgerwatch
43f592ed0e
Fixes for trace_block (#5402)
* Fixes for trace_block

* Print

* Print

* extra bodies

* extra bodies

* Add canonical check

* First fix for bodies mismatch

* More cleanup

* Advance progress

* Reset snapshots in integration

* Cleanup

* Way to reset snapshots stage

* Not reset sequence if not needed

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-17 12:53:27 +01:00
Giulio rebuffo
43c848ceb9
Docker pos fixup attempt1 (#5401)
* maybe fix

* maybe fix

* fix test sentry_mock

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
Co-authored-by: Igor Mandrigin <i@mandrigin.ru>
2022-09-17 11:49:13 +02:00
Temirlan
44266a9237
rcpdaemon, erigon: add --rpc.evmtimeout flag (#5395) 2022-09-17 13:25:27 +07:00
hexoscott
cd8cad6a89
allow multiple log subscriptions at the same time (#5358) 2022-09-16 14:36:25 +01:00
Andrew Ashikhmin
a8a104c35c
Merge & Downloader logging improvements (#5398)
* Prefix downloader logs with [Downloader]

* Better check for syncing

* Better handle nil dereference
2022-09-16 15:15:48 +02:00
Giulio rebuffo
52d76977ca
Correct Verkle trie generation (#5399)
* log msg

* refactor

* use of delete

* fixed verkle tree incremental

* ops

* ops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-16 15:11:13 +02:00
Andrew Ashikhmin
4ef182e6e0
Tiny log improvement (#5394) 2022-09-16 12:19:44 +02:00
ledgerwatch
caeba44728
[erigon22] fix state reconstitution (testing on BSC) (#5391)
* Fix NPE in Parlia integration

* Fix state reconstitution for integration

* Update to latest erigon-lib

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-16 10:41:01 +01:00
Andrew Ashikhmin
e5afa7292e
Potential improvement to CL timeouts (#5378)
* Strengthen early return when PoS syncing

* Be less aggressive about new payloads

* Less scary log message

* Clean up LVH in EngineStatus_SYNCING

* Slightly more correct message

* Try to fix Hive tests
2022-09-16 10:59:46 +02:00
Alex Sharov
b8e81f9b40
erigon22: save correct parallel progress #5388 2022-09-16 11:52:02 +07:00
Alex Sharov
10039f0431
erigon22: workers correct rollback #5387 2022-09-16 11:17:56 +07:00
Enrique Jose Avila Asapche
390108f352
pruning bor receipts with receipts (#5371)
* pruning bor receipts with receipts

* no need for rawdb.DeleteBorReceipt
2022-09-16 09:39:48 +07:00
Andrew Ashikhmin
b8f119a234
Bump map size of in-memory MDBX (#5374)
* Pick up erigon-lib PRs 637 & 639

* Pick up erigon-lib PR 640

* anacrolix/sync is a direct dependency now

* Pick erigon-lib PR 641
2022-09-15 22:19:36 +02:00
Enrique Jose Avila Asapche
fc766c65f3
added downloading to avoid user panic (#5376) 2022-09-15 16:57:37 +02:00
Andrew Ashikhmin
3012bf6d3c
Log more info on missing parent (#5375) 2022-09-15 15:56:27 +02:00
Amit Panghal
15ad43e100
fix trace_block response for post merge blocks (#5361)
* fix trace_block response for post merge blocks

* fix difficulty call

* fix types and other compile issues

* run go fmt
2022-09-15 12:20:41 +01:00
Enrique Jose Avila Asapche
0c64c3f2c7
added a way to get latest executed block post POS (#5343)
* added a way to get latest executed block post POS

* added erigon_ExecutedBlockNumber into readme

* optional rpc.BlockNumber

* better message

* updated readme
2022-09-14 13:56:31 +03:00
ledgerwatch
566cd65664
Revert "cancel context before waiting for waitgroup to avoid deadlock in RPC on error (#5345)" (#5360)
This reverts commit 9ff5b21a1e.
2022-09-14 08:45:59 +01:00
Andrew Ashikhmin
079b0d9074
Demote execution unwind message to log.Debug (#5356) 2022-09-13 20:36:32 +01:00
Levi Aul
600837a23f
Apply BSC Gibbs upgrade (for Chapel, Rialto) (#5359) 2022-09-13 22:34:02 +03:00
Giulio rebuffo
bca221bf85
Refactored verkle tree state writer (#5357)
* verkle stuff

* added verkle writer

* added more stuff to verkle trees

* added tool for incremental prom.

* lint

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-13 15:05:58 +02:00
Alex Sharov
ad219d7e11
integration --chain bsc pass db #5349 2022-09-13 14:24:54 +07:00
Enrique Jose Avila Asapche
0a7a45169a
Short-circuiting (#5342)
* getting latest executed no forkchoice

* short circuting

* Revert "getting latest executed no forkchoice"

This reverts commit d3061b75bd7fd441880912b38033fd60b43e9029.

* naming

* updated erigon-lib
2022-09-13 08:53:43 +07:00
ledgerwatch
9ff5b21a1e
cancel context before waiting for waitgroup to avoid deadlock in RPC on error (#5345)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-13 08:52:58 +07:00
Enrique Jose Avila Asapche
bbea37a454
updated tracer js (#5347)
* updated tracer js

* using SUICIDE

* fixed test
2022-09-13 08:51:07 +07:00
Andrew Ashikhmin
610e648dc4
Kill Kiln (#5339) 2022-09-12 12:59:33 +02:00
Alex Sharov
4137c5df3d
don't append in in-memory execution (#5340) 2022-09-12 17:04:40 +07:00
Enrique Jose Avila Asapche
473ca51830
Adding back stage snapshots (#5331)
* added snapshots into stages list && deleted snapshots from defaul unwind

* added verkle trie

* using the same sentries client hd

* need to safe the stage progress of headers as well
2022-09-12 10:26:00 +07:00
Andrew Ashikhmin
e1076789c3
Update uint256 to v1.2.1 (#5332) 2022-09-12 10:24:41 +07:00
Alex Sharov
78ab986d50
erigon22: fix cli param parse #5337 2022-09-12 10:24:23 +07:00
Enrique Jose Avila Asapche
8632befccc
separated bor block execution (#5330) 2022-09-11 09:36:23 +07:00
Enrique Jose Avila Asapche
19a178bf19
missing return; (#5328) 2022-09-11 09:35:18 +07:00
Giulio rebuffo
99fbbb545b
Added complete verkle trie regeneration (#5310)
* verkle generation

* better UX

* q

* better verkle stuff

* for

* for o

* lint

* direct vtree

* addee verkle trees incremental promotion

* lint

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-10 20:00:03 +02:00
Leonard Chinonso
7495986515
Reverting Adding snapshots as a separate stage commit (#5329)
* reverting Adding snapshots as a separate stage commit

* more fixes to merge conflicts
2022-09-10 19:05:18 +02:00
Alex Sharov
d1ddb5ee82
erigon22: fix txn overlap (#5327)
* save

* save
2022-09-10 11:26:58 +07:00
Alex Sharov
f6ca07e215
integration --workers flag (#5326) 2022-09-10 10:37:56 +07:00