Commit Graph

16639 Commits

Author SHA1 Message Date
Alex Sharov
711b619876
erigon3: simplify history reader (fixing edge case of reading history from files) 2022-09-28 13:49:20 +07:00
Alex Sharov
3c5625c72a
Revert "Revert "apply --db.read.concurrency flag value when open embedded db "" (#5559) 2022-09-28 13:48:43 +07:00
Alex Sharov
e4ad73bcb4
erigon3: agg to use workers for compress and merge (#5561) 2022-09-28 13:05:26 +07:00
Alex Sharov
6d07443ca5
erigon3: remote rpcdaemon used wrong agg dir #5562 2022-09-28 12:36:53 +07:00
Alex Sharov
c6a000997e
grafana and prometheus version up #5560 2022-09-28 09:11:30 +07:00
Giulio rebuffo
62d4552b03
Updated go-verkle library (#5548)
* updated go verkle

* updated go verkle

* now it is well adapted

* accessories

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-27 22:45:48 +02:00
Enrique Jose Avila Asapche
123d7379cc
Gossip lightclient (#5549)
* added subscription to gossip

* added all handlers with logs

* disconnecting from peers with goodbye message received

* added time out for stream
2022-09-27 22:34:06 +02:00
awskii
c2655ad6ef
reverted Elias-Fano merge (#5546)
* reverted ef merge

* skip ef merge test

* Update to main

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-27 18:12:11 +01:00
ledgerwatch
11893429f5
cleanup bloombits and filters (#5551)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-27 17:19:59 +01:00
ledgerwatch
325bff181e
Revert "apply --db.read.concurrency flag value when open embedded db" (#5550)
This reverts commit f654ee0dc2.
2022-09-27 15:24:22 +01:00
Enrique Jose Avila Asapche
a968c7ed5b
cleaned up storage and retrieval of state sync receipts (#5379)
* cleaned up storage and retrieval of state sync receipts

* added ctx to the error and got rid of unused var

* missing one

* small change

* log error

* ops

* read header number

* checking if status is succesful

* nil ptr err
2022-09-27 11:39:58 +01:00
Alex Sharov
4c2611c03e
erigon3: eth_getLogs support logIndex field (#5544) 2022-09-27 16:08:45 +07:00
Alex Sharov
f654ee0dc2
apply --db.read.concurrency flag value when open embedded db 2022-09-27 12:08:24 +07:00
Alex Sharov
e26243f14c
erigon3: fix state reconstitution segfault #5537 2022-09-27 11:40:47 +07:00
Alex Sharov
2276f438aa
downloader: fix log progress race #5535 2022-09-27 10:57:00 +07:00
Alex Sharov
9cac57bcc9
erigon3: set seedable files to 32 steps #5534 2022-09-27 10:51:14 +07:00
Alex Sharov
fb44051a82
erigon3: move temporary db creation inside Recon22 (#5533) 2022-09-27 10:41:30 +07:00
Max Revitt
8b90cda633
feat(hive): run hive on devel only (#5527)
self hosted runners queue jobs and don't execute more than one job
at once, which leads to a huge pile-up in the case of the 1.5hr hive run

if not running on PR we can co-locate the jobs in the same workflow
2022-09-27 09:26:39 +07:00
Giulio rebuffo
b47b13c1ff
added handler for ping p2p method (#5530)
* added handlers

* updated mod and sum

* ops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-26 22:34:31 +02:00
Artem Tsebrovskiy
82d0dcfbe9
E23 commitment (#4947)
* erigon23 commitment

fixed mainnet genesis roothash, get back with update processing

erigon23 replay after restart, index lookup fix

bumped erigon-lib

* bumped erigon-lib ver
2022-09-26 19:09:10 +01:00
Max Revitt
b18e9beefc
feat(log): log message when no blocks written (#5526)
both in headers and bodies stages this adds a separate message
showing that in a given log period no headers/blocks were processed
2022-09-26 17:46:54 +01:00
ledgerwatch
c094a2b960
Revert "OOM fix for bodies stage (#5253)" (#5525)
This reverts commit 7fc7b91270.

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-26 15:27:38 +01:00
Alex Sharov
da7ca3cacf
erigon3: build .efi after download #654 (#5523) 2022-09-26 15:51:39 +07:00
Alex Sharov
c64e7fe7ab
erigon3 test fix (#5522) 2022-09-26 13:34:46 +07:00
Alex Sharov
cb60382e6d
erigon3: rename "history.v2" to "history.v3" to avoid naming miss-match with "erigon3" (#5519) 2022-09-26 10:54:42 +07:00
Alex Sharov
cadc9dfe74
erigon3: fix conflict with innner_tx in stage_bodies #5518 2022-09-26 10:40:23 +07:00
Alex Sharov
37d68e7fcf
torrent deps version up #5515 2022-09-26 09:41:55 +07:00
Alex Sharov
72a4225478
erigon22: reconstitute optimize #5505 (#5505) 2022-09-26 09:13:44 +07:00
Max Revitt
44511dc2b3
feat(hive): update exclusions after timeouts fix (#5490) 2022-09-26 09:11:12 +07:00
Enrique Jose Avila Asapche
511a5373f6
Config flag upgrade (#5491)
* allowing different values other than strings

* updated readme

* ops

* better error msg
2022-09-26 09:10:14 +07:00
Alex Sharov
fdb83de6f5
erigon22: authapi to use aggregator22 (#5506)
* save

* save
2022-09-26 09:09:30 +07:00
Enrique Jose Avila Asapche
f9c2f35c8b
update erigon-lib following up erigon-lib pr#650 (#5510) 2022-09-26 09:09:17 +07:00
Giulio rebuffo
6d6e511b0f
added ENR setup for subnets (#5511)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-25 22:41:51 +02:00
Giulio rebuffo
e4362cce1c
licensed lightclient (#5509)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-25 21:01:39 +02:00
Enrique Jose Avila Asapche
abfa374165
LightClient P2P refactoring (#5507)
* separated convertions into utils.go

* added log to bad peers

* more verbose errors and names

* warn when banning bad peer

* has and get in function name

* space

* lint

* ops

* little rename

* deleted unused func

* revert
2022-09-25 20:39:09 +02:00
Giulio rebuffo
b940eae2e0
lightclient actually gets peers lol (#5502)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-25 02:14:10 +02:00
Enrique Jose Avila Asapche
b7606dcccb
added networkConfig.go (#5501)
* added networkConfig.go and mainnet config

* added goerli and sepolia networkConfig

* using map

* renaming to poop

* proper name

* fixed a bunch of stuff

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 22:09:04 +02:00
Giulio rebuffo
0fb982bfeb
Added p2p connection and libp2p host to Erigon Lightclient (#5500)
* added p2p connection and libp2p host

* added p2p connection and libp2p host

* oooops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 20:48:56 +02:00
ledgerwatch
ad3403141d
Not store snap in parlia during execution (#5495)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-24 16:30:06 +01:00
Giulio rebuffo
71112c1aae
Added discovery and connection to consensus layer bootnodes (#5497)
* added peer discovery functionality

* added discovery and connection to consensus layer bootnodes

* lint

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 16:44:34 +02:00
Giulio rebuffo
622d355f5a
first commit (#5493)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 01:53:27 +02:00
Andrew Ashikhmin
610e8f851a
[erigon-lib] changed baseFeeCap from uint64 -> uint256 (#5488) 2022-09-23 13:14:14 +02:00
Andrew Ashikhmin
4b55358bde
Fix Gnosis Chain fork ID (#5487) 2022-09-23 12:26:35 +02:00
Giulio rebuffo
557db2390f
added dump verkle trie to text file (#5486)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-23 11:09:03 +02:00
ledgerwatch
8b65d45499
Fix state reconstitution after change of txNums semantics (#5484)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-23 08:46:25 +07:00
Giulio rebuffo
11db9f4ea4
Added Verkle tree based stagedsync as a prototype (Activates if CancunBlock == 0) (#5483)
* added prototype of verkle tree stages in Erigon, activation set at Cancun

* ops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-22 23:29:44 +02:00
Giulio rebuffo
a9bde213d9
Introduced separate buckets for Verkle tries (#5480)
* updated Erigon lib

* updated Erigon lib

* added proper verkle database buckets

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-22 19:03:57 +02:00
Andrew Ashikhmin
ebaf9ede82
Fix AuRa genesis block reading (#5479)
* Fix Gnosis genesis block reading

* Proper HeaderSeal fix
2022-09-22 17:38:05 +02:00
Giulio rebuffo
1b5d102527
packaged verkle-trie pkg (#5471)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-22 17:34:50 +02:00
Andrew Ashikhmin
5880e5e4bb
Block builder: bump maxTransactions to 1000 (#5475) 2022-09-22 13:46:19 +02:00