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
Alex Sharov
6df6640868
erigon22: prune - check key existance ( #5059 )
2022-08-15 14:36:57 +07:00
Alex Sharov
1a1b606146
erigon22: unwind code ( #5058 )
2022-08-15 10:27:32 +07:00
Alex Sharov
fa223eef24
Win path ( #5056 )
2022-08-15 08:45:23 +07:00
ledgerwatch
0f20e1cb93
erigon2.2 optimise reconstitution of state ( #4958 )
...
* No parallel buildFiles and mergeFiles to conserve memory
* go mod
* Fix and optimise
* Fix
* Another fix
* Fix
* Extra return value
* Optimise recon
* Another optimisation of recon
* Different order of usage
* Fix
* Fix
* Optimise allocations
* Lookup before going to history
* Fix
* Fix
* Optimise a bit more
* Only use one helper table
* Set bro tx
* Set broTx to writer
* Use same db for recon and x
* Write into chainDb
* Update to latest erigon-lib
* Remove test
* Set execution progress
* Fix compilation
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@alexs-mbp.lan>
2022-08-14 19:49:32 +01:00
Alex Sharov
f82cca8288
up atomic lib version #5053
2022-08-14 21:12:48 +07:00
Reinhard Schu
7009a2cbb2
Update README.md ( #5052 )
...
Update the description of the stages to align with current alpha version
2022-08-14 20:32:37 +07:00
Alex Sharov
6495ec6d28
erigon22: working PlainState unwind ( #5051 )
2022-08-14 18:06:32 +07:00
Alex Sharov
a8cbf6e476
Open erigon_watchTheBurn: could not find block header ( #5050 )
2022-08-14 17:52:42 +07:00
Mark Shields
29234b4fc2
feat: Dockerfile apk add curl jq ( #5047 )
2022-08-14 09:04:15 +07:00
Giulio rebuffo
c58a3be765
ops ( #5048 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-13 23:40:53 +02:00
Giulio rebuffo
6713abb420
fixed exec22 panic ( #5045 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-13 18:54:32 +01:00
Alex Sharov
52987a56f3
rpcdaemon: start without panic when --snapshots=false #5043
2022-08-13 22:16:24 +07:00
Alex Sharov
60ff998133
integration: make --datadir and --chain required #5041
2022-08-13 21:46:25 +07:00
Alex Sharov
778792e20e
Sentry doc ( #5040 )
...
* save
* save
* save
2022-08-13 21:37:51 +07:00
Alex Sharov
52fd0d0e8b
Aggregator22.Unwind() ( #5039 )
...
* save
* save
2022-08-13 18:51:25 +07:00
Alex Sharov
64bc837ccf
erigon22: integration, to support parallel execution ( #5037 )
...
* save
* save
2022-08-13 16:53:10 +07:00
Alex Sharov
5ee318e722
--db.read.concurrency must be not less than 10 ( #5036 )
...
* save
* save
2022-08-13 16:16:18 +07:00
Alex Sharov
de3a602a24
erigon22: bsc fixes
2022-08-13 16:09:52 +07:00
Alex Sharov
4f007ae43e
erigon22: use chainDB instead of db22 for everything ( #5034 )
2022-08-13 12:08:15 +07:00
Alex Sharov
e27f669a3f
erigon2.2: save stage progress to chainDB, can run "integration stage_exec" and "state erigon22" on same datadir ( #5033 )
2022-08-13 11:17:24 +07:00
Alex Sharov
8f086605d9
save ( #5032 )
2022-08-13 09:53:19 +07:00
Giulio rebuffo
8ade569cc5
Save PoW blocks for processing received through P2P ( #5015 )
...
* save terminal blocks
* ops
* save less PoW blocks
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-12 21:54:20 +02:00
Alex Sharov
40535837c9
Simplify write body ( #5031 )
...
* save
* save
2022-08-13 00:14:42 +07:00
Alex Sharov
fc8f3fabc3
mdbx: expose_growth_step ( #5030 )
...
* save
* save
* save
* save
* save
2022-08-12 23:04:47 +07:00
Andrew Ashikhmin
0e55660f11
Don't log "Wrote block ..." unless we're actually writing something ( #5027 )
2022-08-12 22:40:27 +07:00
Alex Sharov
811f531561
erigon22: support of integration stage_exec ( #5029 )
2022-08-12 22:39:33 +07:00
Alex Sharov
25d85d88c5
state erigon22: use right db ( #5028 )
2022-08-12 21:45:09 +07:00
Max Revitt
7a87da9497
fix(sentry): add locks in sentry grpc ( #4981 ) ( #5025 )
2022-08-12 21:18:43 +07:00