Commit Graph

16532 Commits

Author SHA1 Message Date
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
Alex Sharov
25e615a878
erigon22: historyReader22 and more tests (#5281)
* save

* save
2022-09-05 21:31:00 +07:00
Alex Sharov
6bfd2c3472
erigon22: rpc getLogs and traceFilter (#5277) 2022-09-05 11:33:55 +07:00
Enrique Jose Avila Asapche
6ce38853a2
getting rid of breaking line (#5246) 2022-09-05 10:42:32 +07:00
Alex Sharov
836e3cb721
clean deps (#5276) 2022-09-05 10:32:16 +07:00
Alex Sharov
7874921e73
erigon22: correct incarnation (#5275) 2022-09-05 10:31:17 +07:00
ledgerwatch
da90c9752e
Fix for goerli resync (#5269)
* Fix for goerli resync

* Fix

* Fix lint

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-04 14:51:36 +01:00
ledgerwatch
c9ae7310e9
Fix lint (#5270)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-04 14:30:59 +01:00
Giulio rebuffo
435de928b7
Separation of Pedersen code, account and storage hashing (#5267)
* separation of pedersen hashing

* added multithreading to accounts

* more workers

* removed err

* ops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-03 19:55:13 +02:00
Enrique Jose Avila Asapche
8fc7c78620
Bor txlookup (#5260)
* printing

* logging

* spam off

* ops

* clean up

* deleted all bor related stuff in snapshots

* adding bor tx to BorTxLookUp

* added readBorTxLookUp

* getting bor tx from bor lookup

* comments

* deleted bor related stuff

* deleting bor tx

* writing borTxLookUp in stage_txlookup

* using bytes

* little fixes

* updated erigon-lib

* using biEndian

* clean up

* setting bytes for big int

* log

* logging

* more logs

* delete logs
2022-09-02 17:41:58 +03:00
Giulio rebuffo
faebec48c9
Added pedersen hash generator utility in cmd/verkle (#5258)
* added tree key functions for verkle tries

* added tree key functions for verkle tries

* added tree key functions for verkle tries

* Pedersen hash generator

* removed extra functions

* better comment

* ops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-02 15:45:30 +02:00
Enrique Jose Avila Asapche
68cc6e4612
taking bad transaction out the slice (#5265) 2022-09-02 15:26:38 +02:00
Andrew Ashikhmin
ea576ba6f1
EIP-3855: PUSH0 instruction (#5256)
* core/vm: implement EIP-3855: PUSH0 instruction (#24039)

* core/vm: Implement PUSH0

* Move PUSH0 to enable3855

* Add method doc

* Fix compilation

* Enable EIP-3855 in Shanghai

Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
2022-09-02 09:48:53 +02:00