fix(dark-tariff): patch SQLi, weak calculation_id, and ZKP challenge bias

This commit is contained in:
takuya committed 2026-11-29 13:31:13 +03:00
1 parent 1857506f60
commit 58bdfcb829
5 files changed
+312 -16

No files matched your search

@@ -12,9 +12,13 @@ create table if not exists billing.reading (
h bit varying[] not null,
y bit varying not null,
w integer not null,
parameters text not null
parameters text not null,
failed_checks integer not null default 0
);
alter table billing.reading
add column if not exists failed_checks integer not null default 0;
create index if not exists reading_created_at_idx
on billing.reading (created_at);