Skip to content

refactor(dapp): wallet-flow hardening + polkadot isolation to migration claim#3139

Merged
drewstone merged 13 commits intodevelopfrom
drew/fix-wallet-flow-preflight
Mar 4, 2026
Merged

refactor(dapp): wallet-flow hardening + polkadot isolation to migration claim#3139
drewstone merged 13 commits intodevelopfrom
drew/fix-wallet-flow-preflight

Conversation

@drewstone
Copy link
Contributor

@drewstone drewstone commented Mar 4, 2026

Summary

  • Harden local wallet-flow runner behavior for deterministic extension/session execution.
  • Add robust on-chain operator fallback path in useOperators when GraphQL is empty/unavailable.
  • Isolate Substrate/Polkadot dependencies in tangle-dapp to migration-claim only (lazy-loaded route).
  • Remove legacy dead substrate-era dapp code paths (unused hooks/utils/components/pages).
  • Canonicalize active staking/liquid staking UI amount handling to bigint/viem and remove app-level BN usage.
  • Replace key shared UI/address typing surfaces from HexString/isEthereumAddress to viem Hex/isAddress pathways.

Validation

  • yarn nx run tangle-dapp:typecheck
  • yarn lint
  • yarn test
  • yarn build
  • Branch pre-push hook passed (lint + format + test + build).

Key Outcomes

  • @polkadot/* imports are removed from apps/tangle-dapp/src outside pages/claim/migration/**.
  • Migration claim remains available via lazy-loaded route only.
  • Staking/operator/developer EVM flows continue to build and test green with bigint-based formatting/tx detail handling.

@drewstone drewstone requested a review from AtelyPham as a code owner March 4, 2026 18:51
@netlify
Copy link

netlify bot commented Mar 4, 2026

Deploy Preview for tangle-cloud ready!

Name Link
🔨 Latest commit bace062
🔍 Latest deploy log https://app.netlify.com/projects/tangle-cloud/deploys/69a89167ea5488000865983a
😎 Deploy Preview https://deploy-preview-3139--tangle-cloud.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 4, 2026

Deploy Preview for tangle-dapp ready!

Name Link
🔨 Latest commit bace062
🔍 Latest deploy log https://app.netlify.com/projects/tangle-dapp/deploys/69a89167c9fa7e00081f2840
😎 Deploy Preview https://deploy-preview-3139--tangle-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 4, 2026

Deploy Preview for tangle-leaderboard ready!

Name Link
🔨 Latest commit bace062
🔍 Latest deploy log https://app.netlify.com/projects/tangle-leaderboard/deploys/69a89167a5bdeb0007918910
😎 Deploy Preview https://deploy-preview-3139--tangle-leaderboard.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@drewstone drewstone force-pushed the drew/fix-wallet-flow-preflight branch from 8c20e51 to 39a5da9 Compare March 4, 2026 18:58
@drewstone drewstone changed the title fix(wallet-flows): harden local wallet-run reliability + on-chain operator fallback refactor(dapp): wallet-flow hardening + polkadot isolation to migration claim Mar 4, 2026
@drewstone drewstone merged commit 1204ded into develop Mar 4, 2026
21 checks passed
@drewstone drewstone deleted the drew/fix-wallet-flow-preflight branch March 4, 2026 20:28
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