[Runtime] RT3400 Schedule

We are planning to release Runtime 3400 in ALL network(s) following the schedule below:

Alphanet: 2024-12-08T23:00:00Z
Moonriver: 2025-01-08T23:00:00Z
Moonbeam: 2025-01-26T23:00:00Z

This runtime upgrade includes several breaking changes.
See the release note for more details: Releases · moonbeam-foundation/moonbeam · GitHub

6 Likes

Upgrade Recap

Here is a summary of the Runtime Upgrade 3400, including several key changes within the ecosystem. Runtime Upgrade consists of different feature sets depending on the network we’re updating. Below, you will find the detailed summary split between the destination environments:

  • [All networks]
    • Reduce min_gas_price by 4
    • Foreign assets on Moonriver and Moonbeam are now created as EVM native
    • Gas being overestimated for PoV computation is now being refunded at the end of the transaction.
  • [Moonbeam and Moonriver]
    • Foreign assets are now created as EVM native
  • [Client]
    • No-delay block time improving the responsiveness of wallet interactions
  • Several Bug Fixes

Polkadot Compatibility

Optimization of min_gas_price

Audience: Dapp Developers

The minimum gas price (also used for base fee in EIP1559) is now divided by 4 (#3058)

Following the increase of Gas (by 4x) due to 4x more CPU time allowed for block building, we are now decreasing the min_gas_price by 4x to match the same block minimum price.

Async Gas Evolution

This is a diagram explaining the differences of limits being applied by the async backing (without including the min gas divided by 4)

Runtime Previous Min Gas Price New Min Gas Price
Moonbeam 125 Gwei 31.25 Gwei
Moonriver 1,25 Gwei 0.3125 Gwei
Alphanet 0,125 Gwei 0.03125 Gwei

Ethereum Compatibility

Foreign assets are now created as EVM native

Audience: Dapp Developers

We are adding a new pallet “pallet-moonbeam-foreign-assets”.

The purpose of this new pallet is to manage XCM derivative assets on Moonbeam through EVM smart contracts.

Before, XCM derivatives assets (aka. “foreign assets”) were managed by the pallet asset-manager and the pallet substrate pallet “pallet-asset”. The long-term goal is to remove these two pallets from moon$ runtimes (asset-manager and pallet-asset), but before doing so, we will first have to migrate all existing foreign assets in production.

Replacing pallet-asset with evm smart contracts offers several advantages:

  1. Protocols that use foreign assets will be able to use the tools of the ethereum ecosystem (especially foundry)
  2. Some operations will b cheaper in gas (e.g. approve).
  3. It will reduce the runtime size (as two less pallets)
  4. It will reduce the complexity of the runtime code (enabling better maintenance).

Other

Several Bug Fixes

Audience: Dapp Developers

  • SELFDESTRUCT is now fully clearing the smart contract account (#3067)
  • Adds txHash field to the result of debug_traceBlock* RPC calls, and updates the result struct to match with the latest Geth specification (#3060)
3 Likes