You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Testnet smart contracts crashing with Error(Storage, MissingValue) #886
A developer integrating with the DeFindex API on testnet is experiencing a crash when attempting to interact with the vault contracts (specifically CC24OISYJHWXZIFZBRJHFLVO5CNN3PQSKZE5BBBZLSSI5Z23TKC6GQY2).
Current state
Any call to the testnet smart contracts, such as deposit or even just reading the balance with get_assets, results in an immediate crash of the virtual machine.
The error log reported is:
Simulation error: HostError: Error(Storage, MissingValue)
Event log (newest first):
0: [Diagnostic Event] topics:[error, Error(Storage, MissingValue)], data:"trying to get non-existing value for contract instance"
1: [Diagnostic Event] topics:[fn_call, CC24OISYJHWXZIFZBRJHFLVO5CNN3PQSKZE5BBBZLSSI5Z23TKC6GQY2, deposit], data:[[100000000], [99000000]...
The AI assistant helping the developer concluded that the transaction payload itself is correct (as evidenced by a returned XDR), but the testnet contracts are currently inoperable due to an empty/uninitialized internal database. Currently, only Mainnet contracts appear to be operational.
Desired state
The testnet contracts should be fully initialized and operational so developers can successfully test their integrations without encountering Error(Storage, MissingValue).
Constraints
Ensure testnet deployments mirror mainnet initialization state correctly.
Document any specific testnet-only setup steps if developers need to initialize their own test vaults.
Acceptance
Testnet contracts are redeployed/re-initialized and no longer throw MissingValue.
A successful deposit transaction can be simulated on the testnet contract.
@claude please pick this up. Before changing anything:
Read CLAUDE.md at the repo root, plus any nested CLAUDE.md in the directories you'll touch. Follow its conventions.
Match existing patterns in the codebase. Don't invent new ones.
Activity
yripper commentedon Jun 24, 2026
The contract mentioned
CC24OISYJHWXZIFZBRJHFLVO5CNN3PQSKZE5BBBZLSSI5Z23TKC6GQY2is live on mainnet, he is trying to fetch information from testnet.