Commit Graph

760 Commits

Author SHA1 Message Date
a10zn8
aa5ada324b Fix native subscription in case grpc head subscription mode.
Grpc Head provides limited set of information, so we need to make some new fields optional
2023-05-23 19:59:42 +04:00
a10zn8
baee388d99 Added missed fields to NewHeadMessage
- fixed all mappings
- BlockJson structure moved from 3rd party library to dshackle codebase
2023-05-23 14:14:33 +04:00
KirillPamPam
4f21cb995d Switch no response error to null or separate errors (#210) 2023-05-22 17:57:32 +04:00
KirillPamPam
72c4f1192b Fix update methods after restart provider dshackle (#213) 2023-05-18 14:51:26 +04:00
KirillPamPam
c3c72fe086 Refactoring no available methods error (#211) 2023-05-05 19:23:30 +04:00
KirillPamPam
a5c265b5f1 Add NotNullQuorum for tx methods (#208) 2023-04-27 15:10:57 +04:00
KirillPamPam
89330da4b0 Fix collect spans (#209) 2023-04-24 11:38:27 +04:00
a10zn8
b97108fd35 use head scheduler instead of stock schedulers in other parts of system 2023-04-21 19:15:40 +08:00
a10zn8
f218e6e73b use head scheduler instead of stock scheduler (#206) 2023-04-21 15:53:21 +08:00
KirillPamPam
bdff5b8ae9 Add response upstreamId to span (#203) 2023-04-18 15:48:29 +04:00
a10zn8
7fc78dea09 Do not set default max memory limits (#201) 2023-04-11 19:37:54 +04:00
KirillPamPam
6b0e201c0e Collect error spans from providers (#198) 2023-04-11 16:54:55 +04:00
KirillPamPam
fc488e1aab Apply method matcher for direct reader (#200) 2023-04-11 14:37:17 +04:00
KirillPamPam
9af4b95f8f Adjust retry policies (#199) 2023-04-10 15:32:47 +04:00
a10zn8
13efe73a22 add gzip compression to JsonRpcHttpClient (#192) 2023-04-03 18:44:35 +04:00
KirillPamPam
ceea848348 Fix restart ws head (#191)
* Fix restart ws head
2023-04-03 16:26:32 +04:00
KirillPamPam
97fa616e19 Resubscribe to newHeads immediately after reconnection (#189)
* Resubscribe to newHeads immediately after reconnection
2023-03-30 13:32:02 +04:00
a10zn8
dcf360a7d7 add empty tag reactor_scheduler_id for metric correctness (#190) 2023-03-29 21:19:30 +04:00
a10zn8
e9061be3d7 remove schedulers metrics prefix (#188) 2023-03-29 18:44:39 +04:00
a10zn8
8a2455fcd1 Clients stream should be sequentially concated (#187)
* Clients stream should be sequentially concated
* remove debug log
2023-03-28 21:28:22 +04:00
KirillPamPam
bdcb7386cd Fix distance for fork and add parentHash to blockContainer (#186)
* Fix distance for fork
2023-03-28 15:16:39 +04:00
KirillPamPam
eac5a4ccf8 Add options to chains.yaml (#185)
* Add options to chains.yaml
2023-03-27 15:26:08 +04:00
a10zn8
67ca1b85ea added protection for grpc head and grpc received blocks metric (#184) 2023-03-24 18:49:46 +04:00
a10zn8
783aaaef05 enable grpc reflection (#183) 2023-03-24 15:19:44 +04:00
KirillPamPam
f6bec7bf8a Fix merge upstream options (#182)
* Fix merge upstream options
2023-03-23 19:39:09 +04:00
KirillPamPam
a26f1958e9 Make loggers not abstract (#181)
* Make loggers not abstract
2023-03-21 18:38:46 +04:00
a10zn8
f41ee1e577 health endpoint should check available for requests endpoint (#180) 2023-03-21 16:58:08 +03:00
KirillPamPam
74d666a0bd Fix reconnect to newHeads (#178)
* Fix reconnect to newHeads
2023-03-21 16:41:47 +04:00
a10zn8
9d81bbae65 Less logs in QuorumRpcReader (#179) 2023-03-21 13:25:07 +03:00
Vadim Vlasov
a3a89ab920 add build info to upstream (#162)
* add build info to upstream

* fix tests

* add build info to node status subscription

* move proto field

* update proto submodule to master
2023-03-20 20:20:30 +08:00
a10zn8
dfaee716bb Log every health request (#176) 2023-03-20 09:25:04 +03:00
a10zn8
b1f302aa60 Now grpchead have correct name (#175) 2023-03-19 18:59:03 +03:00
a10zn8
d281cd8857 subscribeNodeStatus should write fewer logs (#174) 2023-03-19 17:21:26 +03:00
a10zn8
de9ac6a845 In case empty selector in SubscribeNative we should use default dynamic merged head - also valid for anyLabelSelector (#173) 2023-03-19 16:33:08 +03:00
a10zn8
a47607d03d In case empty selector in SubscribeNative we should use default dynamic merged head. (#172) 2023-03-19 16:07:14 +03:00
a10zn8
153e5115ff head lag observer throttling - fix test (#170) 2023-03-17 18:42:09 +03:00
a10zn8
1ef8b7499c head lag observer throttling (#169) 2023-03-17 17:57:19 +03:00
a10zn8
d34848fb87 Log errors and info about node status subscription (#168) 2023-03-17 17:00:12 +03:00
KirillPamPam
397ddd7865 Fix issues with caches
- Fix read block
- Fix read not enrich blocks, refactoring read tx receipts
2023-03-17 14:05:18 +03:00
a10zn8
1bca196387 New default chain settings for Arbitrum and Optimism and their testnets (#164) 2023-03-17 14:00:22 +03:00
a10zn8
4fcff6a8e0 rework of grpc head connection retries (#166) 2023-03-16 19:17:26 +03:00
KirillPamPam
ef6ff919bd Fix getting not enrich blocks (#165) 2023-03-16 19:42:02 +04:00
KirillPamPam
f7451c54eb Revert save not enriched to cache (#163) 2023-03-16 18:07:40 +04:00
KirillPamPam
a0dfb86c54 Turn off caches for main, fix cache not enrichment blocks (#160) 2023-03-15 13:38:07 +04:00
Vyacheslav Shebanov
26d518d98e Debug methods group
Added debug methods group for easier enabling debug_* methods
2023-03-14 22:51:16 +02:00
a10zn8
7c1e8a00df In case disabled enrichment and native subscription without proxy we should have fallback enrichment of blocks (#159) 2023-03-14 15:04:11 +03:00
a10zn8
3a48eceaed disable enhancement grpc blocks (#158) 2023-03-14 13:54:40 +03:00
Vadim Vlasov
e3c39f601e Disable height matcher when passthrough is on (#157)
* disable height matcher when passthrough is on

* add test

* fix review issues
2023-03-14 16:16:36 +08:00
Vadim Vlasov
d3e215b940 Add height matcher for method (#156)
* add height matcher for method

* add test

* add test for block methods fix
2023-03-13 17:39:56 +08:00
KirillPamPam
01ea756e33 Add SpanReader wrapper for creating additional spans (#155) 2023-03-07 13:42:34 +04:00