Skip to content

feat: perp-exit-custody harness - #1738

Merged
Flotapponnier merged 2 commits into
devfrom
feat/perp-exit-custody-harness
Aug 3, 2026
Merged

feat: perp-exit-custody harness#1738
Flotapponnier merged 2 commits into
devfrom
feat/perp-exit-custody-harness

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • Go exporter for bench 123 (perp-exit-custody), exposes :2112/metrics
  • Static gauges: perp_exit_worst_case_hours for all 7 venues (Lighter=336, Ostium=720, others=999999 sentinel for no-exit)
  • Live probes every 5 min via raw eth_call (no ethclient dep):
    • Ostium: lastSettlementTs() + maxSettlementInterval() + lastSettlementId() → settlement age + callable flag
    • gains gDAI: currentEpoch() + currentEpochStart() → epoch number + age
  • Selectors hardcoded (verified with cast sig)
  • RPC calls verified live: Ostium last settlement Jul 14, max=30d, age=20d. gains epoch=429, started today.

Deploy

Build + run on VPS: docker build -t permissions-scan . && docker run -e ARB_RPC_URL=... -p 2112:2112 permissions-scan
Add to Prometheus scrape config targeting :2112.

@Flotapponnier
Flotapponnier merged commit 96cf1d3 into dev Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant