fix(indexer): remove actor digests and bound daily evidence exports (#1397) #1424
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/cl8y-dex-terraclassic!1424
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-1397-evidence-privacy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Public daily exports previously exposed stable unsalted actor hashes and allowed export SQL to run without a dedicated work budget. Schema 2 removes actor identifiers and digests from the response and SQL, while explicitly documenting retained public transaction linkage and its lack of anonymity. Exact economic fields and protocol contract identities are preserved.
The endpoint now has day/surface-scoped
e2.cursors, a two-request admission limit, bounded acquisition and SQL/request deadlines, six indexed source limits, and cleanup after cancellation. A disconnected caller retains its admission slot until the bounded worker settles. Legacye1.cursors return 400 and must be restarted; consumers must checkschema_versionand stop actor-hash grouping.Fixes #1397. Aggregate digest work in #1206 remains separate.
Acceptance criteria
Validation
make verify-issue-1397: PASS; 5 library, 14 API and 6 database-budget tests, each run twice. Independent API/DB agents also repeated their suites successfully.EXPECTED_CHAIN_ID=columbus-5in the synthetic fixture.make verify-issue-1205: PASS, all eight accounting/structure checks, including the updated API suite.Synthetic PostgreSQL ran in an exclusive disposable tmpfs container with durability disabled. These receipts establish source behavior, not production latency or deployment. Initial strict index-name, truncated activity-observer and missing test-chain configuration failures were corrected and fully retested; no executed failure was reclassified as a skip.
Agent review checklist
Read E1397 invariants, then follow the step-by-step checklist and verification receipt. Use an isolated synthetic PostgreSQL database, run
make verify-issue-1397, inspect all four acceptance rows and confirm cursor/schema migration behavior. Record revision, UTC time, exact commands and outcomes. Complete runnable checks first; unavailable items may be explicit SKIP with overall PASS WITH SKIPS, provided executed checks pass. Skipped production checks stay unverified.Verified implementation commit:
d5075e571e139529693687acfb254adea97c745d.