Commit Graph

513 Commits

Author SHA1 Message Date
Andrey Bronin
77b1d1fa28 Predict next bound offset (#691)
* predictLowerBound with offset

* remove method predictLowerBound without offset

* bump emerald submodule
2025-08-14 17:46:40 +03:00
KirillPamPam
5ef7f8d414 Pass http pool params via config (#703) 2025-08-14 12:52:52 +04:00
KirillPamPam
4e80af7a0c Integration test to check tx quorum and reader (#702) 2025-08-13 16:08:31 +04:00
KirillPamPam
0063c89865 Fix quorum (#700) 2025-08-12 17:36:23 +04:00
EugeneDrpc
a34f2186cc Log index validator (#699)
* log index validator - wip

* fix: Handle edge cases in LogIndexValidator and fix GitHub Actions

gix critical edge case: when first transaction has no logs, second transaction starting at logIndex=0 is VALID behavior
 null handling
fix  'repo_token' parameter

* - Use Mono.empty() instead of Mono.just(null)
- Use defaultIfEmpty for handling empty results

* wip : add tests for LogIndexValidator

* test fixes

* fix: Fix ktlint issues in LogIndexValidatorTest

- Remove wildcard import
- Fix trailing spaces
- Add missing trailing commas
- Fix import order
- Add newline at end of file

* add disable option

* add logs for error case

* save prevState on doOnNext

* also check for first tx log index order

* add not continius indexes test

* make code thread safe

* use upstream.getHead

* search CHECK_TX_COUNT instead of 0 and 1 indexes

* refactor double rpc call
2025-08-08 18:03:10 +02:00
Andrey Bronin
43de237f98 eth_subscribe multiple topics with OR logic (#682)
* eth_subscribe multiple topics with OR logic

* test Filter by topics with OR logic
2025-07-17 14:14:38 +03:00
a10zn8
323d23a126 flashblocks detection (#687) 2025-07-16 19:28:23 +03:00
Vyacheslav
b940ce9efa erigon bug detector (#683) 2025-07-14 16:51:43 +02:00
KirillPamPam
e644ead250 Bypass getBlockByNumber cache (#679)
Co-authored-by: Кирилл <zhitelevkm@m2.ru>
2025-07-09 13:28:24 +03:00
Anton
d55c0b8b32 add disable-bound-validation option (#675)
* add disable-bound-validation option

* fix test
2025-06-18 11:25:41 +03:00
Andrey Bronin
51719ee979 drpc_pendingTransactions subscribe support (#673) 2025-06-06 14:13:28 +03:00
Andrey Bronin
5360d5eafb support eth_subscribe newPendingTransactionsWithBody (#672)
* add newPendingTransactionsWithBody support
2025-06-05 18:16:30 +03:00
Anton
91749c0fa2 Disable liveness validation (#666)
* Disable liveness validation

* Update liveness validation to be configurable via options

* Refactor liveness subscription validation logic for improved readability
2025-05-21 14:53:54 +03:00
KirillPamPam
d20f2d0c7f Reset lower bounds if they're too different (#655) 2025-04-17 18:09:38 +04:00
Andrey Bronin
8b999d5439 Kadena support (#650)
* kadena support

* add kadena mempool endpoits

* createQuorumFor fix
2025-04-09 14:54:40 +03:00
a10zn8
9ca2c921b5 support null topics and topic position in logs filter (#649) 2025-04-04 17:09:08 +03:00
Andrey Bronin
6744e2241c eth_simulateV1 detector fix (#648)
* eth_simulateV1 detector fix

* remove reth node from detect, fix test
2025-04-03 11:53:17 +03:00
Andrey Bronin
c0a9f80478 support eth_simulateV1 for all EVM node types (#645)
* support eth_simulateV1 for all EVM node types

* eth_simulateV1 detector

* eth_simulateV1 rewrite detector with special error

* eth_simulateV1 add invalid params error as valid

* build fix

* fix eth_simulateV1 detector behavior

* detect as true log message

---------

Co-authored-by: Andrey Bronin <bronin@iMac.local>
2025-04-02 12:12:10 +03:00
a10zn8
21e6cb94ff detect trace_callMany (#637)
fix success detection in case of error during other methods detection
2025-03-11 13:12:55 +03:00
oke11o
60045d6511 eth_subscribe: fix preparing filter (#635) 2025-02-21 11:07:06 +01:00
oke11o
8c1649c48e eth_subscribe: fix preparing filter (#634) 2025-02-19 16:00:01 +01:00
KirillPamPam
35d311ef1b Remove oracle (#620) 2025-01-16 14:02:14 +04:00
KirillPamPam
15ffdc2d2e Rewrite extra gas label (#617) 2025-01-08 14:36:29 +04:00
Vyacheslav
42da48be5f always set extragas to specific value, to simplify selection (#610) 2024-12-20 12:09:37 +02:00
Vyacheslav
af8926061f compile gas detect contract with earlier solidity version to fix push… (#606)
compile gas detect contract with earlier solidity version to fix push0 error on linea
2024-12-10 20:07:14 +02:00
KirillPamPam
4810eff433 Remove extra bitcoin unspent fields (#593) 2024-11-13 17:59:50 +04:00
KirillPamPam
d6b6ca7edc Ton chain id validator (#589) 2024-11-07 13:34:53 +04:00
KirillPamPam
243a11e6bb Pass sort in direct reader (#588) 2024-11-04 15:08:31 +04:00
KirillPamPam
697db618b7 Pass all matchers to direct reader (#581) 2024-10-23 12:43:33 +04:00
Vyacheslav
184939a463 update extra gas to actual value, even if provider set it themselves (#579) 2024-10-21 15:23:34 +03:00
a10zn8
7c4d061fd0 listunspent only in case of balances is provided (#575) 2024-09-25 17:03:40 +03:00
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