Commit Graph

15942 Commits

Author SHA1 Message Date
Alex Sharov
ea9e547be5
--snap.stop: to prevent indexing on stage_header #4335 2022-06-02 19:06:03 +07:00
Alex Sharov
0d2f77ad2a
compose: abs path to jwt.hex (#4333) 2022-06-02 16:03:33 +07:00
Alex Sharov
4150c66eb7
Dockerfile add buildcache (#4332) 2022-06-02 15:49:21 +07:00
Alex Sharov
3ab2f07294
DockerCompose: add txpool and sentry (#4329) 2022-06-02 11:46:40 +07:00
Zachinquarantine
07ee96a4d6
Fix CONTRIBUTING.md file (#4328)
Replaces "go-ethereum" with "Erigon"
2022-06-02 10:50:00 +07:00
ledgerwatch
b06b4b4c91
Prevent double retiring of the same interval, prevent hiding errors (#4325)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-02 08:49:24 +07:00
ledgerwatch
e0ac654da5
Better diagnostics for anchorQueue (#4326)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-01 23:45:06 +01:00
Giulio rebuffo
40230d5ab5
Refactor mining batch (#4322)
* refactooor

* updated ethdb

* more fixing

* more fixing

* more

* refactoor

* fixed mdbx crash
2022-06-01 22:48:42 +01:00
battlmonstr
0c5d1d64a3
observer: sentry candidates intake (#4321)
* sentry client: log connected peer info

* observer: unseen sentry peers report

* observer: refactoring node.go to node_utils

* observer: sentry candidates intake
2022-06-01 22:48:24 +01:00
leonardchinonso
878cc063b0
Draft PR to complete devnet automation (#4278)
* Fixing headers stuck in StageSync

* Removed ./dev folder and cleaned up code

* Removing the logs subscription tests
2022-06-01 22:47:12 +01:00
Alex Sharov
e13e212288
rpc: add all blockReader methods (#4320)
* save

* save
2022-06-01 09:57:12 +07:00
Giulio rebuffo
576d736570
Added first prototype of mining mutation (#4266)
* added first prototype of mining mutation

* tests and lint

* fixed some stuff

* more progress

* bug fixing

* more refactoring

* account only modifications are allowed

* Added account trie memory calculation

* SeekBothRange adjustments

* more on both range

* finished

* lint

* fix account tries

* fixes

* more fixes to storage tries

* more fixes

* just saving progress

* better version

* more progress

* done please

* lint
2022-06-01 01:26:08 +02:00
ledgerwatch
cbc5729aa1
Fix and expand header downloader diagnostics (#4319)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-31 20:24:45 +01:00
Andrew Ashikhmin
4d2b80639b
Update Engine API errors (#4318) 2022-05-31 15:06:00 +02:00
ledgerwatch
d884a6b780
Update skip_analysis.go (#4317) 2022-05-31 12:48:24 +01:00
Andrew Ashikhmin
5fd0da019c
consensus/clique: fix race condition (#24957) (#4313)
* consensus/clique: remove race condition

* consensus/clique: fix one more signer data race

Co-authored-by: Gary Rong <garyrong0905@gmail.com>

Co-authored-by: Harry Kalodner <harry.kalodner@gmail.com>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2022-05-31 12:34:46 +02:00
Andrew Ashikhmin
4b117e600d
LatestValidHash should be 0x00... instead of nil if TTD not reached yet (#4314) 2022-05-31 12:33:15 +02:00
Alex Sharov
621223fd24
Compose simplify (#4312)
* save

* save
2022-05-31 14:35:10 +07:00
ledgerwatch
0680671df9
Revert "Warn not error when body is missing (#4309)" (#4311)
This reverts commit 85814cacc5.
2022-05-30 18:31:47 +01:00
ledgerwatch
85814cacc5
Warn not error when body is missing (#4309)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-30 16:23:57 +01:00
Alex Sharov
e0323e7434
fix empty senders array check #4308 2022-05-30 20:51:14 +07:00
Andrew Ashikhmin
710f664161
Ignore expected errors in TestState (#4307) 2022-05-30 15:45:28 +02:00
Andrew Ashikhmin
acd309a1a8
Consistent commas in (*ChainConfig) String() (#4306) 2022-05-30 15:08:33 +02:00
Andrew Ashikhmin
21ca6b6790
Update consensus tests to 10.4 (#4287)
* Update consensus tests to 10.4

* Introduce CheckEip1559TxGasFeeCap
2022-05-30 14:56:07 +02:00
Alex Sharov
d37447727a
torrent: reduce deps of cfg #4305 2022-05-30 17:36:02 +07:00
Alex Sharov
e5c8a9a1bf
torrent: download rate (#4304) 2022-05-30 17:29:54 +07:00
Alex Sharov
955c669d21
Group few sync configs (#4303)
* save

* save
2022-05-30 17:08:49 +07:00
Krishna Upadhyaya
0fbf345ee8
Fix txContext for Bor (#4302) 2022-05-30 07:51:53 +01:00
Alex Sharov
0795bcb865
integration: validate syncmode flag (#4300) 2022-05-30 09:59:38 +07:00
Alex Sharov
815119525a
reduce mem usage on building txs indices (#4299) 2022-05-30 09:33:48 +07:00
Victor Deleau
f5cd12620c
add information about how to run make docker-compose as non-root user (#4296)
Co-authored-by: victordeleau <>
2022-05-29 18:58:55 +01:00
Alex Sharov
24783beb52
stage trie: nil check #4295 2022-05-29 12:03:43 +07:00
ledgerwatch
369052ed79
Fix for bor-mainnet mismatched root hash (#4294)
* Print

* Print

* Fix

* Print

* Print

* Print

* Print

* Print

* Print

* Print

* Fix

* Fix

* Cleanup

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-29 00:22:47 +01:00
ledgerwatch
438c3933af
Fix invalidation of anchors (#4292)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-28 17:33:27 +01:00
ledgerwatch
9d550e37a4
Update skip_analysis.go (#4291) 2022-05-28 13:55:29 +01:00
ledgerwatch
974e01bcd3
Allow skeleton requests to more peers (#4290)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-05-28 13:38:22 +01:00
Andrew Ashikhmin
13a1b3c19f
Ensure stored config is overriden when overrideTerminalTotalDifficulty (#4286) 2022-05-27 10:25:29 +02:00
ledgerwatch
8e13ef40d0
Advance skip analysis for BSC (#4285)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-27 08:13:29 +01:00
Alex Sharov
92318a3c38
Add trace to receipt count mismatch log (#4284) 2022-05-27 11:03:04 +07:00
Alex Sharov
11e96460cf
Torrent: verify is more informative (#4283)
* save

* save
2022-05-27 10:44:07 +07:00
Zachinquarantine
6982ace915
Update Goerli bootnodes (#4281) 2022-05-27 08:34:24 +07:00
battlmonstr
da45be9319
sentry: log peer events in erigon (#4275)
* sentry: log peer events in erigon

* refactor pumpStreamLoop to support streams with arbitrary message types
* subscribe to PeerEvents

* fixup! use generics
2022-05-27 08:33:00 +07:00
Andrew Ashikhmin
16950ebc2c
Fix OverrideTerminalTotalDifficulty when datadir is not empty (#4280) 2022-05-26 21:21:51 +02:00
Giulio rebuffo
bd633f360d
Updated TTD in ropsten (#4279) 2022-05-26 19:05:00 +01:00
Andrew Ashikhmin
0c76286509
Add rules to AsMessage to vet transaction types (#4276)
* Add rules to AsMessage to vet transaction types

* Fix TestState
2022-05-26 18:20:34 +02:00
Alex Sharov
6eb10ba9a8
Use ETL to fill kv.HeaderNumber from snapshots (#4272)
* merge devel

* save
2022-05-26 21:41:05 +07:00
leonardchinonso
3102a04d7f
Draft PR for the devnet automation (#4057)
* Draft PR for the devnet automation

* Committing to save for later edit

* Finished creating shells, to test

* Changes:
* Added a shell for picking eth commands
* Implemented erigon node running with the --http flag to save processes
* Shell commands for get-balance and send-tx implemented
TODO:
* Make UX more friendly by adding start, stop and exit commands
* Add progress bar to show wait in progress
* Add flag or input to enable mining option for erigon node
* Implemented stress tests for other eth methods

* Experimenting

* little clean up

* lint

* Transitioned to static runs and tests from shell

* Finished stress test methods

* Rendering fixes

* save

* Cleanup

* Fixed lint

* Still fixing lint

* Removed args append ineffect

* Removed println in genesis init.go

* Removed println in genesis init.go

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Enrique Avila <eavilaasapche@gmail.com>
2022-05-26 13:08:25 +01:00
Andrew Ashikhmin
86de64a2a3
TangerineWhistle instead of EIP150 & SpuriousDragon instead of EIP155/158 (#4273)
* EIP150Block -> TangerineWhistleBlock

* Merge EIP158Block into EIP155Block

* EIP155Block -> SpuriousDragonBlock
2022-05-26 12:08:59 +02:00
primal_concrete_sledge
5c055b9697
Fix/block new filters (#4271)
* Add filters functions

* Fix: forbid new filters for requests

* Merge devel fix
2022-05-26 16:16:11 +07:00
Alex Sharov
66248c4bfb
Torrent: verify all files (#4270) 2022-05-26 12:27:44 +07:00