Skip to content

chore: sync lockfile (#372)#444

Merged
mijinummi merged 3 commits into
MDTechLabs:mainfrom
itzabdoull:issue-372-soroban-bridge-test-harness
Jun 3, 2026
Merged

chore: sync lockfile (#372)#444
mijinummi merged 3 commits into
MDTechLabs:mainfrom
itzabdoull:issue-372-soroban-bridge-test-harness

Conversation

@itzabdoull
Copy link
Copy Markdown
Contributor

@itzabdoull itzabdoull commented Jun 2, 2026

Closes #372


🎯 Purpose & Overview
This Pull Request implements the Soroban Bridge Integration Test Harness to verify end-to-end bridge transfer flows, smart contract compatibility validation, smart routing scoring, and RPC queue resilience. It also corrects dependency mapping in the Next.js adapter package and updates the workspace lockfile accordingly.

🛠️ Key Changes

  1. Integration Testing & Harness (Stellar / Soroban)
    [NEW] test/integration/stellar/soroban-bridge-test-harness.ts:
    Simulates a local Stellar/Soroban bridge environment.
    Mocks contract interfaces, transfer logic, routing options, and transaction queuing.
    [NEW] test/integration/stellar/soroban-bridge-integration.spec.ts:
    End-to-End Bridge Transfer Flow: Validates successful cycles and out-of-funds error paths.
    Contract Compatibility: Validates SEP-41 interface conformance, unsupported contract versions, and error collection.
    Smart Routing Engine: Verifies correct ranking and selection of bridge routes based on weight priorities (fees, speed, reliability).
    RPC Queue Dynamics & Resilience: Tests concurrency limit handling, retry logic for transient/retryable errors, and terminal failure conditions.
  2. Workspace & Dependencies
    [MODIFY] packages/next-adapter/package.json:
    Corrected @bridgewise/ui-components version in peerDependencies from ^0.1.0 to ^0.0.1.
    Added @bridgewise/ui-components as a workspace dependency under devDependencies.
    [MODIFY] pnpm-lock.yaml:
    Updated lockfile specs to align with the new workspace mapping constraints.
    🧪 Verification Plan
    Automated Tests
    All new tests have been executed locally and verified to pass successfully:

bash
npx jest test/integration/stellar/soroban-bridge-integration.spec.ts

@mijinummi mijinummi merged commit 93fde80 into MDTechLabs:main Jun 3, 2026
1 check failed
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.

Implement Soroban Bridge Integration Test Harness

2 participants