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
Enrique Jose Avila Asapche
6d1d3a9f47
moved retiring of blocks from senders into snapshot stage ( #5290 )
2022-09-09 21:48:16 +07:00
Alex Sharov
8813ea87fd
Erigon22: add state reconstitution to stage_exec ( #5321 )
2022-09-09 14:40:25 +07:00
Chase
927f9e1c56
Add eth_callMany and debug_traceCallMany to README ( #5319 )
...
* Add eth_callMany to README
Should have been included in https://github.com/ledgerwatch/erigon/pull/4567
* Update README.md
* Update README.md
2022-09-09 11:18:23 +07:00
Andrew Ashikhmin
b8f8711aca
Disable Hive tests that currently fail in CI ( #5318 )
2022-09-08 14:55:57 +02:00
Andrew Ashikhmin
18554a2f90
Revert "fix: relax deposit contract prune to first deposit ( #5295 )" ( #5317 )
...
This reverts commit d8c9b1151d
.
2022-09-08 10:19:45 +02:00
Alex Sharov
caa23b9532
erigon22: simplify interhashes stage ( #5315 )
2022-09-08 14:02:50 +07:00
Alex Sharov
9e9b5806e0
Erigon22: history iterator v2
2022-09-08 11:13:53 +07:00
banteg
d8c9b1151d
fix: relax deposit contract prune to first deposit ( #5295 )
2022-09-07 22:33:31 +03:00
Andrew Ashikhmin
299adf4d3e
New transactions should prompt mining instead of postponing it ( #5309 )
2022-09-07 22:17:14 +07:00
Max Revitt
0114a4df1f
feat(hive): add makefile command to run hive locally ( #5305 )
2022-09-07 18:38:45 +07:00
Alex Sharov
fceb272c6b
Erigon22: use history iterator ( #5303 )
2022-09-07 15:58:41 +07:00
Andrew Ashikhmin
270fb4cde9
Fix IH when state contains addresses < 1st key in AccTrie ( #5296 )
...
* Test case that reproduces wrong trie root in Hive
* Do not hardcode roots
* Fix IH when state contains addresses smaller than the first key in AccTrie
2022-09-07 10:34:49 +02:00
hexoscott
ba6935ed03
fix for bodies stage looping infinitely when a block is mined locally ( #5291 )
2022-09-07 12:18:25 +07:00
Alex Sharov
98e69b55f4
--experimental.history.v2 ( #5302 )
2022-09-07 12:16:31 +07:00
Igor Mandrigin
a0c80ccbee
Fix compatibility of eth_getBlockTransactionCountByHash ( #5297 )
...
* fix compatibility of eth_getBlockTransactionCountByHash
* fixup
2022-09-07 12:11:48 +07:00
Tim Myers
e2301387eb
chore: goreleaser workflow fix ( #5298 )
...
Use the automatically provided GITHUB_TOKEN secret.
Currently only has the default permissions which should let
it read the tag as needed.
Commented permissions would allow it to also automatically write
a github release, but will see if it works without that for now
for minimimum change.
2022-09-07 11:44:21 +07:00
Max Revitt
488121f669
fix(headers): signal cleanly shutdown headers and allow exit ( #5286 )
2022-09-06 08:02:24 +01:00
Alex Sharov
f8c20afe8d
erigon22: remove hardcoded workers amount ( #5288 )
2022-09-06 13:54:16 +07:00
Enrique Jose Avila Asapche
036d6f3e1d
Cursor err ( #5283 )
...
* deleting BorTxLookUp separetly
* logs
* another place
* typo
* full separation of borTxnLookup and using next
* not checking if we have tx
2022-09-06 08:45:24 +07:00
Leonard Chinonso
0543ba6120
Adding a new stage for snapshots download and creation ( #5261 )
...
* Adding a new stage for snapshots download and creation
* More changes made
* finished moving things into snapshot stage
* ops
* another merge problem
Co-authored-by: Enrique Jose Avila Asapche <eavilaasapche@gmail.com>
2022-09-06 08:44:22 +07:00