Commit Graph

685 Commits

Author SHA1 Message Date
a10zn8
9edb703991 problem: switches an upstream with disabled validation to the syncing state though it doesn't check the sync for it
(cherry picked from commit 55fa1ea0d9)
2022-12-13 17:07:07 +04:00
a10zn8
6da5c65b03 problem: looses upstream error details 2022-12-13 17:07:07 +04:00
a10zn8
bbf8dc707f Merge pull request #81 from p2p-org/optimise-block-by-number
optimise default getBlockByNumber - skip processing requests of tx bo…
2022-12-13 17:06:16 +04:00
MaxFomenkov
f6296f63ea Merge pull request #82 from p2p-org/fix_stuck_heads
Fix stuck heads
2022-12-13 15:36:52 +03:00
a10zn8
817925ea7d remove cached full block reader 2022-12-13 16:33:38 +04:00
Maksim Fomenkov
e86a976305 fix review comments 2022-12-13 14:50:00 +03:00
Maksim Fomenkov
68d94f1295 better log 2022-12-13 12:54:01 +03:00
Maksim Fomenkov
ae27c755df added metrics instance id to log 2022-12-13 12:52:31 +03:00
Maksim Fomenkov
f2c5142b1d added metrics + fix code style 2022-12-13 12:15:06 +03:00
Maksim Fomenkov
dd147558bf added metric 2022-12-13 12:02:12 +03:00
MaxFomenkov
e287d59c9f Merge pull request #79 from p2p-org/configure_method_groups
configure method groups
2022-12-12 17:00:57 +03:00
a10zn8
25e2e32685 optimise default getBlockByNumber - skip processing requests of tx bodies 2022-12-12 17:58:59 +04:00
a10zn8
2c666eed99 disable local router caches 2022-12-12 17:42:54 +04:00
Maksim Fomenkov
c6ffceaff8 configure method groups 2022-12-12 15:46:40 +03:00
Maksim Fomenkov
8c52a9cd34 remove unavailable upstream from multistream` 2022-12-12 11:41:40 +03:00
a10zn8
117bd2d294 Skip unparsed TransactionReceiptJson responses 2022-12-10 20:39:13 +04:00
Termina1
8c34a5ce2f remove unused code 2022-12-09 23:19:42 +02:00
Termina1
a4f0d44105 changes from upstream: removed RpcReader and use better flow for tx receipt 2022-12-09 23:04:50 +02:00
a10zn8
421abc20da trying to find null in response - log null string value 2022-12-09 19:19:08 +04:00
a10zn8
7b0b29980b trying to find null in response - log value 2022-12-09 18:10:53 +04:00
a10zn8
74e6bfe514 trying to find null in response 2022-12-09 17:46:12 +04:00
a10zn8
dca78160ba Revert "Sync upstream 7.12.2022" 2022-12-09 14:00:45 +04:00
a10zn8
20564e58ba Merge pull request #71 from p2p-org/logging-for-emptiness
logging for empty results
2022-12-08 19:45:01 +04:00
a10zn8
a1f6c9cd92 logging for empty results 2022-12-08 19:17:53 +04:00
Termina1
7c13902b03 adjusted quorums for default EVM methods 2022-12-08 16:28:57 +02:00
a10zn8
70577b7ef9 Merge pull request #69 from p2p-org/sync-upstream
Sync upstream 7.12.2022
2022-12-08 17:31:09 +04:00
a10zn8
bae613e8b8 problem: unhandled exception when a remote grpc gives an http error 2022-12-07 21:46:05 +04:00
Igor Artamonov
3123e89bc8 problem: in some cases WS may produce empty or broken messages that breaks the connection
solution: better handling for invalid JSON

(cherry picked from commit 1b6a995c4e746f0704643426fc20f7496fc09cef)
2022-12-07 21:20:03 +04:00
a10zn8
255a3833fd problem: timeout on unit tests 2022-12-07 21:16:37 +04:00
a10zn8
ddc6fb2a4c problem: some nodes may respond with a JSON RPC setting a non-200 status code but Dshackle ignores that JSON 2022-12-07 19:07:50 +04:00
Igor Artamonov
5df10706dd problem: WS proxy uses binary frames (#182)
fix: #180
(cherry picked from commit 2dcb56e8c4467cfdc549fe918427fce593703ca3)
2022-12-07 19:05:15 +04:00
a10zn8
7af620984a solution: reorganize test data 2022-12-07 19:03:27 +04:00
a10zn8
96264b839f problem: separate tests are not usable in the current state, better to work on improving unit tests 2022-12-07 18:36:19 +04:00
a10zn8
55fa1ea0d9 problem: switches an upstream with disabled validation to the syncing state though it doesn't check the sync for it 2022-12-07 18:30:14 +04:00
a10zn8
7b96f60228 problem: looses upstream error details 2022-12-07 18:26:01 +04:00
a10zn8
6a77a754ba Merge pull request #68 from p2p-org/schedulers-config
add schedulers config
2022-12-07 17:22:41 +04:00
a10zn8
d35fd31d9a add schedulers config 2022-12-07 01:32:22 +04:00
Termina1
5bd1ac5b7f fix managed methods reusing old quorums 2022-12-06 21:32:32 +02:00
a10zn8
ddacffe68a add upstream id to all responses 2022-12-06 17:08:55 +04:00
Vyacheslav Shebanov
bfc4cc620e Merge pull request #58 from p2p-org/use-another-scheduler
try to use another scheduler for request processing
2022-12-05 12:43:30 +02:00
Vyacheslav Shebanov
d50684f71b Merge pull request #62 from p2p-org/fix/ws-request-selectors
Serialize WS JSONRpc requests correctly
2022-12-05 12:40:05 +02:00
a10zn8
a9763bb6a4 more metrics for grpc executor - only if extended enabled 2022-12-05 13:41:27 +04:00
a10zn8
0cef32827f more metrics for grpc executor - fix 2022-12-05 13:22:35 +04:00
Termina1
526332b15b ws rpc serialize request correctly 2022-12-03 23:59:01 +02:00
a10zn8
37a8a6b1c4 more metrics for grpc executor 2022-12-03 20:46:27 +04:00
Vyacheslav Shebanov
0fd4a597fb Merge pull request #60 from p2p-org/fix-heads
Fix head updates in case of priority fork choice
2022-12-03 16:10:41 +02:00
Termina1
5e15096da5 fix priority forkchoice, in case some nodes are faster than others 2022-12-03 15:57:34 +02:00
Termina1
afa3745478 more logs for heads and better understanding of what they belong to 2022-12-03 15:57:27 +02:00
a10zn8
f93bccf9f5 try to use another scheduler for request processing 2022-12-02 22:41:11 +04:00
MaxFomenkov
acaeb0c127 Merge pull request #57 from p2p-org/limit_retry_time
set retry limit - 3 sec
2022-12-02 22:29:55 +04:00