Skip to content

fix: use bio_selectAccount for biobridge external account#481

Merged
Gaubee merged 1 commit intomainfrom
fix/biobridge-account-selection
Feb 26, 2026
Merged

fix: use bio_selectAccount for biobridge external account#481
Gaubee merged 1 commit intomainfrom
fix/biobridge-account-selection

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Feb 26, 2026

Summary

  • route biobridge external account selection through bio_selectAccount for all external chains
  • remove direct window.ethereum / window.tronLink account sourcing from biobridge connect step
  • add regression test to ensure ETH flow uses bio_selectAccount and not eth_requestAccounts

Why

User reports showed BSC forge flow could pick a non-expected address. This change enforces KeyApp account selection as the single source of truth for forge sender address in miniapp runtime.

Validation

  • Added unit regression test in miniapps/biobridge/src/App.test.tsx
  • Local test run was blocked by missing Storybook/Vitest workspace deps in current environment; CI to verify fully.

@Gaubee Gaubee merged commit eca375a into main Feb 26, 2026
5 checks passed
@Gaubee Gaubee deleted the fix/biobridge-account-selection branch February 26, 2026 07:20
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