Durango: Avalanche Warp Messaging Comes to the EVM

Update (2/21/24): Today, the production code [AvalancheGo@v1.11.0] for the proposed Durango Upgrade was published. If sufficient stake supports Durango, it will activate on the Avalanche Mainnet at 11 AM ET on Wednesday, March 6th, 2024. Durango contains ACPs that are not compatible with < v1.11.0 (Cortina). If Durango activates and you do not upgrade your node before the activation time, your node will be unable to process new blocks and will be marked as offline by other nodes (impacting your node's uptime and potentially jeopardizing your staking rewards). You can track support for ACP-23, ACP-24, ACP-25, ACP-30, ACP-31, ACP-41, and ACP-62 (included in Durango) on snowpeer: https://snowpeer.io/acps

+++

Update (2/13/24): Durango activated successfully on the Fuji Testnet this morning at 11 AM ET!

+++

The pre-release code for a proposed upgrade to the Avalanche Network was published for activation on the Fuji Testnet at 11 A.M. ET (4 P.M. UTC) on Tuesday, February 13th, 2024. This proposed upgrade, codenamed Durango, consists of Avalanche Community Proposals (ACPs) [ACP-23] P-Chain Native Transfers, [ACP-24] Activate Shanghai EIPs on C-Chain, [ACP-25] Virtual Machine Application Errors, [ACP-30] Integrate Avalanche Warp Messaging into the EVM, [ACP-31] Enable Subnet Ownership Transfer, [ACP-41] Remove Pending Stakers, and [ACP-62] Disable AddValidatorTx and AddDelegatorTx.

Note, this pre-release code will ONLY work on Fuji. If you run the code on Mainnet, it will exit on startup. The Durango Upgrade includes protocol optimizations that are not compatible with AvalancheGo versions < v1.11.0. If you run a node on Fuji, you must upgrade your software to AvalancheGo >= v1.11.0 before the activation time on Fuji. If you are a Mainnet node operator, no action is required.

Pending a successful activation on the Fuji Testnet of all implementable ACPs, Avalanche Validators can choose to update their nodes to a production release of Durango (yet to be published) that supports the ACPs on Avalanche Mainnet. Reminder: Avalanche Validators can signal their support for ACPs.

Cross-Subnet Interoperability

The first native Cross-Subnet message was sent on Avalanche Mainnet using Avalanche Warp Messaging (AWM) on December 22nd, 2022. Following this milestone, ACP-30 proposed activating AWM on the C-Chain and Subnet-EVM. Activating this ACP brings native cross-chain communication to every EVM Chain in the Avalanche Ecosystem and establishes a standard for future VMs to communicate using AWM.

With AWM, there are no third party intermediaries or trust assumptions outside of the validator set of the Primary Network and the communicating Subnets. With only the validators of a Subnet, every Avalanche Subnet can send messages to one another. AWM leverages the Avalanche P-Chain as a registry of all Subnets’ validator sets including a BLS Public Key for each validator.

To send a message, an untrusted relayer or user aggregates signatures from a threshold of the Subnets’ participating stake. Once it has received signatures from a threshold of stake, it constructs a BLS Multi-Signature and a bit set to specify which validators have included a signature. For a receiving Subnet to verify the message, it looks up the validator set of the source Subnet at the current P-Chain height from its local database, checks that the total weight of included validators meets the required threshold, aggregates the specified BLS public keys, and then verifies the signature against the resulting aggregate public key. Any relayers broadcasting invalid BLS Multi-Signatures will be ignored. Note, no transactions/messages are included in the P-Chain to send an Avalanche Warp Message. Messages are passed directly between communicating Subnets or between a Subnet and the C-Chain. Here is a diagram of how this works between two Subnets:

This lightweight protocol replaces the management of point-to-point connections with the simplicity of one unified registry: the Avalanche P-Chain. For the full details on how this is integrated into the EVM, see ACP-30.

In order to use AWM, a threshold stake of the Subnet’s validators need to register BLS keys via ‘AddPermissionlessValidatorTx’. ACP-62 proposes disabling ‘AddValidatorTx’ and ‘AddDelegatorTx’ to push all new stakers to use ‘AddPermissionlessValidatorTx’ and ‘AddPermissionlessDelegatorTx’. Wide adoption of registered BLS keys not only enables Subnets to utilize AWM, but also accelerates the timeline for potential future P-Chain upgrades.

Improving the Developer Experience 

This upgrade also addresses some common requests from developers to improve the developer experience. These include adding P-Chain native transfers, enabling subnet ownership transfers, maintaining smart contract compatibility with Ethereum by supporting the Ethereum Shanghai Upgrade, and adding VM application errors. 

Currently, users who want to transfer assets between P-Chain addresses either need to leave the P-Chain or use a transaction type not meant for native transfers. ACP-23 proposes supporting native transfers on the P-Chain with ‘BaseTx’. By supporting native transfers on the P-Chain, users can manage their assets more efficiently and securely.

Another challenge for developers has been changing the owner of a Subnet, as currently the owner is immutable when new Subnets are created on the P-chain. Subnet operators may want to transition ownership of the Subnet to a new owner for a number of reasons, i.e. to perform a periodic rotation of the Subnet’s control key(s). ACP-31 proposes allowing the current owner of a Subnet to transfer ownership to a new owner via ‘TransferSubnetOwnershipTx’.

Durango also activates ACP-24, which incorporates the changes from the Ethereum Shanghai Upgrade to ensure the C-Chain maintains smart contract compatibility with Ethereum. Specifically, EIP-3855 adds the PUSH0 opcode to the C-Chain, maintaining compatibility with Solidity versions >= v0.8.20. See the ACP for full details on the changes. 

At the VM level, a peer cannot signal VM application errors, resulting in a network timeout and failed request. ACP-25 proposes adding an ‘AppError’ message to indicate that an error has occurred. This allows a peer to signal failure early rather than wait for a timeout to fire, reducing the latency of a failed request from the network timeout (~2s) to a single network round trip time (~500ms).

Starting the Path to 100k Subnets

To help further increase the scalability of the P-Chain, ACP-41 proposes removing a user-specified ‘StartTime’ for stakers. This modifies the P-Chain to start a staker’s staking period when the transaction is accepted. This greatly reduces the computation load on the P-Chain, increasing the efficiency of all Avalanche Network Validators and sets the stage for future P-Chain upgrades, including continuous staking (stake once and forget about it).

In addition to scaling the P-chain, key features will be needed in order to walk the “Path to 100k Subnets”. Many of these will rely on BLS keys, whose wide adoption not only enables Subnets to fully utilize Avalanche Warp Messaging and to send cross-Subnet messages, but also accelerates the timeline for future P-Chain upgrades. These include, but are not limited to:

  • Arbitrary Subnet Rewards: The P-Chain currently restricts Elastic Subnets to follow the reward curve defined in a ‘TransformSubnetTx’. With sufficient BLS key adoption, Elastic Subnets can define their own reward curve and reward conditions. The P-Chain can be modified to take in a message indicating if a Subnet validator should be rewarded with how many tokens signed with a BLS Multi-Signature.
  • Subnet Attestations: The Primary Network or a Subnet can attest to the state of their Subnet with a BLS Multi-Signature. This can enable clients to fetch the current state of the Subnet without syncing the entire Subnet. StateSync enables clients to download chain state from peers up to a recent block near tip. However, it is up to the client to query these peers and resolve any potential conflicts in the responses. With Subnet Attestations, clients can query an API node to prove information about a Subnet without querying the Subnet's validators. This can especially be useful for Subnet-Only Validators to prove information about the C-Chain.

As mentioned earlier, ACP-62 proposes the shift to the new BLS key tx type, ‘AddPermissionlessValidatorTx’, accelerating towards the future of BLS-powered advancements in the Avalanche Network.

SHARE //
NEXT UP//
Developers

The Avalanche Foundation Launches infraBUIDL(AI) Program with up to $15M in Developer Funding

Education

Startup Incubator Codebase Announces Season 2 Cohort

Events

Summit Highlight Series: Gaming Goes Mainstream

Events

Summit Highlight Series: Community & Culture

Platform

Avalanche9000 Testnet Launches with up to $40M in Retroactive Rewards

Events

Summit Highlight Series: Institutional Blockchain Adoption

Developers

Etna: Enhancing the Sovereignty of Avalanche L1 Networks

Institutions

Avalanche Momentum Accelerates as Galaxy, Dragonfly, and ParaFi Lead $250M Investment In Support of Avalanche9000 Upgrade

Enterprise

Uplink to Launch First Decentralized Physical Infrastructure Network as an Avalanche L1

Institutions

Tokenization 101: The Institutional Tipping Point For Tokenization

Art & Culture

Suntory Group to Launch Tokenized Premium Malt’s Beer on Avalanche Blockchain

Institutions

BlackRock Launches Digital Liquidity Fund BUIDL on Avalanche via Securitize

Enterprise

Can Blockchain Unlock True Fan Ownership in Sports Through Tokenized Equity?

Community

MeWe to Launch Privacy-Focused Decentralized Social Network on Avalanche

Events

Summit Series: Why We Chose Latin America for Avalanche Summit

Enterprise

StraitsX Leverages AvaCloud and Avalanche to Simplify Cross-Border Payments in Southeast Asia

Enterprise

Uptop Leverages Avalanche to Transform Fan Loyalty

Institutions

AvaCloud Selected to Participate in Kinexys by J.P. Morgan’s Project EPIC – Exploring Privacy and Identity Solutions for Institutions

AvaCloud

AvaCloud Ushers in New Era of Blockchain Privacy with Acquisition of EtraPay and Launch of Privacy Suite

Enterprise

Blockticity Develops Global Trade Verification Standard Using Avalanche

Gaming

FCHAIN Launches as an Avalanche Layer 1 to Power Faraway Gaming Ecosystem

Community

The Arena’s Comeback: SocialFi App on Avalanche Secures $2M Pre-Seed Funding and Plans Mainstream Expansion

Community

Avalanche Summit Admission Is Free for Developers in Latin America. Here’s Why:

Community

Between the Sessions: What to Do and See at Avalanche Summit LATAM

Institutions

Colombian Neobank Littio Leverages OpenTrade to Offer Interest-Bearing USD Accounts to Local Customers via Avalanche Network

Gaming

3thix and Avalanche Unite to Democratize Web3 Gaming Economy For Advertisers and Improve Experience For Consumers

Platform

Retro9000, a $40M Grant Program, Rewards Developers Building Avalanche L1s

Platform

Building on Avalanche9000

Institutions

Legendary Pressman Film Leverages Republic Investment Platform and Avalanche Network to Transform Independent Film Financing

Institutions

ParaFi Tokenizes Fund on Securitize Platform with Avalanche

Platform

GoGoPool: Driving Security, Community, And Liquidity On Avalanche

Developers

The Avalanche Foundation Announces the infraBUIDL() Program

Art & Culture

Tixbase Enters Exclusive Partnership with PASSO to Revolutionize Ticketing with Avalanche Blockchain Technology

Institutions

Franklin Templeton Launches Tokenized Money Market Fund BENJI on the Avalanche Network

Art & Culture

TYB and Shopify Bring Web3 Loyalty Platform to Major Consumer Brands, Powered by Avalanche

DEFI

Agora Launches Its Digital Dollar on the Avalanche Blockchain Network With Initial Cohort of Partners

Institutions

Tokenization 101: Capturing the Growth of Asset-Backed Finance via Blockchain-Enabled Opportunities

Developers

Codebase Incubator Opens Season 2 Applications In Search Of The Next Generation Of Web3 Founders Building On Avalanche

Enterprise

California DMV Makes History, Digitizes 42 Million Car Titles on Avalanche Blockchain

Community

Avalanche Foundation: The Community Airdrop

Community

The Avalanche Ambassador DAO Launches Snowfort, the AVAX Community Bounty Platform

Avalanche Watch: May 2024

Developers

AVAX Startup House Hosts Codebase Demo Day at Consensus

Gaming

Konami Digital Entertainment Co., Ltd. Unveils Groundbreaking NFT Solution "Resella" in Collaboration with Ava Labs

Gaming

OtherWorld’s New Digital Collectibles Platform ‘Solo Leveling: Unlimited’ Launches on Avalanche, Bringing the Mega-Hit IP On-Chain

Enterprise

Builder Spotlight: The Lemonade Foundation and Insuring Smallholder Farmers with Avalanche

Institutions

Institutional Products, Pilots Signal Growing Interest in Tokenization

Institutions

Tokenization 101: Institutions Leverage Avalanche to Test Merits of On-Chain Finance

Platform

Icebreaker Program: Phase One Update

Gaming

LiveDuel Brings Web3 Sports Betting to Avalanche

Gaming

Elixir Games Announces Acquisition of RoboKiden and Strategic Partnership with Ava Labs

Art & Culture

Artist Spotlight: Ed Balloon Blending Web2 and Web3 at Avalanche Park

Gaming

Gamestarter introduces ‘GameChain’ powered by Avalanche

Institutions

Wine Capital Fund Leverages Oasis Pro and Avalanche to Make Fine Wine an Investable Asset Class

Community

Introducing Core’s Airdrop Tool: A Free Way to Distribute Tokens and Reward Your Community on Avalanche

Art & Culture

Salvor Secures Avalanche Rush with a $1M Incentive Grant to Build Out Avalanche’s Prime NFT Lending Platform

Gaming

Avalanche & Funtico: Revolutionizing Gaming on the Blockchain

Avalanche Watch: April 2024

DEFI

The Avalanche Foundation Announces Memecoin Rush

Institutions

Homium Issues First Home Equity Loans on Avalanche

Enterprise

Feature.io Uses Avalanche-Powered API to Bring Web3 to Any Streaming Platform or Media File

Enterprise

stc Bahrain and Avalanche forge partnership to drive Web3 progress in the Middle East

Enterprise

Avalanche x Seedhe Maut: Revolutionizing the Fan Engagement Economy with Metasky

Enterprise

Really Launches Avalanche Subnet to Expand Reach of On-Chain Movies

Developers

Frosty: Bringing Strong Liveness Guarantees to the Snow Family of Consensus Protocols

Platform

BitNote Launches Encrypted Notes on Avalanche

Platform

Avalanche Integrates with Stripe for Crypto Onramping

Avalanche Watch: March 2024

Platform

The Avalanche Foundation Unveils the Icebreaker Program

Community

The Avalanche Foundation Launches Ambassador DAO to Usher in the Next Wave of Users

The Avalanche Foundation Announces a New Board

Community

The Avalanche Foundation Discloses Community Coin Holdings

Platform

Avalanche Foundation Launches Community Grants Program with Gitcoin

Institutions

Clearpool Expands to Avalanche with Exclusive Launch of Credit Vaults

Enterprise

Coachella to Gamify the Festival Experience and Distribute New Rewards Using Avalanche

Developers

Startup Incubator Codebase Names First Cohort

Institutions

Diamond Standard Leverages Oasis Pro and Avalanche to Make Diamonds an Investable Asset Class

Institutions

Tokenization 101: The Tokenized Collateral Ecosystem

Enterprise

Avalanche Powers Web3-Enabled Voucher Program on Alipay+ D-store

Institutions

Avalanche and Chainlink Leveraged in Tokenized Asset Settlement Project

Developers

The Graph Expands Data Tools for Avalanche Developers

Community

Avalanche Foundation: Eligibility Criteria Framework for Community Coins

Platform

Avalanche Watch: February 2024

Art & Culture

Best Dish Ever Launches NFTs on Avalanche, Pioneering the Future of Culinary Exploration

Gaming

Legendary MMORPG MapleStory Comes to Avalanche

Platform

Teleporter Makes Avalanche a Fully Interoperable L0 Network

Enterprise

Loyalty+ to Receive Multiverse Incentives to Spur AI-Enhanced Loyalty Programs

DEFI

SteakHut V2 Introduces New Liquidity Features on Avalanche

Enterprise

Avalanche to Power SI Tickets’ NFT Platform, Box Office

Art & Culture

Looty and Inspect Launch Loyalty Platform with Loot Crate Rewards, Boosting Avalanche NFT Season

Platform

Durango: Avalanche Warp Messaging Comes to the EVM

Community

Avalanche DeFi Saga with Rep3

Institutions

Citi Tests Benefits of Private Markets Tokenization With Avalanche Evergreen Subnet ‘Spruce’

Enterprise

Avalanche Named Exclusive Sponsor of Collider on the Lot Startup Accelerator

Platform

Cortina: X-Chain Linearization

Avalanche Watch: January 2024

Gaming

Owned Blends SocialFi and Gaming on Avalanche with Battle Tech

Enterprise

The Empire State Building Launches NFT Loyalty Program on Avalanche Using Uptop

Institutions

Intain Launches Avalanche Subnet to Usher in New Era for Multi-Trillion Dollar Securitized Finance Market

Institutions

How Avalanche Uses Account Abstraction to Improve the Web3 Experience for Institutions