Skip to content

fix(solana): images settle at POST — book spend at submit, re-sign polls, stop claiming no payment on timeout (1.17.1) - #74

Merged
VickyXAI merged 2 commits into
mainfrom
fix/solana-image-settles-at-post
Sep 30, 2026
Merged

VickyXAI merged 2 commits into
mainfrom
fix/solana-image-settles-at-post

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

Solana image routes settle at POST (blockrun-sol images/generations — optimistic settle, the poll only delivers). SolanaLLMClient.image()/image_edit() assumed Base semantics:

  • spend booked only on completion → a job that failed/timed out after the 202 was charged but missing from session spend
  • timeout error said "no payment was taken" — false on Solana images
  • polls replayed the POST signature → once the blockhash aged out, a slow render 402'd after it was already paid

Now: spend booked at submit, error text says settled-at-submit, image polls re-sign like video. Video unchanged (settles on the completed poll). Same fix TS shipped in @blockrun/llm 3.17.1.

3 regression tests (sync + async) fail on the old code, pass now. Full suite 987 passed. Bumps to 1.17.1 (also carries #73).

1bcMax added 2 commits September 30, 2026 17:12
@VickyXAI
VickyXAI merged commit 74a4a80 into main Sep 30, 2026
4 checks passed
@VickyXAI
VickyXAI deleted the fix/solana-image-settles-at-post branch September 30, 2026 09:15
VickyXAI added a commit that referenced this pull request Sep 30, 2026
…lls, stop claiming no payment on timeout (1.17.1) (#74)
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