Skip to content

fix: forward Baozi per-request RPC URL#1806

Open
AntonsBB wants to merge 1 commit into
pmxt-dev:mainfrom
AntonsBB:codex/baozi-rpc-forwarding
Open

fix: forward Baozi per-request RPC URL#1806
AntonsBB wants to merge 1 commit into
pmxt-dev:mainfrom
AntonsBB:codex/baozi-rpc-forwarding

Conversation

@AntonsBB

Copy link
Copy Markdown

Summary

  • add rpcUrl to the core per-request credential shape
  • make RPC-only sidecar requests construct a per-request exchange instead of reusing the cached default
  • forward the override into BaoziExchange while preserving the existing private-key fallback
  • add a regression test that verifies the Solana connection receives the caller's endpoint

This fixes the factory/sidecar half of the RPC override path. SDK constructor exposure remains tracked separately in #854.

Verification

  • npm test --workspace=pmxt-core -- --runInBand test/unit/exchange-factory.test.ts (10 tests passed)
  • npm run build --workspace=pmxt-core

Closes #1679

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.

exchange-factory.ts never forwards rpcUrl for Baozi — per-request RPC override impossible via sidecar even after #854 is fixed

1 participant