dropdown menu for accounts shows multiple "Zenith Network"s #12

Closed
opened 2025-10-29 14:46:53 +00:00 by zramsay · 3 comments
Owner

i haven't manually added any of these and they all appear identical. does a new one show up everytime i visit the onboarding app?

i haven't manually added any of these and they all appear identical. does a new one show up everytime i visit the onboarding app?
Author
Owner

i don't know where this second address comes from, it is not in any of the accounts above

i don't know where this second address comes from, it is not in any of the accounts above
Member

i haven't manually added any of these and they all appear identical. does a new one show up everytime i visit the onboarding app?

No. A new network is not added everytime on visiting the onboarding app.
They are actually 3 different zenithd networks with same name but different chain IDs. Here is the list of networks with details I see in my browser wallet

localStorage.getItem('networks')

[
  {
    "chainId": "1",
    "networkName": "Ethereum",
    "rpcUrl": "https://cloudflare-eth.com/",
    "currencySymbol": "ETH",
    ...
  },
  {
    "chainId": "theta-testnet-001",
    "networkName": "Cosmos Hub Testnet",
    "rpcUrl": "https://rpc-t.cosmos.nodestake.top",
    "nativeDenom": "uatom",
    ...
  },
  {
    "chainId": "zenith-testnet-stage0",
    "networkName": "Zenith Network",
    "rpcUrl": "https://zenithd.zenith-test.tlon.systems",
    "nativeDenom": "znt",
    ...
  },
  {
    "chainId": "zenith-stage0",
    "networkName": "Zenith Network",
    "rpcUrl": "https://zenithd.zenith-test.tlon.systems",
    "nativeDenom": "znt",
    ...
  },
  {
    "chainId": "zenith-stage1",
    "networkName": "Zenith Network",
    "rpcUrl": "https://zenithd.zenith-test.tlon.systems",
    "nativeDenom": "$sZ",
    ...
  }
]
  • zenith-testnet-stage0 is the old chain ID and was added to wallet during initial deployment
  • zenith-stage0 is the new stage 0 chain ID and was added to wallet in latest deployment
  • zenith-stage1 is the stage 1 chain ID and was added to wallet when stage 1 deployment was performed recently

In the Zenith existing flow, the user never visits the wallet and do not have to change the network.
Onboarding app automatically selects the proper network based on configuration set during deployment (stage 0 or stage 1).

i don't know where this second address comes from, it is not in any of the accounts above

I checked in my browser and the accounts in onboarding app and wallet are in sync (attached screenshots).
image
image

I can debug the issue on your system when we get on call next.

> i haven't manually added any of these and they all appear identical. does a new one show up everytime i visit the onboarding app? No. A new network is not added everytime on visiting the onboarding app. They are actually 3 different zenithd networks with same name but different chain IDs. Here is the list of networks with details I see in my browser wallet ``` localStorage.getItem('networks') [ { "chainId": "1", "networkName": "Ethereum", "rpcUrl": "https://cloudflare-eth.com/", "currencySymbol": "ETH", ... }, { "chainId": "theta-testnet-001", "networkName": "Cosmos Hub Testnet", "rpcUrl": "https://rpc-t.cosmos.nodestake.top", "nativeDenom": "uatom", ... }, { "chainId": "zenith-testnet-stage0", "networkName": "Zenith Network", "rpcUrl": "https://zenithd.zenith-test.tlon.systems", "nativeDenom": "znt", ... }, { "chainId": "zenith-stage0", "networkName": "Zenith Network", "rpcUrl": "https://zenithd.zenith-test.tlon.systems", "nativeDenom": "znt", ... }, { "chainId": "zenith-stage1", "networkName": "Zenith Network", "rpcUrl": "https://zenithd.zenith-test.tlon.systems", "nativeDenom": "$sZ", ... } ] ``` - `zenith-testnet-stage0` is the old chain ID and was added to wallet during initial deployment - `zenith-stage0` is the new stage 0 chain ID and was added to wallet in latest deployment - `zenith-stage1` is the stage 1 chain ID and was added to wallet when stage 1 deployment was performed recently In the Zenith existing flow, the user never visits the wallet and do not have to change the network. Onboarding app automatically selects the proper network based on configuration set during deployment (stage 0 or stage 1). > i don't know where this second address comes from, it is not in any of the accounts above I checked in my browser and the accounts in onboarding app and wallet are in sync (attached screenshots). ![image](/attachments/28aebbff-c28f-41f2-b244-af2605f375d1) ![image](/attachments/ee5420cd-7b79-4925-8407-efd034ef5ec6) I can debug the issue on your system when we get on call next.
258 KiB
118 KiB
Author
Owner

this all makes sense, thank you

this all makes sense, thank you
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LaconicNetwork/zenith-wallet-web#12
No description provided.