Skip to content

fix: reject unpriced Iris fast transfers - #28

Open
fy-god wants to merge 1 commit into
ASCTP:mainfrom
fy-god:codex/iris-fee-errors
Open

fy-god wants to merge 1 commit into
ASCTP:mainfrom
fy-god:codex/iris-fee-errors

Conversation

@fy-god

@fy-god fy-god commented Oct 15, 2026

Copy link
Copy Markdown

Closes #8

What changed

  • Raise IrisRequestError for non-OK fee responses and preserve the HTTP status.
  • Reject successful fee responses that contain no fast-transfer tier at or below the 1000 finality threshold, including the source and destination domains in the error.
  • Keep the existing fee result for normal responses, including the exact 1000 threshold boundary.
  • Extend mocked-fetch coverage for the HTTP status and missing-tier cases.

Verification

  • pnpm test — 9 files, 113 tests passed
  • pnpm run typecheck
  • pnpm run build

@vercel

vercel Bot commented Oct 15, 2026

Copy link
Copy Markdown

@fy-god is attempting to deploy a commit to the Collins' projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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