Aleph Zero Blog

Aleph Zero Testnet Update: Smart Contracts are Live on the Testnet

Jun 22, 2022

AI Summary

Here's your AI summary of Aleph Zero Testnet Update: Smart Contracts are Live on the Testnet on Aleph Zero blog

Top 10 Key Takeaways:

  1. Smart Contracts Live: Aleph Zero Testnet now supports smart contracts, marking a significant milestone.
  2. Substrate and AlephBFT Upgrades: The Substrate stack has been upgraded from version 9.13 to 9.23, and AlephBFT consensus from version 0.8.4 to 0.12.
  3. Development in Rust and ink!: Developers need to prepare their systems for Rust and ink!, an eDSL for writing smart contracts in Rust that compiles to Wasm code.
  4. Mature ink! Language: ink! is mature enough for interesting applications, thanks to years of work by the Parity team.
  5. Focus on Stability: The Testnet release emphasizes stability and reliability, unlike the Smartnet release which expected chaos.
  6. Smartnet Disabled: With the Testnet now supporting smart contracts, the Smartnet will be disabled.
  7. Community Validators: The update includes features for Aleph Zero's community validators, allowing external nodes to establish consensus.
  8. Committee Rotation: A committee rotation mechanism is live, with sessions lasting 15 minutes and eras lasting 24 hours, ensuring frequent rotation.
  9. Proportional Rewards: Validators in the fixed pool for a given era will be rewarded proportionally to their stake.
  10. Identity Pallet: The identity pallet allows for human-readable aliases for accounts, improving user experience by enabling validators to have custom names.

Expect these changes to be implemented on the Aleph Zero Mainnet in the coming weeks.

AI Summary

Today, the Aleph Zero Testnet has been successfully upgraded with several important features, including smart contracts, identity pallets, and the ability to establish the consensus via outside validators.

As per last week’s announcement, we are now excited to announce that the smart contracts are live on the Aleph Zero Testnet. The Substrate stack has been upgraded from version 9.13 to 9.23, and the Aleph Zero consensus, AlephBFT, has been updated from version 0.8.4 to 0.12. Here’s what it means in practice.

Smart contracts on the testnet

To start, you will need to prepare your computer for development in Rust and ink!—similarly to how you might’ve already operated with the Smartnet. ink! is an embedded domain-specific language (eDSL) for writing smart contracts in Rust which then compiles to Wasm code. Thanks to years of work by the Parity team, ink! is definitely mature enough to release interesting applications—albeit it won’t be as smooth of an experience as you might expect. The community should, however, expect significant improvements over time as the developments are occurring on several fronts and multiple teams are involved in the process.

The goals for the Testnet release are similar to the ones for the Smartnet—although we put more emphasis on the stability and reliability of the smart contract layer. While the Smartnet release was aimed primarily at having the smart contracts in a separate environment and chaos was actually expected, the Testnet release aims to be more stable and fit into our overall deployment pipeline.

As the smart contracts have been pushed to the testnet, the Smartnet will now be disabled.

Aleph Zero community validators

Today’s update also takes care of the needs of Aleph Zero’s community validators as it opens the committee responsible for establishing the consensus for external nodes.

The committee rotation mechanism is also live. For each epoch, a large validator pool is fixed, and then a different committee is chosen for every session. A session lasts 900 blocks (15 minutes) and an era lasts 96 sessions (24 hours) ensuring frequent rotation of the committee. All the validators from the pool that has been fixed for a given era will be rewarded proportionally to their stake.

Aleph Zero identity

Adding the identity pallet to the Aleph Zero network will allow for human-readable aliases for accounts. In practice, it would allow for the validators to be named accordingly to their desires (Awesome_Validator instead of 5XXX_XXX), improving the overall user experience of the network.

We’re beyond excited to bring this important testnet update to you. Expect the changes to go live on the Aleph Zero Mainnet within the following weeks.