Hello Leo Wallet Users,
We have exciting news! Aleo blockchain is launching a new Testnet Beta this week, marking a significant step towards the highly anticipated mainnet launch. This new phase brings many improvements, but also some important changes that you need to know about.
Key Information for Leo Wallet Users
Important: Your History and Assets Will Be Reset
As we transition to the new Testnet Beta, please be aware that all your transaction history and assets will be erased. This reset is necessary due to major upgrades in the network.
This is why we recommend dApp developers to take note of current public transaction history data/logs if needed for product improvements, as it might not be available anymore soon.
What to Expect During the Transition ?
Temporary Unavailability of dApps
The decentralized applications you usually interact with may be temporarily offline during the migration process. The developers will be working hard to update and redeploy their applications to the new Testnet Beta.
Leo Wallet Transition
Leo Wallet will be hard switching to the new network at the end of the week. You should expect your former network transaction history and assets to disappear at this moment.
30-Day Grace Period
While Leo wallet hard switches between networks, Testnet 3 will remain operational for 30 days after the launch of Testnet Beta. This period is designed to give developers and users enough time to migrate and adjust to the new environment. This means you may be able to access your Testnet 3 data on explorers after the switch. However, after this period, Testnet 3 will be permanently closed.
New Features in Testnet Beta: Leo v2.0.0
Testnet Beta introduces a new version of Leo programing language. The programing language for building Aleo DApps.This means new features in the toolbox at disposition of Aleo developers:
Reading External Mappings:
Developers can now read public states (mappings) defined in other programs, enhancing interoperability between programs within the Aleo ecosystem, which was a major pain lately in the aleo developer community. No more workarrounds needed.
leo deploy and leo execute Commands:
These commands streamline the deployment and execution of Leo programs, making it easier for developers to test and launch their applications.
New Async/Await Programming Model:
A new model replaces the finalize programming model, allowing for more expressive program execution on-chain. This change enables more possibilities for complexe Leo programs with nested functions/transitions calls.
Updated Program Limits:
New constraints on program size, mappings, imports, and transaction sizes are introduced to optimize performance and security (preventing denial of service attacks).
Making dependencies easier:
External dependencies between programs are made a lot easier, by automatically pulling deployed code. This is also made possible by the fact that Leo program definition, imports, external calls etc… all use the same syntaxe for program names now.
Supporting Developers
For developers, it's crucial to review the breaking changes and update your Leo programs accordingly. Detailed migration guides and support resources are available:
- Breaking Changes to Leo language: Update finalize blocks to the new async/await model, conditional assignments, input files, program naming/imports, and struct definitions. Instructions on updating your programs to comply with the new async/await model and other changes.
- Migrations of Aleo programs: Make sure to redeploy your programs to the new Testnet Beta network.
If you encounter any issues or need assistance, please:
- File an Issue: Submit issues here.
- Join the Discussion: Ask your questions in our dedicated #developers channel on Discord.
Conclusion
We appreciate your understanding and support as we make this significant transition. The new Testnet Beta is a major milestone on the path to the Aleo mainnet launch, promising a lot of new features in DApps and an overall better experience on Aleo.
Stay tuned for more updates, and thank you for being a part of the Aleo and Leo Wallet community!
Best regards,
The Leo Wallet Team