Comprehensive Testing Confirms Stable Wasmd Unforking to v0.36.0
Testing for the Wasmd unforking to version 0.36.0 has been successfully completed. The tests confirmed that data integrity and smart contract functionality remain stable, ensuring a smooth upgrade on October 20.
Overview
This testing focused on moving from the forked Wasmd version (v0.35.0) to the main upstream version (v0.36.0). The process required detailed checks to make sure all stored data, contracts, and queries continued to work correctly after migration.
Testing Process
The testing followed a step-by-step approach to confirm that both the migration and post-upgrade results were consistent:
- Pre-Migration Setup: A local test chain was launched using Wasmd v0.35.0.
- Contract Deployment: Test contracts were deployed to cover different CosmWasm features.
- Data Population: Transactions were executed to create active contract states.
- Upgrade Execution: The upgrade to Wasmd v0.36.0 was applied with all store migrations.
- Post-Migration Validation: Contract data, queries, and state were verified to ensure accuracy and full functionality.
Main Test Areas
Test Area | Description |
---|---|
CW20 Token Contract Test | CW20 tokens were tested through deployment, minting, transfers, and allowance operations. After the upgrade, token balances, total supply, and metadata were checked and confirmed to be correct. |
Stargate Query Test | A stargate-tester contract was used to test queries for bank, staking, and governance data. All stored queries remained intact after migration. New Stargate functionality and query response formats were also validated. |
TerraSwap DEX Test | Swap and liquidity contracts were deployed and tested on the Rebel-2 testnet. Liquidity additions, swaps, and limit orders worked correctly. Post-upgrade checks confirmed that liquidity pools, LP tokens, and swap records were preserved. |
Rebel-2 Testnet Validation
Additional end-to-end testing on the Rebel-2 testnet confirmed that all Wasm-related queries using Terrad ran without errors. This included contract info, contract-state, smart queries, and raw queries.
The updated contract query format now includes a top-level address and a new extension field, matching the structure used in the mainnet. This ensures better compatibility and consistency for contract developers.
TerraSwap Functionality
TerraSwap testing after the upgrade verified that all swap and liquidity operations continued to function correctly. This confirmed that the decentralized exchange remains stable on Wasmd v0.36.0.
Conclusion
All testing for the Wasmd unforking to v0.36.0 has been completed successfully. Data integrity, contract states, and query functionality have been validated, ensuring the upcoming October 20 upgrade will be stable and secure for the Terra Classic network.