109 Commits

Author SHA1 Message Date
a10zn8
481c8f1721 Add bearer token authorization for upstreams (#878) 2026-07-03 17:54:11 +03:00
a10zn8
25dbc7c388 response signing with auth key (#811)
* docs: spec for unifying response signing with auth key

Design для замены отдельной SignatureConfig на подпись ответов
RSA-ключом, взятым из auth.server.provider-private-key.

Made-with: Cursor

* docs: implementation plan for auth-based response signing

План реализации по спеке 2026-04-20-response-signing-with-auth-key-design.md.
Разбит на 9 задач: новые RsaSigner/DisabledSigner по TDD, переработка фабрики
под AuthorizationConfig, удаление SignatureConfig/signed-response, снятие
cache-гейта в EthereumLocalReader, обновление документации.

Made-with: Cursor

* feat(signature): add RsaSigner using SHA256withRSA

Made-with: Cursor

* feat(signature): add DisabledSigner that throws on sign()

Made-with: Cursor

* refactor(signature): ResponseSigner.sign returns non-null Signature

Made-with: Cursor

* refactor(signature): build signer from AuthorizationConfig

Made-with: Cursor

* refactor(config): remove signed-response YAML section and SignatureConfig

Made-with: Cursor

* refactor(signature): remove EcdsaSigner and NoSigner

Remove the obsolete ECDSA signer and the transitional NoSigner stub.
Replace NoSigner usages in tests with DisabledSigner, and pass
DisabledSigner to BroadcastReader in tests (signer is now non-null).

Made-with: Cursor

* refactor(local-reader): serve cached results for requests with nonce

Made-with: Cursor

* docs: replace signed-response with auth section incl. response signing

Made-with: Cursor

* docs: correct auth section YAML and expand Response Signing note

- docs/reference-configuration.adoc: fix the YAML shape of the auth
  section (server.keys.{provider-private-key,external-public-key} and
  publicKeyOwner) to match AuthorizationConfigReader, and expand the
  Response Signing subsection with the actual signed-message format.
- .gitignore: ignore /demo/response-signing/ (local sandbox with keys
  and generated gRPC stubs — regenerate with generate-keys.sh + protoc)
  and /docs/superpowers/ (specs/plans kept local-only for now). Any
  previously tracked files under these paths are untracked here.

Made-with: Cursor

* feat(upstream): auto-inject secure-signed label when signing is enabled

Expose ResponseSigner.enabled and thread the bean through UpstreamCreator
so Generic/Ethereum/Bitcoin creators can enrich each upstream's labels
with secure-signed=true whenever auth-backed response signing is active.
A user-provided value for the label is preserved.

Made-with: Cursor
2026-04-21 10:33:37 +03:00
Vyacheslav
b944aa8ac6 add custom headers as upstream settings (#761)
* add custom headers

* add docs
2025-12-18 20:19:02 +02:00
a10zn8
e70ccd4feb use only generic connection in examples (#632) 2025-02-13 21:37:48 +03:00
a10zn8
2e2a538b92 new link for chains.yaml (#524) 2024-07-16 11:16:27 +03: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
Tony Ganch
100578dc6d Rename p2p-org to drpcorg (#484) 2024-05-22 11:19:50 +02: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
8b609ee2d1 Add linea method and fix docs (#443) 2024-03-26 16:26:01 +04:00
Termina1
13d978a3b2 fix bitcoin config example 2024-01-26 16:49:01 +02:00
Termina1
b69f5c5ba1 add alias for link 2024-01-26 16:32:43 +02:00
Termina1
fd8f6fc6c7 add link to networks 2024-01-26 16:25:06 +02:00
Termina1
ba9b4b7096 add chains support auto page 2024-01-26 16:20:50 +02:00
Termina1
3dffab39cd fix remaining links 2024-01-26 14:58:05 +02:00
Termina1
16e038fd6e link -> xref 2024-01-26 14:28:10 +02:00
Termina1
1091fcdb5e update links 2024-01-26 14:11:43 +02:00
a10zn8
efaf0dbe5a Add Solana documentation notes (#400) 2024-01-17 15:27:45 +03:00
Wesley Charles Blake
7a496563ea adds zksync-sepolia support (#377) 2024-01-09 10:47:59 +04:00
KirillPamPam
e79df25329 Tracing docs (#371) 2023-12-22 11:53:16 +04:00
a10zn8
138e5d3eb3 update docs (#348) 2023-11-23 00:08:01 +03:00
Vyacheslav
8053431ada add moonbase and celo (#298) 2023-09-15 15:01:56 +03:00
a10zn8
231c3c5e67 holesky (#297) 2023-09-12 17:49:33 +04:00
a10zn8
ba40de9deb added bsc testnet (#296) 2023-08-31 14:04:45 +04:00
a10zn8
2893723fe0 added scroll sepolia (#295) 2023-08-30 19:44:48 +04:00
a10zn8
321857a5c2 added networks aurora, scroll, mantle and klaytn 2023-08-16 17:45:56 +03:00
Vyacheslav
73e3a46f23 create default method group to easily disable all methods (#282) 2023-08-16 14:34:16 +03:00
a10zn8
6f576fc20c added fantom, gnosis and avalanche networks
added retries for initial upstream validation
2023-08-01 17:04:09 +04:00
KirillPamPam
9757dfd201 Add validation of chain setting (#258) 2023-08-01 14:02:31 +04:00
KirillPamPam
6a1ee930a4 Support Linea chain (#259) 2023-07-26 14:38:05 +04:00
a10zn8
0e07278a4c add base network 2023-07-20 11:55:49 +03:00
a10zn8
6c49e19a2b multiple client CAs 2023-07-13 14:13:57 +04:00
a10zn8
2607758197 add mumbai 2023-06-29 13:36:40 +04:00
a10zn8
6e5498f691 add networks to docs 2023-06-26 17:57:28 +04:00
a10zn8
a036920c98 Update documentation sections about ethereum PoS connection (#150) 2023-03-01 12:27:24 +03:00
a10zn8
00a1490726 Upstream configuration improvement: (#149)
- now we can specify connector mode for better fine tuning of connection
2023-02-27 14:22:50 +05:00
a10zn8
1683be8dac more granular config for upstream validation 2023-02-15 19:13:10 +04:00
Vadim Vlasov
e91f75b367 add gRPC-client compression (#136)
* add upstream grpc-client compression

* fix review issues
2023-02-13 22:47:48 +08:00
a10zn8
2809e87d33 config merge 2023-02-13 17:07:58 +04:00
a10zn8
ff4c538568 added chains configuration 2023-02-10 17:56:21 +04:00
Vadim Vlasov
8649cc03aa add option to enable compression for gRPC-server (#133)
* add grpc server compression

* change compression config defaults

* fix review issue

* add note about compression in readme

* add compression section to server config doc
2023-02-10 17:27:52 +08:00
a10zn8
7000acc4ca added all chain types to docs 2023-02-01 19:31:03 +04:00
Кирилл
ed0c5cb517 Add ws connection pool 2023-01-26 15:53:00 +04:00
a10zn8
8ad099c635 add eth_subscribe ethereum methods control documentation 2022-12-22 21:46:14 +04:00
a10zn8
482b7b5e1e requests-cache-enabled docs 2022-12-19 17:25:21 +04:00
Igor Artamonov
73f00c49d2 problem: missing docs for upstream roles
(cherry picked from commit 7ce91e3ee2afd9333173156a821872300d082482)
(cherry picked from commit 6ddef70d6e)
2022-12-13 17:07:07 +04:00
Maksim Fomenkov
bec9f299d6 added example to doc 2022-12-12 15:53:48 +03:00
a10zn8
dca78160ba Revert "Sync upstream 7.12.2022" 2022-12-09 14:00:45 +04:00
Igor Artamonov
6ddef70d6e problem: missing docs for upstream roles
(cherry picked from commit 7ce91e3ee2afd9333173156a821872300d082482)
2022-12-07 18:28:33 +04:00