Skip to content

feat(faucet): fail closed for underfunded assets - #80

Merged
bachal-mb merged 3 commits into
mainfrom
feat/mx02-faucet-fail-closed
Aug 14, 2026
Merged

feat(faucet): fail closed for underfunded assets#80
bachal-mb merged 3 commits into
mainfrom
feat/mx02-faucet-fail-closed

Conversation

@BrewCodeDev

Copy link
Copy Markdown
Collaborator

Outcome

Adds fail-closed, balance-aware availability for Makalu faucet assets and establishes the living tracker for all seven Makalu extra-work streams.

Included

  • Per-asset available, claimableAmounts, minimumClaimAmount, and shortfall health metadata
  • Pre-transfer funding gate that rejects underfunded or unreadable assets before cooldown mutation
  • Explorer-compatible degraded health response
  • Seven focused service/route tests
  • Evidence-backed sequential tracker at docs/makalu-extra-works-handoff.md

Verification

  • pnpm --dir faucet test — 7 passed
  • pnpm --dir faucet build — passed
  • Clean install used the committed Makalu/pnpm-lock.yaml

Remaining operational gates

This PR does not fund or deploy the faucet. After merge, the deploy/treasury owners must deploy the release, replenish all ten LEP-100 assets above their approved reserves, record one live claim per asset, and confirm low-balance alert routing and replenishment ownership.

@github-actions

Copy link
Copy Markdown

Test Results

Package Passed Failed Skipped Total Duration
api no results
indexer no results
explorer no results

Coverage

Package Stmts % Branch % Funcs % Lines %
api no coverage
indexer no coverage
explorer no coverage

Generated by ci.yaml for 4e16f3e246f12d9343a245d67cfa85c169e394db. Test JSON + coverage HTML are uploaded as run artifacts.

@bachal-mb
bachal-mb requested a review from amirmughal22 August 14, 2026 10:14
@bachal-mb
bachal-mb merged commit ef50928 into main Aug 14, 2026
15 checks passed
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.

2 participants