Commit Graph

16659 Commits

Author SHA1 Message Date
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
Max Revitt
1c349d9d47
feat(ci): run daily job to mark and close stale issues (#5470) 2022-09-22 11:42:57 +01:00
Alex Sharov
fb0f811f19
erigon22: "max txNum of a block N" semantic #5465 2022-09-22 15:38:16 +07:00
Alex Sharov
52a06d792c
historyReader22 fix lost incarnation (#5469)
* save

* save
2022-09-22 15:38:00 +07:00
Alex Sharov
57a4d8b777
historyReader22 fix empty code hash short-path (#5467)
* save

* save
2022-09-22 15:19:38 +07:00
Alex Sharov
7956552980
update some small deps (#5466) 2022-09-22 14:34:47 +07:00
Alex Sharov
ef9e296efd
erigon method to test decompression speed (#5464) 2022-09-22 14:11:39 +07:00
hexoscott
7fc7b91270
OOM fix for bodies stage (#5253)
* OOM fix for bodies stage


change misleading bodies stage log messages


remove duplicate func to create key from block number


ensure body isn't nil when reading from bucket in bodies stage


remove unused blocknum variable from body requests


moving to using RLP encoding for stage bodies storage


encode bodies to RLP for stage bodies storage


better error handling in stage bodies


fixup body algos after rebase

* fixes for body stage oom after rebase
2022-09-22 12:27:42 +07:00
Nicolas Gotchac
9a8777512c
blockchain: Add a TransactionIndex for StateSync receipt in Bor (#5461) 2022-09-22 09:55:55 +07:00
Giulio rebuffo
bf768a4278
Adapted verkle tree generation in preperation of Beverly Hills (#5459)
* fixed increment

* removed useless code

* Adapted verkle tree generation in preperation of Beverly Hills

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-22 00:33:48 +02:00
Alex Sharov
902e3e7d02
save (#5455) 2022-09-21 14:17:56 +01:00
jiang
09db0c8d43
open erigon_blockNumber API (#5454)
open `erigon_blockNumber`  feature API that has been implemented
2022-09-21 19:30:01 +07:00
ledgerwatch
92c1b43259
Add test for CVE (#5450)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-09-21 12:27:46 +01:00
Krishna Upadhyaya
bac6b071ab
use HeimdallURL flag instead of hardcoded value (#5452) 2022-09-21 14:55:11 +07:00
Alex Sharov
50811f9cd6
"erigon snapshots ram" command (#5449)
* save

* save

* save
2022-09-21 09:18:37 +07:00
ledgerwatch
46f8d891d5
clean up erigon2.2 prototype (#5446)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-09-20 18:50:14 +01:00
Artem Tsebrovskiy
2b6d206497
added separated user/error log files to erigon 22/23 (#5156)
* added separated user/error log files to erigon 22/23

* added variable prefix to log file name

* updated log dependency
2022-09-20 16:51:09 +01:00
hexoscott
705673c336
increased logging around POS mining (#5442) 2022-09-20 13:15:56 +01:00
Alex Sharov
54343d1d69
save (#5439) 2022-09-20 13:09:24 +01:00
Levi Aul
2c1d617b41
Ensure system contracts created by upgrades get persisted correctly (#5424) 2022-09-20 09:06:14 +01:00
ledgerwatch
e3bbf19c96
Update version.go (#5440) 2022-09-20 08:59:48 +01:00
Alex Sharov
c782064582
erigon22: rpc fixes (#5437) 2022-09-20 14:01:54 +07:00
Alex Sharov
5ccc039497
Test e22 incarnation (#5436) 2022-09-20 11:10:31 +07:00
Alex Sharov
db622cba4a
remove async snapshots interator (#5429) 2022-09-20 09:36:48 +07:00
Andrew Ashikhmin
05df5a4739
Revert "Docker pos fixup attempt1 (#5401)" (#5421)
This reverts commit 43c848ceb9.
2022-09-19 16:13:20 +02:00
Enrique Jose Avila Asapche
e53fec1977
appending log into erigonLogs (#5419)
* appending log into erigonLogs

* Revert "appending log into erigonLogs"

This reverts commit 37ceb2fa3da156977bba764d7d9e77f27ae360d7.

* ops
2022-09-19 16:25:10 +03:00
Andrew Ashikhmin
775d4a225b
Don't check TerminalBlockHash in exchangeTransitionConfiguration (#5428) 2022-09-19 13:05:45 +02:00
Andrew Ashikhmin
7561a74af3
Remove terminal PoW block overrides (#5420) 2022-09-19 10:33:18 +02:00
Alex Sharov
2b4884bf0b
docker set alpine version to v3.16 (#5426) 2022-09-19 14:38:08 +07:00
Alex Sharov
c1bb4bc734
exec22: stagedsync test v1 (#5425)
* save

* save
2022-09-19 12:17:36 +07:00
Alex Sharov
9fb8a190bc
erigon22: folder snapshots/history (#5351) 2022-09-18 17:41:01 +07:00