Skip to content

fix(network): switching from testnet to mainnet does not re-trigger indexing #99

Description

@zintarh

Summary

When a user switches network using the NetworkToggle during or after loading, the indexer continues to display data for the previous network.

Steps to Reproduce

  1. Start a wrap on Testnet
  2. Halfway through loading, switch to Mainnet
  3. Observe stale testnet data displayed

Acceptance Criteria

  • Network switch resets wrap store and restarts indexing
  • User sees a confirmation prompt before the network switch if data is already loaded
  • Contract address re-loads for the new network per config/contracts.ts

Scope: store
Type: fix
Difficulty: Medium

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions