Skip to content

fix(provider): resolve schema validation and plugin order issues in providers - #242

Merged
Gaubee merged 2 commits into
mainfrom
fix/provider-tests-and-refactor
Jan 16, 2026
Merged

Gaubee merged 2 commits into
mainfrom
fix/provider-tests-and-refactor

Conversation

@Gaubee

@Gaubee Gaubee commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes multiple issues in provider verification and testing:

  • Plugin Order: Fixed derive() chaining so plugins like transform run before schema validation.
  • Provider Fixes:
    • BtcWalletProvider: Removed incompatible walletApiUnwrap.
    • TronWalletProvider: Handled success flag manually in transform.
    • EthWalletProvider: Moved plugins to execution root to correct order.
    • BiowalletProvider: Added missing mocks and fixed URL paths.
  • Test Fixes:
    • Restored integration.test.ts.
    • Fixed regression in wallet-handlers.test.ts (mocking getChainProvider).
    • Fixed receive/index.test.tsx (accessibility selector update).

Verification

All provider tests and affected functional tests passed locally.

@Gaubee
Gaubee force-pushed the fix/provider-tests-and-refactor branch from f1597c2 to 211f4a2 Compare January 16, 2026 08:57
@Gaubee
Gaubee force-pushed the fix/provider-tests-and-refactor branch from 3c88431 to 00e4889 Compare January 16, 2026 09:08
@Gaubee
Gaubee merged commit c1f0f0d into main Jan 16, 2026
5 checks passed
@Gaubee
Gaubee deleted the fix/provider-tests-and-refactor branch January 16, 2026 09:10
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