Commit Graph

14744 Commits

Author SHA1 Message Date
Eugene
90e608c771
Implement test for RPC newHeads notification (#2805)
* implement test for `eth_subscribe`

* fix variable name collision
2021-10-09 16:04:54 +07:00
Eugene
177aff8260
fix eth_subscribe (#2801) 2021-10-09 08:39:40 +07:00
Alexandr Borodulin
4b881569c3
implement-reading-the-signature-private-key-from-a-file (#2798)
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-10-09 08:39:00 +07:00
Alex Sharov
5ca558c667
Move lengths to erigon-lib other packages depend on it (#2799)
* move lengths to erigon-lib

* move lengths to erigon-lib
2021-10-08 10:20:45 +07:00
canepat
03659cc801
Add eth_call bench test (#2796)
Refactor requestAndCompare to check errors
2021-10-08 08:43:54 +07:00
Igor Mandrigin
8b4d31f661
Stable 2021 10 02 (#2794)
* begin 2021.10.2 release cycle

* Revert "rpcdaemon: (#2752)" (#2762)

This reverts commit 2afd028d3d.

* Pool v2: --txpool.pricelimit support (#2763)

* --txpoo.pricelimit support

* Pool v2: --txpool.accountslots flag support (#2765)

* Update signal_windows.go (#2767)

Trap os.interrupt instead of SIGINT and SIGTERM

* Update stage_finish.go : notifications to rpc daemon (#2755)

* Dockerfile: switch to go1.17 and alpine3.14 (#2766)

* add logs in recoverFromDb func (#2769)

* eip 1559 in miner (#2773)

* Inner errors (#2774)

* Clean up DEBUG category logs (#2776)

- move many DEBUG logs into TRACE category

* Decoding incarnation implemented (#2764)

* WIP decoding incarnation specifically

* Changed decodeIncarnation to be an external function

* added tests to for decoding incarnations

* ran gofmt -w -s

* changed test name, and changed incarnations to 4

* Created a test which tests if it returns an error when there is one

* ran gofmt

* Capitalized all tests and made breaking test

* added an error check

* changed decodingForStorage for decodingIncarnationFromStorage

* ran gofmt -w -s

* No senders is fine (#2775)

* IntermediateHash stage - switch from incremental to re-generate mode - if jump > 100K blocks (#2781)

* Enable "State stream" by default (#2780)

* No json rpc streaming (#2779)

* reduce_bach_concurrency_default

* RPCDaemon: reduce --rpc.batch.concurrency default from 50 to 2 (#2784)

* Integration to print right stage in logs (#2785)

* remove debug prints

* RemoteDB: don't spend time to close cursors on end of tx - server will cleanup everything well (#2786)

* Fermion genesis block (#2787)

* updated Fermion genesis block

* Updated Fermion genesis block: added precompiles

* Rpcdaemon: add  --tevm flag to enable experiment (#2788)

* Reworkings of state compression experiments (#2790)

* Changes

* Progress

* Another way

* More

* More

* Produce encoding

* Add uncoded characters

* cleanup

* Add sortdict

* Fixes

* Use patricia from erigon-lib

* Cleanup

* Switch to dynamic programming, optimise allocations in FindMatches

* Optimise allocations

* Reduce allocations

* Switch to main branch of erigon-lib, reduce allocations further

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>

* Ignore MaxPeers param for staticpeers (#2789)

Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>

* less warnings

* Update skip_analysis.go (#2792)

* Extend preverified hashes for mainnet and ropsten (#2793)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
Co-authored-by: Andrea Lanfranchi <andrea.lanfranchi@gmail.com>
Co-authored-by: Enrique Jose  Avila Asapche <eavilaasapche@gmail.com>
Co-authored-by: e-danko <89912851+e-danko@users.noreply.github.com>
Co-authored-by: ledgerwatch <akhounov@gmail.com>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexandr Borodulin <sashaborodulin@gmail.com>
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-10-07 15:02:18 +03:00
Igor Mandrigin
e5c8628c8e begin 2021.10.3 release cycle 2021-10-07 14:42:05 +03:00
ledgerwatch
21823e3dd3
Extend preverified hashes for mainnet and ropsten (#2793)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-10-07 11:42:27 +01:00
ledgerwatch
e097490118
Update skip_analysis.go (#2792) 2021-10-07 11:16:48 +03:00
alex.sharov
161f59bb7d less warnings 2021-10-07 14:50:50 +07:00
Alexandr Borodulin
6336f9ab1d
Ignore MaxPeers param for staticpeers (#2789)
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-10-07 08:33:13 +07:00
ledgerwatch
7e4996bb09
Reworkings of state compression experiments (#2790)
* Changes

* Progress

* Another way

* More

* More

* Produce encoding

* Add uncoded characters

* cleanup

* Add sortdict

* Fixes

* Use patricia from erigon-lib

* Cleanup

* Switch to dynamic programming, optimise allocations in FindMatches

* Optimise allocations

* Reduce allocations

* Switch to main branch of erigon-lib, reduce allocations further

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-10-06 19:58:12 +01:00
Alex Sharov
54cdf74394
Rpcdaemon: add --tevm flag to enable experiment (#2788) 2021-10-06 16:09:47 +07:00
e-danko
900f687e84
Fermion genesis block (#2787)
* updated Fermion genesis block

* Updated Fermion genesis block: added precompiles
2021-10-06 12:00:23 +03:00
Alex Sharov
e27d66b042
RemoteDB: don't spend time to close cursors on end of tx - server will cleanup everything well (#2786) 2021-10-06 15:15:02 +07:00
alex.sharov
74168d9426 remove debug prints 2021-10-06 14:05:22 +07:00
Alex Sharov
a6a63e8b0e
Integration to print right stage in logs (#2785) 2021-10-06 14:02:50 +07:00
Alex Sharov
b878096ef0
RPCDaemon: reduce --rpc.batch.concurrency default from 50 to 2 (#2784) 2021-10-06 13:58:18 +07:00
alex.sharov
ff00efa911 reduce_bach_concurrency_default 2021-10-06 13:10:46 +07:00
Alex Sharov
ba9e2c0ede
No json rpc streaming (#2779) 2021-10-05 16:12:43 +07:00
Alex Sharov
2e93434a94
Enable "State stream" by default (#2780) 2021-10-05 16:06:45 +07:00
Alex Sharov
21785780bf
IntermediateHash stage - switch from incremental to re-generate mode - if jump > 100K blocks (#2781) 2021-10-05 15:32:18 +07:00
Alex Sharov
0625cd4f11
No senders is fine (#2775) 2021-10-05 10:03:49 +07:00
Enrique Jose Avila Asapche
3c0cb82454
Decoding incarnation implemented (#2764)
* WIP decoding incarnation specifically

* Changed decodeIncarnation to be an external function

* added tests to for decoding incarnations

* ran gofmt -w -s

* changed test name, and changed incarnations to 4

* Created a test which tests if it returns an error when there is one

* ran gofmt

* Capitalized all tests and made breaking test

* added an error check

* changed decodingForStorage for decodingIncarnationFromStorage

* ran gofmt -w -s
2021-10-05 08:14:57 +07:00
Andrea Lanfranchi
3bc3be4b5f
Clean up DEBUG category logs (#2776)
- move many DEBUG logs into TRACE category
2021-10-05 08:14:04 +07:00
Andrea Lanfranchi
c913f35c2e
Inner errors (#2774) 2021-10-04 22:16:52 +07:00
Alex Sharov
044aa6748c
eip 1559 in miner (#2773) 2021-10-04 19:47:52 +07:00
Alex Sharov
de16cb9e23
add logs in recoverFromDb func (#2769) 2021-10-04 19:46:05 +07:00
Alex Sharov
b890e973db
Dockerfile: switch to go1.17 and alpine3.14 (#2766) 2021-10-04 08:04:38 +07:00
Andrea Lanfranchi
f70dd63a30
Update stage_finish.go : notifications to rpc daemon (#2755) 2021-10-04 07:30:42 +07:00
Andrea Lanfranchi
ca3dda2a5f
Update signal_windows.go (#2767)
Trap os.interrupt instead of SIGINT and SIGTERM
2021-10-04 07:28:31 +07:00
Alex Sharov
83555c2255
Pool v2: --txpool.accountslots flag support (#2765) 2021-10-03 13:27:37 +07:00
alex.sharov
e73d6c2282 --txpoo.pricelimit support 2021-10-03 07:52:18 +07:00
Alex Sharov
d61a9ad073
Pool v2: --txpool.pricelimit support (#2763) 2021-10-02 17:34:57 +07:00
Alex Sharov
f167df06c2
Revert "rpcdaemon: (#2752)" (#2762)
This reverts commit 2afd028d3d.
2021-10-01 18:30:14 +07:00
Igor Mandrigin
6be44fa551 begin 2021.10.2 release cycle 2021-10-01 11:51:19 +03:00
Igor Mandrigin
ef80fd54b1
Merge pull request #2760 from ledgerwatch/stable-2021-10-01
Stable 2021 10 01
2021-10-01 11:50:12 +03:00
canepat
e19dcd89fc
Add check to have pre-Homestead behavior on code store error (#2749)
* Add check to have pre-Homestead behavior on code store error

* Fix linter error
2021-10-01 12:24:48 +07:00
Eugene
2afd028d3d
rpcdaemon: (#2752)
*Change `TxPoolApiAddr` to match that one being set by default
2021-10-01 09:15:58 +07:00
alex.sharov
76aa1a7c1a no panic on nil filters 2021-10-01 09:15:45 +07:00
ledgerwatch
99cc7b7b13
Fix for the RPC daemon dual mode (#2756)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-09-30 17:40:58 +01:00
Andrea Lanfranchi
859a4fca3e
Wrong notifyFrom value in NotifyNewHeaders (#2750)
* Wrong notifyFrom value

* Move log.info line after possible error

* Better wording
2021-09-30 21:40:37 +07:00
Alex Sharov
0ec73d6390
no panic on nil filters (#2751) 2021-09-30 18:42:25 +07:00
Igor Mandrigin
4f20cf9a12
Merge pull request #2746 from ledgerwatch/stable-2021-09-05
Stable 2021 09 05
2021-09-30 11:16:21 +03:00
ledgerwatch
7231836f85 Update skip_analysis.go (#2747) 2021-09-30 11:15:14 +03:00
ledgerwatch
31d04ad88b
Update skip_analysis.go (#2747) 2021-09-30 11:14:48 +03:00
Igor Mandrigin
e57c6d7546 begin 2021.10.1 release cycle 2021-09-30 08:52:48 +03:00
Alex Sharov
c86851a0a0
downgrade mdbx to v0.10.1 (#2745) 2021-09-30 10:14:26 +07:00
Enrique Jose Avila Asapche
677d2f88bf
test tha produces an error for decoding incarnation (#2742) 2021-09-30 08:52:58 +07:00
alex.sharov
3f10758faf add --txpool.globalbasefeeeslots 2021-09-29 14:55:43 +07:00