Skip to content

fix: add missing version header to all mint RPC CLI subcommands#1764

Open
gudnuf wants to merge 1 commit intocashubtc:mainfrom
gudnuf:fix/mint-rpc-version-headers
Open

fix: add missing version header to all mint RPC CLI subcommands#1764
gudnuf wants to merge 1 commit intocashubtc:mainfrom
gudnuf:fix/mint-rpc-version-headers

Conversation

@gudnuf
Copy link
Contributor

@gudnuf gudnuf commented Mar 23, 2026

Description

The server requires x-cdk-protocol-version header on all RPC requests, but 10 of 12 mint RPC CLI subcommands were not sending it. Every CLI command except update_nut04 failed with "Missing x-cdk-protocol-version header". This wraps all Request::new() calls with with_version_header().


Notes to the reviewers

I asked claude how tsk could forget such a thing to make sure this is actually a bug and I was reassured that he simply forgot.


Suggested CHANGELOG Updates

FIXED

  • Fixed 10 of 12 mint RPC CLI subcommands failing due to missing x-cdk-protocol-version header

Checklist

The server requires x-cdk-protocol-version header on all RPC requests,
but 10 of 12 CLI subcommands were not sending it, causing them to be
rejected. Wrap all Request::new() calls with with_version_header().
@github-project-automation github-project-automation bot moved this to Backlog in CDK Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant