Reinhard Schu
cdb5d5bf5e
Update README.md ( #5648 )
...
Updated docs, following dropping alpha/beta branches
2022-10-06 18:26:02 +01:00
ledgerwatch
d95a905b2b
Fix Re-Org Back into Canonical Chain hive test ( #5647 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-06 18:25:24 +01:00
Giulio rebuffo
ebe63cfa30
Added tests for config functions and further refactoring ( #5646 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-06 18:23:46 +02:00
Andrew Ashikhmin
ca60b197a1
Fix Gnosis Chain transition to safeContract validator ( #5645 )
2022-10-06 18:06:18 +02:00
Enrique Jose Avila Asapche
d566d4af09
leaving reqresp stream open ( #5636 )
...
We were closing our reqresp stream, which caused the peers to disconnect
from us.
2022-10-06 16:16:02 +01:00
Giulio rebuffo
20fded8b33
Removing useless and rendundant code from cmd/lightclient ( #5643 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-06 14:34:39 +02:00
Giulio rebuffo
2fd96a0b1c
[Experimental] GRPC Prototype with --experimental.lightclient to have Erigon listen on ConsenSUS gossip. ( #5590 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-06 11:01:56 +02:00
Alex Sharov
ae449eba4a
E3 exec atomics ( #5641 )
2022-10-06 13:11:11 +07:00
Alex Sharov
c138ab4aeb
e3: fix nil ptr at close ( #5640 )
2022-10-06 12:22:34 +07:00
Alex Sharov
6a52007c69
e3: always created dir ( #5638 )
2022-10-06 09:18:37 +07:00
Alex Sharov
e27ffad862
e3 more tests disable ( #5637 )
2022-10-06 09:18:17 +07:00
Alex Sharov
e935e20fc5
erigon3: less logic inside txs loop ( #5615 )
2022-10-05 17:56:02 +07:00
Alex Sharov
ca9aa4723c
Compress params change ( #5631 )
...
as of https://github.com/ledgerwatch/erigon-lib/pull/651
2022-10-05 17:54:54 +07:00
Alex Sharov
c48d51a582
snapshot index workers amount - based on available RAM and CPU ( #5524 )
2022-10-05 17:07:01 +07:00
Alex Sharov
3777b613f9
erigon3: bigger outCh and log it's len/cap ( #5612 )
2022-10-05 15:37:41 +07:00
Alex Sharov
5810656f78
erigon3: skip tests for receiptBloom validation ( #5630 )
2022-10-05 15:09:28 +07:00
Alex Sharov
2011dd806a
erigon3: fix stuck test ( #5629 )
2022-10-05 12:54:31 +07:00
ledgerwatch
bfc0b6b000
Update version.go ( #5626 )
2022-10-05 06:28:14 +01:00
ledgerwatch
94f4ea805d
Fixing hive SideChain reorg test ( #5620 )
...
the root cause is that when `inMemoryExecution` lambda gets created in
the `eth/backend.go`, it captures the reference of
`backend.notifications`, and so the execution of side-forks actually
adds notifications to there, and it all gets sent out to tx pool (and
RPC daemon) at the end of the stage loop (regardless of whether there
was forkchoice update or not)
so we can create a separate notification, but then somehow flush it to
the "main" nofitications when the in-memory exec state is flushed
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-10-05 05:42:38 +01:00
Alex Sharov
ff8fcf8070
erigon3 integration tests fixes ( #5625 )
2022-10-05 10:59:08 +07:00
Alex Sharov
001c344d66
erigon3 integration test fixes ( #5624 )
2022-10-05 10:55:08 +07:00
Alex Sharov
18f5f45d68
erigon3: integration tests makefile #5621
2022-10-05 09:53:03 +07:00
a
25a7cb38ef
[light client] gossip propogation ( #5591 )
...
* refactor gossip handler once again
* write packet
* comment
* make linter happy
* remove functional handler
* add codecstring as config parameter
* copy in dependency
* remove merge header
* pass lint
Co-authored-by: a <a@a.a>
2022-10-04 22:03:30 +02:00
Andrew Ashikhmin
2217b2785e
SysCallContract shouldn't increase nonce of SystemAddress ( #5617 )
...
* Test GnosisGenesisStateRoot
* Delete obsolete allocations
* SysCallContract shouldn't increase nonce of SystemAddress
* Max gas limit in SysCallContract
* Restore error swallowing for Bor
2022-10-04 18:02:17 +02:00
ledgerwatch
92bc23bd45
Return correct LastValidHash ( #5616 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-04 13:38:47 +01:00
Alex Sharov
4e3c02f48f
eliasfano32.Max() method on serialized bytes ( #5603 )
...
* save
* Update erigon-lib to main
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-04 11:14:37 +01:00
ledgerwatch
fd52a788b7
Fix creation of block snapshots ( #5579 )
...
* Print snapshot prune
* More print
* Print
* Print
* Print
* Move snapshots stage forward
* Cleanup
* Fix tests
* Print
* Too much logging
* Remove print
* Log, check
* Revert
* No panic, print
* Fix tx numbering
* Harder condition to start retiring blocks
* Disable Pow verification after TTD is reached
* Fix POW verifying
* Print
* Prints
* Fix?
* cleanup
* Add migrations and hack
* More diagnostics
* More print
* Reset sequence only once
* Fix migration
* Remove print reset
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-10-04 11:14:18 +01:00
Alex Sharov
39383d936d
erigon3: move tx.AsMessage() out of critical path ( #5611 )
...
* save
* save
2022-10-04 10:56:41 +01:00
Alex Sharov
15cac71f3f
madv helpers ( #5610 )
...
* save
* save
* save
2022-10-04 10:52:56 +01:00
hexoscott
b581bf30c0
Reintroduce oom fix ( #5604 )
...
* bring back oom fix for bodies with some new tweaks
* use in memory body cache when processing stages in memory
2022-10-04 10:44:23 +01:00
Alex Sharov
a03c43fe3c
erigon3: allow commit in parallel exec #5614
2022-10-04 13:51:30 +07:00
Alex Sharov
ede306baa5
erigon3: no overlap parallel tx
2022-10-04 13:40:27 +07:00
Enrique Jose Avila Asapche
fce9a665bb
warning of missing block and returning nil if no err ( #5606 )
...
* warning of missing block and returning nil if no err
* deleted message
2022-10-04 09:00:27 +07:00
Alex Sharov
2b4046f372
erigon3 recon fix overlap txs #5609
2022-10-04 08:59:35 +07:00
Enrique Jose Avila Asapche
0e2190f5d1
better retry ( #5605 )
2022-10-03 20:38:21 +02:00
Enrique Jose Avila Asapche
f2d95d16cc
Adding light client requesting ( #5580 )
...
* separated the encoding
* picking random peer node
* sending ping request
* updated enconding and reading
* requesting ping interval and more verbose vars
* disconnecting from unresponsive peers
* penalizing instead of disconnecting for irresponsiveness
* closing stream for streamCodec
* solved meged issues
* changed back
* separated const values
* requesting ping interval to 1 sec
* added closing of read and write stream && receiving responses!
* fixecd typo
* general sending request function
* added constants of resqresp topics
* fixed uncorrect name
* refactored sending requests
* added todo
* little detail
* moved to main
* no need to sleep
* sending request retries until timeout
* type
* lint
2022-10-03 11:05:59 +02:00
Andrew Ashikhmin
ffe983b06d
Fix callBlockRewardAbi ( #5600 )
...
* Add a comment
* Fix callBlockRewardAbi
2022-10-03 10:53:07 +02:00
Alex Sharov
20f50da285
r.cache = prevView.cache.Clone()
2022-10-03 09:50:17 +07:00
Andrew Ashikhmin
9ecc564d03
Demote "stage loop is busy" to debug ( #5597 )
2022-10-02 16:10:11 +01:00
Alex Sharov
fba6efb1c8
erigon3: a bit simplify reconstitution #5599
2022-10-02 20:37:28 +07:00
Alex Sharov
fda2748447
erigon3: no overlap tx, better defer rollback ( #5598 )
2022-10-02 19:54:26 +07:00
Alex Sharov
c38a9dcfab
Erigon3: don't commit in the middle of block execution ( #5596 )
2022-10-02 16:26:56 +07:00
Alex Sharov
afcd605fc5
remote rpcdaemon to create snapshots/history dir at startup #5594
2022-10-02 14:48:26 +07:00
Alex Sharov
37f76c9a9e
bitmapdb ( #5593 )
2022-10-02 10:54:40 +07:00
a
7c8b3c2ba1
[rpcdaemon] greatly increase speed of {eth,erigon}_getLogs ( #5572 )
2022-10-02 10:51:19 +07:00
Alex Sharov
1789e04c58
erigon3: nil ptr on reading header fix #5592
2022-10-02 10:24:13 +07:00
Alex Sharov
fa16d5e855
erigon3: step toward background snapshots build ( #5588 )
2022-10-02 10:21:17 +07:00
Alex Sharov
1b17a3226a
agg print stats at startup ( #5586 )
2022-10-01 09:29:28 +07:00
Giulio rebuffo
90bae9a4df
modularized pubsub ( #5585 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-01 02:34:11 +02:00
Enrique Jose Avila Asapche
3aea208cd4
closing streams ( #5583 )
...
* closing streams
* done master
2022-10-01 00:25:17 +02:00