Commit Graph

16367 Commits

Author SHA1 Message Date
Alex Sharov
69fbfc9bef
Snapshots: Erigon update list in db only after Downloader confirmation, rpcdaemon read list from db (#5150) 2022-08-23 16:28:07 +07:00
Andrew Ashikhmin
4ca7394726
Small fix: log block RLP as hex (#5149) 2022-08-23 10:49:20 +02:00
Alex Sharov
031fc8eec7
docker-compose.yml: remove --no-downloader flag (because it disables call to external downloader allso) #5148 2022-08-23 14:29:42 +07:00
Andrew Ashikhmin
41c7be5e85
Mining: restore gasPool for invalid transactions (#5140) 2022-08-23 13:12:12 +07:00
mikolajsobolewski
5390ab6632
Cross-platform iso-8601 date (#5147) 2022-08-23 12:38:02 +07:00
Max Revitt
64f1d17785
feat(hive): add exit code flag to prevent non-success codes (#5141) 2022-08-23 10:20:16 +07:00
Enrique Jose Avila Asapche
1cfb2fc7b4
fixed prune flag not working with htrc (#5139)
* fixed prune flag not working with htrc

* deleted repetition

* unnecesary check
2022-08-23 09:16:05 +07:00
Max Revitt
bcb3cac220
Hive - test exclusions (#5121)
* feat(hive): reduce output verbosity in CI

* feat(hive): run hive and parse as one to always generate output

* feat(hive): add exclusions (wip) and single step CI
2022-08-22 14:02:52 +01:00
Alex Sharov
ed7b01ebe9
docker-compose.yml explicit datadir #5137 2022-08-22 19:03:48 +07:00
Alex Sharov
8e136836c0
docker-compose.yml disable build-in downloader #5135 2022-08-22 18:13:36 +07:00
Alex Sharov
3c0a514f75
docker-compose.yml add sentry addr to txpool #5134 2022-08-22 17:45:49 +07:00
Alex Sharov
316ed48427
erigon22: incremental state root calcc (#5132) 2022-08-22 15:52:23 +07:00
Marius Kjærstad
ede0d43708
Specify execution client (#5129)
Specify execution client
2022-08-22 13:06:26 +07:00
Alex Sharov
846351afc6
Compress: limit patternMaxDepth (#5131)
* save

* save

* save
2022-08-22 13:03:56 +07:00
Alex Sharov
619b80f8a4
compress: implemented consensed huffman pattern tables #536 (#5130)
* save

* save

* save
2022-08-22 09:14:49 +07:00
Håvard Anda Estensen
8283c68335
Replace strings.Replace with strings.ReplaceAll (#5128) 2022-08-21 21:21:09 +07:00
Alex Sharov
78e9703bd7
don't reset trie at historyV1 #5127 2022-08-21 11:39:15 +07:00
Giulio rebuffo
1303023cb8
Optimized backend pre-checks and fixed FCU deadlock (#5124)
* Optimized backend pre-checks and fixed FCU deadlock

* fixed tests

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-20 16:27:51 +02:00
Enrique Jose Avila Asapche
18f9313c85
added config file slice support (#5122)
* added config file slice support

* ReadMe update
2022-08-19 16:20:51 +07:00
Enrique Jose Avila Asapche
d794420db8
nil ptr (#5119) 2022-08-19 14:51:14 +07:00
fynn.z
a4fb414345
fix channel hang when close in-flight sealing task (#5118) 2022-08-19 14:50:39 +07:00
Alex Sharov
c1214e4ac5
erigon22: incremental stage trie (#5116) 2022-08-19 13:23:23 +07:00
Alex Sharov
30324fbb81
erigon22: get acc index from aggregator22 (#5114) 2022-08-19 11:30:59 +07:00
Alex Sharov
cb9f86fcbc
erigon22: incremental hash state stage (#5111) 2022-08-19 10:00:47 +07:00
Alex Sharov
46ef7e5305
erigon22: incremental hash state stage (#5102) 2022-08-19 09:35:43 +07:00
Enrique Jose Avila Asapche
c0de0488c8
added removal of bor logs when deleting receipts (#5105) 2022-08-19 08:57:24 +07:00
Andrew Ashikhmin
21699d929a
Log RLP of built PoS blocks (#5107) 2022-08-18 18:11:37 +02:00
Andrew Ashikhmin
25bdbe3de1
Access to EthBackendServer.builders should be protected by lock (#5106) 2022-08-18 18:11:12 +02:00
fynn.z
82fb73a545
Fix in-flight sealing task not abort when next sealing task coming (#5103)
* Fix in-flight sealing task not abort when next sealing task coming, may cause lightclient state verify failed.

* fix integretion err
2022-08-18 18:35:30 +07:00
Alex Sharov
b2f8336d7f
kvcache: reduce wait new block timeout #5099 2022-08-18 12:53:22 +07:00
Enrique Jose Avila Asapche
b123aba909
changed 1 to 0 to avoid null (#5093) 2022-08-18 12:52:18 +07:00
Enrique Jose Avila Asapche
6e18bef60a
added mutex lock to avoid race condition in downloader (#5089)
* added mutex lock to avoid race condition in downloader

* Revert "added mutex lock to avoid race condition in downloader"

This reverts commit cc14bf539a7cdf552ffceda3a9aef2949ccac5c2.

* using lock
2022-08-17 18:33:03 +07:00
Alex Sharov
8b34004372
erigon22: unwind code (#5090)
* save

* save
2022-08-17 16:42:07 +07:00
Alex Sharov
3f20363da4
erigon22: fix storage cleanup on unwind (#5088) 2022-08-17 16:24:11 +07:00
Håvard Anda Estensen
ea6b92b132
Enable gosec linter (#5083)
* Ignore pseudo random generators

* Enable gosec linter
2022-08-17 12:18:19 +07:00
Håvard Anda Estensen
ad865ac758
Enable staticcheck linter (#5084) 2022-08-17 12:17:45 +07:00
Håvard Anda Estensen
8460fd8e25
Remove deprecated functions (#5086) 2022-08-17 12:17:32 +07:00
Enrique Jose Avila Asapche
c1eef706b3
checking if flag on (#5075)
Pruning is turning on by default when it shouldn't
2022-08-16 16:06:50 +03:00
fynn.z
597d1e5a64
fix panic by parlia consensus (#5078) 2022-08-16 19:16:16 +07:00
Enrique Jose Avila Asapche
5c05ebcbeb
No refetching Header (#5067)
* no re-fetching of header

* checking for empty header
2022-08-16 18:10:49 +07:00
ledgerwatch
2e50dc9543
Erigon22 - small fixes to reconstitution (#5076)
* Fix db issues

* Fix

* another fix

* Another fix

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-08-16 11:50:04 +01:00
Alex Sharov
8083aaa013
erigon22: save correct stage progress (#5074) 2022-08-16 15:58:35 +07:00
Alex Sharov
db95b9a194
RPCDaemon: improve UX - when erigon not available - still can use snpashots (#5073) 2022-08-16 15:45:27 +07:00
Håvard Anda Estensen
13322893cb
Enable gosimple linter (#5071)
* Run gofmt

* Simplify slice making

* Use simple channel to receive instead of select with single case

* Enable gosimple linter
2022-08-16 13:02:13 +07:00
Alex Sharov
a9801d36db
fix nil pointer at startup when not all indices available yet #5070 2022-08-16 08:44:41 +07:00
Leonard Chinonso
039efc38f8
Fix for custom tracer method crashing (#5066)
* checked for nil blocks

* Showed block number and hash in error message

* cleaned up code

* more cleanup

* Fixed format type for bytes
2022-08-16 08:32:22 +07:00
Enrique Jose Avila Asapche
6a61a68ae4
Fix trie hash nil ptr (#5055)
* reading headers from snapshots

* ops

* verifying snapshots if missing header

* no report if missing header

* Revert "no report if missing header"

This reverts commit b644c0ffc82ab47c567fc0c079bb7c5c32e28ca8.

* Revert "verifying snapshots if missing header"

This reverts commit ad1a9c0c4a12dd1773e05fca1a6a5e58e33592b5.

* warning if header not found
2022-08-15 23:32:00 +07:00
Enrique Jose Avila Asapche
f0c7235f97
Pruning Receipts Default (#5065) 2022-08-15 17:21:18 +03:00
Reinhard Schu
c30ee205f8
Update README.md (#5063)
correct stage numbers in heading
2022-08-15 18:47:29 +07:00
dmitriyselivanov
4499e04a05
rpcdaemon: wire the most recent of EthBackend.builders.block as a pending block into eth_getBlockByNumber (#5061) 2022-08-15 15:19:45 +07:00