Commit Graph

16367 Commits

Author SHA1 Message Date
Alex Sharov
271898ee92
add go.work.sum to gitignore #4826 2022-07-26 09:30:53 +07:00
Alex Sharov
c40fce2ba0
kv.Snapshots() grpc method (#4825) 2022-07-26 09:28:18 +07:00
Andrew Ashikhmin
a4d8031f5d
Fix RemoveContents for non-existing dir (#4823) 2022-07-25 15:58:40 +02:00
Alex Sharov
6faf337b27
pool: allow non-parsable txs in db, skip them with warning 2022-07-25 13:06:56 +07:00
Alex Sharov
b20f7ecdd1
docker_hub_default_pid (#4819) 2022-07-25 12:49:29 +07:00
Alex Sharov
9e371fef5c
remove only etl-tmp content, but not dir itself #4816 2022-07-25 11:31:57 +07:00
Alex Sharov
b231856c1c
avoid sudo in makefile #4818 2022-07-25 11:29:34 +07:00
Alex Sharov
7826a33b87
save (#4817)afix "grafana user format" #4817 2022-07-25 11:26:42 +07:00
Giulio rebuffo
a372746397
Move some checks out enginePayload and fcu (#4805)
* made in refactoring

* test

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-24 16:20:08 +02:00
ledgerwatch
6f53d1ef4d
Fix test compilation error (#4809)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-07-24 10:44:52 +01:00
bgelb
6481757175
fix regressions in trace_call and eth_createAccessList introduced by PR #3517 (#4807) 2022-07-24 09:50:43 +01:00
dmitriyselivanov
e85796a38c
rpcdaemon: added test for eth_call in case of a pruned block (#4776) 2022-07-24 09:50:00 +01:00
banteg
1533bea3f6
fix(vmtrace): missing pushes (#4808)
* fix(vmtrace): add chainid stack value

* fix(vmtrace): add coinbase stack value
2022-07-24 08:56:37 +01:00
banteg
4c0ab19bc6
fix(vmtrace): return value pushed by smod (#4806) 2022-07-24 12:21:31 +07:00
ledgerwatch
81d106bc9d
Experiment in parallel execution (#4652)
* Restructure tx execution

* fixes

* Fixes and traces

* Tracing

* More tracing

* Drain the result channel

* Intermediate

* more efficient parallel exec

* Sorted buffer

* Fix results size

* fix for the recon

* Fix compilation

* Sort keys in Write and Read sets, fix compilation in rpcdaemon22

* Update to latest erigon-lib

* Update to erigon-lib

* Remove go.mod replace

* Update erigon-lib

* Update to erigon-lib main

* Fix lint

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-07-23 18:39:08 +01:00
Giulio rebuffo
1cb6be02a5
Avoid constantly triggering stageloop when using Engine API (#4797)
* avoid constantly triggering stageloop when using Engine API

* fix lint + test

* fixed comments

* ops

* little fixes here and there

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-23 18:57:23 +02:00
Andrew Ashikhmin
d2389a1f26
Sepolia MergeNetsplit block (#4804) 2022-07-23 18:02:31 +02:00
Alex Sharov
68e35417fc
RetireBlocks: encapsulate delete logic 2022-07-23 11:09:16 +07:00
Alex Sharov
95f0338ddb
Pool: parse rlp chain id for non-legacy transactions #4802 2022-07-23 10:13:13 +07:00
Alex Sharov
62873649d9
lint up 47.2 (#4801) 2022-07-23 10:09:24 +07:00
Alex Sharov
6a759a34f8
pool: metrics (#4800) 2022-07-23 10:06:35 +07:00
Alex Sharov
dd4bae789b
Pool: parse rlp chain id for non-legacy transactions 2022-07-23 09:33:45 +07:00
Max Revitt
01641e3900
fix(ci): hive results workflow syntax (#4796) 2022-07-22 19:05:08 +03:00
Max Revitt
0d979e18aa
fix(readme): latest badge.svg gist links (#4795) 2022-07-22 18:18:45 +03:00
Max Revitt
37ba45a627
feat(ci): badges for hive and code coverage on devel (#4793)
* feat(ci): badges for hive and code coverage on devel

* feat(ci): hive CI tidy up (#2)

run hive on successful CI only
run on non-draft PR only
2022-07-22 17:09:50 +02:00
Max Revitt
d6001225e7
feat(makefile): add documentation and coverage command (#4792) 2022-07-22 14:26:18 +02:00
Max Revitt
d2bbf22e3d
hive - run on successful CI (#4791)
* feat(ci): run hive tests as part of CI

* feat(ci): hive CI tidy up (#2)

run hive on successful CI only
run on non-draft PR only
2022-07-22 14:26:05 +02:00
Alex Sharov
cd8b10f57e
snapshot merger: smaller interface (#4786)
* save

* save

* save
2022-07-22 16:54:05 +07:00
Giulio rebuffo
46a8c531ce
Optimized PoS header downloader (#4775)
* optimized PoS header downloader

* removed println

* comments

* ops

* Restore schedulePoSDownload params + simplify

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
2022-07-22 11:07:58 +02:00
Artem Tsebrovskiy
a1777accd8
fixed passing of raw byte slices to tx processing (#4782) 2022-07-22 15:47:33 +07:00
Giulio rebuffo
1d378b6618
Filter out bad tx with wrong chain id during block building phase. (#4783)
* filter out bad tx with wrong chain id

* report bad txs

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-22 09:18:19 +02:00
Alex Sharov
66758c7960
RetireBlocks: less arguments (#4785)
* save

* save
2022-07-22 13:44:42 +07:00
Andrew Ashikhmin
6060b87840
Fix binary vs raw confusion for PoS transaction (#4781)
* Replace PayloadMessage with Block

* RawTransactions -> BinaryTransactions for clarity

* add a log warning
2022-07-21 19:40:00 +02:00
Igor Mandrigin
42e59618a7
run engine tests on Hive 2022-07-21 14:50:03 +02:00
Max Revitt
770d7cf8bd
Hive CI output parse (#4737)
* feat(ci): run hive tests as part of CI

* feat(ci): add hive test runs and output parse

* feat(ci): parse hive output for forked repos
2022-07-21 14:47:36 +02:00
Giulio rebuffo
1becfc509b
extra reset before starting change in rewind side fork (#4774)
* extra reset before starting change

* extra reset before starting change

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-21 04:06:26 +02:00
Giulio rebuffo
7573a41069
fixed accumulator nil case (#4773)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-21 03:47:37 +02:00
Giulio rebuffo
73b028a5fd better payload cleanup (#4772)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-20 18:16:42 +02:00
Andrew Ashikhmin
9e8f625c53
Fix txn removal in PendingPool (#4770) 2022-07-20 18:28:58 +03:00
Andrew Ashikhmin
00769e3dff
Fix MDBX compilation on macOS (#4767) 2022-07-20 15:16:20 +02:00
Andrea Lanfranchi
f8c37be3b2
Only test and db-tools require submodule update (#4765) 2022-07-20 18:42:33 +07:00
Alex Sharov
2706b01cea
go mod (#4762) 2022-07-20 12:23:12 +02:00
Alex Sharov
1ecacde3a9
trackerslist: convert from git submodule to go package (#4761) 2022-07-20 09:47:58 +07:00
Alex Sharov
5805d963ea
erigon-snapshot: convert from git sumbodule to golang package (#4760) 2022-07-20 09:34:12 +07:00
Giulio rebuffo
d4f865d725
Added proper cleanup when we get notified of new height (#4753)
* added proper cleanup when we get notified of new height

* added extra cleanup

* removed bad if condition

* fixed hive tests

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-19 22:31:15 +02:00
Andrew Ashikhmin
d0399012c2
Fix txn removal in PendingPool (#4754) 2022-07-19 16:31:30 +02:00
Andrew Ashikhmin
1110c35033
Görli Terminal Total Difficulty (#4752) 2022-07-19 16:03:35 +02:00
Enrique Jose Avila Asapche
e768227d38
Merge range (#4749)
* added merge range into segments

* got rid of missing snapshot errors

* reusing RequestSnapshotDownload

* sleep out of download

* ops

* warning if we are missing snapshots
2022-07-19 19:27:54 +07:00
Alex Sharov
d3b424c9f6
Mdbx: GC BigFoot (#4750) 2022-07-19 16:53:18 +07:00
Andrew Ashikhmin
ab28089583
Still fixing index out of range in (*Accumulator) ChangeStorage (#4751) 2022-07-19 11:11:08 +02:00