Commit Graph

15832 Commits

Author SHA1 Message Date
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
battlmonstr
8a47a7ce33
sentry: PeerById method (#4260) 2022-05-26 10:53:23 +07:00
battlmonstr
6b1f91407d
sentry: multi sentry client refactoring (#4265) 2022-05-26 10:45:35 +07:00
Alex Sharov
fc1a37e6dc
create turbo/services pkg (#4269) 2022-05-26 10:31:06 +07:00
Andrew Ashikhmin
619beb7797
Revert "Update consensus tests to 10.4 (#4262)" (#4263)
This reverts commit 3805fd99ad.
2022-05-25 16:47:59 +02:00
Andrew Ashikhmin
3805fd99ad
Update consensus tests to 10.4 (#4262) 2022-05-25 15:32:50 +02:00
Enrique Jose Avila Asapche
124e004bd5
fixed stuck dev chain (#4261) 2022-05-25 19:49:26 +07:00
Alex Sharov
d4d4c2ec13
Open Integration: use same db limit (#4259) 2022-05-25 16:22:02 +07:00
primal_concrete_sledge
a10d5910d5
Add filters functions (#4253) 2022-05-25 16:08:06 +07:00
Alex Sharov
9fd05cd812
lastDup no key (#4258) 2022-05-25 15:26:20 +07:00
Alex Sharov
1eb9aec08a
Better validate --torrent.verbosity flag (#4257)
* lastDup no key

* lastDup no key

* lastDup no key
2022-05-25 15:24:11 +07:00