Skip to content

feat: add Gnosis chain + fix zcash-shielded balance routing#65

Open
BitHighlander wants to merge 1 commit intodevelopfrom
feat/gnosis-chain
Open

feat: add Gnosis chain + fix zcash-shielded balance routing#65
BitHighlander wants to merge 1 commit intodevelopfrom
feat/gnosis-chain

Conversation

@BitHighlander
Copy link
Copy Markdown
Collaborator

Summary

  • Add Gnosis (xDAI, chainId 100) as a default EVM chain with CAIP/networkId/decimal fallbacks — FOX tokens on Gnosis were being dropped with "no parent chain"
  • Skip hidden chains in getBalances address derivation loop — zcash-shielded was calling wallet.zcashGetOrchardFvk() which doesn't exist on the hdwallet object
  • Prioritize non-hidden chains in networkToChain map — both zcash and zcash-shielded share the same networkId, and zcash-shielded was overwriting zcash's entry

Test plan

  • Verify Gnosis appears in dashboard as an EVM chain
  • Verify FOX token on Gnosis no longer shows "Token DROPPED (no parent chain)"
  • Verify [getBalances] Zcash address failed error is gone from logs
  • Verify networkToChain map shows zcash (not zcash-shielded) for bip122:00040fe8ec8471911baa1db1266ea15d

- Add Gnosis (xDAI, eip155:100) as default EVM chain with CAIP fallbacks
- Skip hidden chains in getBalances address derivation loop (fixes
  zcash-shielded calling wallet.zcashGetOrchardFvk which doesn't exist)
- Prioritize non-hidden chains in networkToChain map so zcash transparent
  wins over zcash-shielded for the shared networkId
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