Commit Graph

482 Commits

Author SHA1 Message Date
KirillPamPam
89a11b85ae Logs bound is block bound (#572) 2024-09-19 15:56:51 +04:00
KirillPamPam
f739920ceb Handle trace and debug bounds (#570) 2024-09-16 17:42:37 +04:00
Anton
5fe044bba6 Autodetect methods (#562)
* Autodetect methods

* add polkadot magic method detection

* fix lint

* change config.methods writing

* fix log

* change Flux to Mono.zip

* change block to subscribe

* split chain method detectors

* eth method detector use rpc_modules

* rm UpstreamRpcModulesDetector.kt

* add tests

* getAllMethods for eth

* prefer enable/disable methods from config

* update tests

* whiter list & full is not available error check

* prefer config method group

* mv notAvailableRegexps to class variable
2024-09-11 15:58:47 +03:00
KirillPamPam
eb72a43216 Fix archive detection (#561) 2024-09-05 11:40:42 +04:00
KirillPamPam
ad79f2c521 Fix another test (#558) 2024-08-27 15:33:51 +04:00
KirillPamPam
4943953c42 Fix logs and test (#556) 2024-08-27 15:08:32 +04:00
KirillPamPam
8ac58f58b7 Some tunes (#549) 2024-08-27 13:50:42 +04:00
KirillPamPam
e184bb3547 Predict lower height and use lower height matcher (#552) 2024-08-22 19:52:57 +04:00
KirillPamPam
32cb726aab Finalization detector fixes (#554) 2024-08-22 14:38:57 +04:00
KirillPamPam
021add4fb0 Check chain settings if the next height is very different (#548) 2024-08-15 18:42:07 +04:00
KirillPamPam
96487b6c5e Check chain settings via ws (#544) 2024-08-12 18:27:47 +04:00
Vyacheslav
e8410d7638 detect gas limit for a node (#545) 2024-08-12 14:46:16 +03:00
KirillPamPam
0f143c905e Short nodeId (#541) 2024-08-06 13:46:17 +04:00
a10zn8
642e3851f8 make additional request for blockhash in polkadot (#537) 2024-08-02 15:22:26 +03:00
KirillPamPam
0095426d34 Rework tx lower bound logic (#533) 2024-07-29 17:13:21 +04:00
KirillPamPam
ee8181ea29 Pass all upstreams that resolved a request (#531) 2024-07-25 14:55:00 +04:00
a10zn8
ac1e727e7f validate upstream version (#527) 2024-07-21 18:55:15 +03:00
msizov
f1c669f96e Disable futher finalized/safe requests for detectors if received "tag not supported" error 2024-07-17 17:14:09 +05:00
KirillPamPam
a20a0c247e Wait for head for the full response (#523) 2024-07-16 11:47:12 +04:00
KirillPamPam
377595f7d1 Fix subscription event update (#517) 2024-07-03 15:19:29 +04:00
KirillPamPam
eddaf98238 New reactive endpoint (#514) 2024-07-01 15:49:35 +04:00
KirillPamPam
ef32bd4c53 Fix config reload (#510) 2024-06-18 14:12:02 +04:00
Vyacheslav
effe881091 Track upstream finalization data (#499) 2024-06-11 14:49:32 +03:00
KirillPamPam
f9667e2f60 Logs lower bound + fix state detection with null (#503) 2024-06-11 14:13:18 +04:00
KirillPamPam
160dd34f86 Tx lower bound (#498) 2024-06-04 17:07:40 +04:00
Anton
753b7d8503 Check gas price multiply conditions (#496)
* multiply conditions

* update doc
2024-06-03 12:51:50 +03:00
Anton
772142e156 Check gas price (#494)
* add gas validation option

* gas price config for chains

* check gas price

* add tests

* fix txt

* make gas price dls

* fix config
2024-05-31 15:46:55 +03:00
a10zn8
4aff35994f add cosmos rpc support 2024-05-31 14:24:54 +03:00
KirillPamPam
71d68e858b Reanimate grpc upstreams (#491) 2024-05-30 14:03:53 +04:00
KirillPamPam
f3ab6b3443 Fix lower matcher - sort by lower bound type (#490) 2024-05-29 14:53:22 +04:00
Anton
5e35a8880d Improve “upstream is not available” error to better understand what happened (#482)
* exclude Mono.empty() and write FullCause to response

* add test
Lower matcher type (#72)
2024-05-29 13:37:32 +03:00
KirillPamPam
387cd31c98 Fix streaming spam (#486) 2024-05-28 13:51:25 +04:00
KirillPamPam
75d6fb397a Calculate lower bounds inside range + adaptive update (#485) 2024-05-23 15:25:14 +04:00
KirillPamPam
b468b4039d Filter and sort upstreams if latest (#476) 2024-05-15 14:50:24 +04:00
Anton
72c6b9dd15 Ignore archive labels set manually (#471)
* Ignore archive labels set manually

* not check archive if archive label set to false
2024-05-08 14:24:35 +03:00
Vyacheslav
289dae92a2 fix streaming when response and error present in response (#469) 2024-05-08 12:43:29 +03:00
a10zn8
874e53fc6f rest support improvement 2024-05-01 13:42:43 +03:00
Anton
99aacf8979 Remove ethereum goerli (#462)
* Remove ethereum goerli

* add Sepolia chains
2024-04-30 14:33:27 +03:00
Anton
8fc98082c6 Return limit zksync (#459)
* validateCallLimit with limit param

* add call-validate-contract to zksync

* update reader

* fix error message

* rm disable-validation for testnets/sepolia

* fix tests

* split CallLimitValidator implementations for zksync and other eth

* add callLimitBlockNumber param

* mv callLimitBlockNumber to options

* upd docs

* rm callLimitBlockNumber options param and hardcode it
add zskync call limit validator check for debug_traceBlockByNumber is available

* zksync limit check only for mainnet
2024-04-25 14:10:13 +03:00
KirillPamPam
d76486b3fd Turn off subs if conn type is rpc (#454) 2024-04-18 12:33:26 +04:00
KirillPamPam
c377083e75 Lower bound for block data (#453) 2024-04-17 18:50:40 +04:00
KirillPamPam
90a8f8ccab Change ws timeouts (#452) 2024-04-12 14:53:57 +04:00
KirillPamPam
55e2dc70c4 Refactoring lower bounds (#450) 2024-04-11 18:03:32 +04:00
KirillPamPam
44fab693c5 Fix solana subs (#449) 2024-04-04 14:15:30 +04:00
KirillPamPam
7e9709bb6f Detect and send node version in api (#445) 2024-03-29 19:25:22 +04:00
KirillPamPam
5fedc28d24 Fix archive (#444) 2024-03-27 19:51:23 +04:00
KirillPamPam
d44b72ec69 Support beacon chain (#436) 2024-03-15 17:46:29 +04:00
a10zn8
3c475c63cd fix endless parsing 2024-03-01 12:56:58 +03:00
a10zn8
6cc0e18692 support object params 2024-02-28 18:11:05 +03:00
Vyacheslav
8306ceaf63 add logs subscription detection fix (#426) 2024-02-22 18:08:43 +02:00