Commit Graph

16400 Commits

Author SHA1 Message Date
Giulio rebuffo
7a64fe44eb
UX improvement for pre-merge sync with Teku (#4955)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-08 11:26:34 +02:00
Alex Sharov
1b20322b60
snap: no tmp subfolder (#4940)
* save

* save

* save

* save

* save
2022-08-08 09:24:39 +07:00
fenghaojiang
bc7921a8ab
add field timestamp to eth_getLogs response (#4950)
* add_abigen_error_handle

* add abigen error type test code

* add field timestamp in `eth_getLogs` api

add field timestamp in `eth_getLogs` api
2022-08-08 09:17:32 +07:00
Dan Kelly
cce64f6a33
Fix rpc json #4838 (#4894)
* Fixing RPC JSON errors

* Use local rpc mod

* Revert "Use local rpc mod"

This reverts commit 61d06a72d218f5ecb84e9e4ddddf8762a04f714c.

* Make handle error accessible

* Port fixes to rpcdaemon22

* Remove unused...

* ... and use correct function name

* Handle errors outside iterator loop. Fix missing rpcdaemon22 error handling

* Bubble up higher level errors to the top-level object

* Fix linter error - semi-colon..
2022-08-08 09:15:58 +07:00
Enrique Jose Avila Asapche
a02c71c006
added VRS hard-coded values (#4949) 2022-08-06 19:05:51 +03:00
Giulio rebuffo
a481b77489
removed incarnation updates and removed side forks past fcu (#4944)
* removed incarnation updates and removed side forks past fcu

* has

* fixed hive

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-05 18:07:27 +02:00
Max Revitt
8b475564d9
feat(ci): hive xunit output parse (#4945) 2022-08-05 17:28:56 +03:00
Alex Sharov
7a2e7e8c06
enable_remote_rpcdaemon (#4938) 2022-08-05 10:15:40 +07:00
Alex Sharov
05e5634653
snap indexing: fix logging #4937 2022-08-05 09:01:17 +07:00
Max Revitt
dfa77ac871
fix(ci): hive run event file location update (#4932) 2022-08-04 15:23:11 +01:00
Leonard Chinonso
43f5ab09f8
Fixed lint errors for gosec linter (#4933)
* Fixed lint errors for gosec linter

* Changed uint64 to int64 in common/GetRandInt

* Changed naming of function
2022-08-04 14:59:40 +01:00
Leonard Chinonso
592fe32217
Refactoring To Increase Code Quality (#4842)
* General cleanup and fixes

* Cleaning part 2

* cleanup part 3

* Refactored staterunner to have a handler function

* Fixed linting

* Cleanup part 4

* Changed the initialization of the require package and updated .golangci.yml

* Fixed lint errors from golangci-lint

* deleted state_recon_1.go

* fixed build error

* Added ReadHeaderTimeouts for httpServer

* made changes to golangci

* Reset golangci.yml
2022-08-04 20:23:00 +07:00
ledgerwatch
e56491c601
Erigon22 prototype without parallel execution, fix for BSC upgrade contract (#4884)
* No parallelisation in erigon22 prototype

* Remove paralell

* tx/s

* commit

* Fix overlap

* workers argument

* Print

* Print

* Stable sort

* Print

* Init

* Remove print

* Remove print

* Remove print

* No sorting

* Cleanup

* Fix hangs

* Fix reconstitution for contract upgrades

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-08-04 13:00:46 +01:00
Enrique Jose Avila Asapche
a0da31bb1d
Transaction count fix (#4888)
* getBlockTransactionCountByHash using snapshots

* got body from block reader

* requesting block body with transactions

* tests

* added tx amount into blocreader body

* using txAmount from body
2022-08-04 18:49:53 +07:00
Andrew Ashikhmin
5ea692f2de
Remove authrpc.* flags from rpcdaemon (#4931)
* README: Move port 8551 from RPC to erigon ports

* Some renaming for consistency

* Remove authrpc.* flags from rpcdaemon

* docker-compose: move --authrpc.jwtsecret to erigon

* minor typo
2022-08-04 12:51:01 +02:00
hexoscott
c61fbff74c
fix eth gas estimate when no pending block is available (#4898) 2022-08-04 11:47:11 +01:00
Andrew Ashikhmin
ea6305339b
Revert "Log data if cannot decode BlockBodiesPacket66 (#4850)" (#4929)
This reverts commit 7ae99884af.
2022-08-04 12:01:36 +02:00
Andrew Ashikhmin
4fb27b60f9
Clean up BodyDownload.VerifyUncles (#4928) 2022-08-04 11:47:01 +02:00
Enrique Jose Avila Asapche
0908536e0a
check if eip-1559 (#4927) 2022-08-04 12:30:20 +03:00
Alex Sharov
3680bfc326
Mdbx: semaphore fix release (#4926)
* save

* save
2022-08-04 12:34:26 +07:00
Alex Sharov
1413b1c37c
Sn: parallel files indexing progress logs (#4925) 2022-08-04 12:31:25 +07:00
Alex Sharov
eb07869065
fix --snap.keepblocks flag use (#4924) 2022-08-04 10:03:39 +07:00
Alex Sharov
c3777f2820
Sn better log indexing2 (#4923)
* auto-build-idx

* save

* save
2022-08-04 09:55:06 +07:00
Alex Sharov
b1db36eb09
snap: better log indexing (#4921) 2022-08-04 09:39:29 +07:00
Shinto C V
3c7a2c4376
Fix perma link to beacon chain in README (#4919) 2022-08-04 08:32:23 +07:00
Alex Sharov
35878b29c4
erigon22: auto-create dir (#4912) 2022-08-03 15:10:28 +07:00
Alex Sharov
0d21da4a01
erigon22: auto create dir (#4911) 2022-08-03 14:43:47 +07:00
Alex Sharov
db0c4e9d41
torrent: reduce network packet size, to increase network responsiveness (#4910) 2022-08-03 09:39:08 +07:00
Giulio rebuffo
311d18ae92
better error (#4907)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-03 07:49:06 +07:00
Enrique Jose Avila Asapche
0640e946dd
updated eth_subscribe info (#4905) 2022-08-02 20:45:37 +03:00
hexoscott
98c639784b
rpc: fix for map concurrency issue in logs subscription (#4903)
moving a couple of mutex locks and introducing another to prevent a deferred call to unsubscribe clashing with a new call to subscribe
2022-08-03 00:37:34 +07:00
Leonard Chinonso
ec67e80a8a
Fixed lint errors for gocritic linter (#4904) 2022-08-03 00:35:22 +07:00
Leonard Chinonso
6061690f61
Fixed lint errors for unused linter (#4902) 2022-08-02 22:01:53 +07:00
Leonard Chinonso
8774e1d8a2
Fixed lint errors from gosimple linter (#4900) 2022-08-02 21:09:00 +07:00
Leonard Chinonso
808df67683
Fixed lint errors for staticcheck (#4901) 2022-08-02 21:07:39 +07:00
Andrew Ashikhmin
29d2f16bf0
Fix auth RPC logging (#4899) 2022-08-02 13:24:25 +02:00
Alex Sharov
9dc15ac5bb
integration mdbx_to_mdbx (#4897) 2022-08-02 13:37:57 +07:00
Andrew Ashikhmin
7199dcf7a2
Rename engine.* flags to authrpc.* for consistency with geth (#4890)
* Update README re. Engine API

* Remove obsolete code

* Don't apply --rpc.accessList to Engine API listener

* Simplify startAuthenticatedRpcServer

* Rename engine.* cmd flags to authrpc.* for consistency with geth

* More renamings

* Introduce --authrpc.vhosts flag
2022-08-02 13:15:01 +07:00
Alex Sharov
5cf933d0b0
torrent logs better (#4896) 2022-08-02 11:43:26 +07:00
Alex Sharov
053fc18b44
remove debug line (#4895) 2022-08-02 10:50:40 +07:00
Andrew Ashikhmin
41f27be140
Don't start engine API in standalone rpcdaemon (#4887) 2022-08-01 17:12:35 +02:00
nanevardanyan
cdcc031f41
cmd: make sure regular rpc server start is reachable (#4885) 2022-08-01 16:54:04 +02:00
Henry
9ed2f8d98b
cmd:use for_range read channel (#4880) 2022-08-01 12:58:09 +07:00
Alex Sharov
e60b38e283
decompress: catch maxDepth underflow (#4882)
* save

* save
2022-08-01 12:40:00 +07:00
Alex Sharov
539d14669a
fix empty sn list (#4881) 2022-08-01 11:49:37 +07:00
Alex Sharov
8ccae67447
savemdbx: better error msg(#4878) 2022-08-01 11:14:48 +07:00
Alex Sharov
a50d4c2852
snap indexing: less logs (#4877) 2022-08-01 11:07:07 +07:00
Alex Sharov
bd4bed5933
fix 64kb pageSize page_full corner case (#4847) 2022-08-01 11:03:28 +07:00
ledgerwatch
2b517b7630
Erigon22 prototype to support BSC (#4867)
* Reduce workers and queue size

* Add traces and event logs

* Add chain flag

* Print

* Open consensus db as read only

* Use only one engine instance

* chainDb

* Display palia error

* Not to panic

* Not to exit

* Add syscall

* Print

* Pointer to TxTask

* Not register senders

* Print

* Relax check

* Skip system transactions

* increase workerCount again

* Remove print

* Change recon

* Fix types

* Skip system txs

* Print

* No rules for genesis commit

* Print genesis

* Print|

* Print

* Print

* Update

* Fix

* Remove print

* No print

* Support contract upgrades

* Use the same dif

* Print create2

* Fix

* Fix

* Print

* Hack iterate

* Print empty vals

* Fix hack

* Code hashes

* Code hashes

* Print

* No panic

* No panic

* Fix?

* another incarnation fix

* Remove print

* Remove print

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-07-31 21:54:23 +01:00
Giulio rebuffo
3a972cc074
Removed the use of memory mutation for side-fork unwinds. (#4857)
* done

* updated sum and mod

* error handling

* error handling

* comments

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-31 15:56:08 +02:00