2.2 KiB
2.2 KiB
HYBX OMNL — deployment checklist
Use with config/deployment-omnl.example.env (copy to .env on the host; never commit secrets).
Pre-flight
- Contracts:
forge script script/hybx-omnl/DeployOMNLStack.s.sol(orDeployMirrorCoordinator.s.solfor coordinator-only) on target chains; record addresses. - CCIP: Router and LINK (or native fee) match
hybx-omnl-cross-chain-lines.json; coordinatorapprovepath for ERC-20 fee token if used. - Policy:
hybx-omnl-policy.jsonmatches on-chainPolicyMath/ registry limits (1.2× M0, 5× M1). - Fineract: GL accounts exist; pagination env
OMNL_FINERACT_GL_PAGE_LIMITset if >200 accounts.
Token aggregation service
- Set
OMNL_*,ENABLE_OMNL_EVENT_POLLER,OMNL_POLLER_STATE_PATH(optional), webhook URLs/secrets, optionalOMNL_API_KEY/OMNL_DASHBOARD_TOKEN,OMNL_RATE_LIMIT_*as needed. pnpm run buildinservices/token-aggregation.- Health:
GET /health; OMNL:GET /api/v1/omnl/compliance; dashboard:GET /omnl/dashboard; operator console:GET /omnl/compliance(public UI athttps://explorer.d-bis.org/omnl/compliance). - Deploy to CT 5000:
bash scripts/deployment/sync-token-aggregation-vmid5000.shfrom repo root; nginx/omnl/proxy viabash scripts/deployment/patch-explorer-nginx-omnl-console.sh. - Run
bash scripts/hybx-omnl/verify-deployment.sh(Forgehybx-omnltests +tscinservices/token-aggregation). - Publish snapshot (
smom-dbis-138-publish/): run the same script name there for TypeScript +omnl-reconcile-report.mjsonly; Forge deps live in the main repo.
Post-deploy
- Anchor reconciliation hash:
pnpm run omnl:reconcile:artifact(repo root) orbash scripts/hybx-omnl/omnl-reconcile-artifact.sh(writesartifacts/omnl-reconcile/omnl-reconcile-sha256.txt) orpnpm run omnl:reconcileunderservices/token-aggregation/node services/token-aggregation/scripts/omnl-reconcile-report.mjs→ storesha256in ops log. Cron and GitHub Actions: seedocs/hybx-omnl/OMNL_RECONCILE_CRON_AND_CI.md. - Mirror smoke: send test payload per CCIP_MIRROR_FLOW.md (staging first).
- Operational compliance: see
OPERATIONAL_COMPLIANCE.md(retention, webhook signing, break-glass).