improve signed reads, crypto hardening, and scraper transport

This commit is contained in:
k
2026-06-14 21:43:43 +08:00
parent 54884f3e24
commit 78fb63be8e
27 changed files with 1326 additions and 202 deletions
+2 -2
View File
@@ -97,10 +97,10 @@ async def test_open_positions_requires_signed_wallet_read(monkeypatch):
monkeypatch.setattr(positions, "verify_signed_request_any", fake_verify)
db = _Db([[]])
from app.services.signed_request import SignedReadCreds
result = await positions.get_open_positions(
wallet="0xABC",
ts=123,
sig="0xsig",
creds=SignedReadCreds(ts=123, sig="0xsig"),
db=db,
)