Skip to content

Runtime 2403

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Jul 16:28
· 33 commits to 61647d84124c8e6d099176ce5ba357f821204864 since this release
14269dd

Runtimes

Moonbase

✨ spec_version                : 2403
🏋 size                        : 1656718
#️⃣ sha256                      : 0x657ac2de091c4451c5d130181c1b38dfe2c3d08a853474b042222e2131f1bb15
#️⃣ blake2-256                  : 0x27a2bd1969e0896eee4cd754ccf828c49256d5ffb19cbdb541912cccf854711e
🗳️ proposal (authorizeUpgrade) : 0xf235fe4a89ade3f291ffab0209b4c586ee05e7956a8a39684dffd5cabdae709f

Moonriver

✨ spec_version                : 2403
🏋 size                        : 1655444
#️⃣ sha256                      : 0xf85876853d21f0234abde636eedd4f023aca8a1d9b40ffd02889dfab75d9414e
#️⃣ blake2-256                  : 0x4dd120baa3497ed64fc72163ade6f55366c3fb0d58c5bcc4e307cba4811e5881
🗳️ proposal (authorizeUpgrade) : 0xceeef026ec87a1e24a7200ec00ed6006a75148e5c6937b4694e0f604db3a74e6

Moonbeam

✨ spec_version                : 2403
🏋 size                        : 1655723
#️⃣ sha256                      : 0x00e09399e59128b36ca1f3f486c55440bde35e01a07b3166b1213285a4aac154
#️⃣ blake2-256                  : 0x7e98d985f3d5fe85c76a7389e44a093edef9aefcee712a6a3cfbd99f733a6850
🗳️ proposal (authorizeUpgrade) : 0xeeddc70133ce7a482333b75851edf18ff8be6e7746543f8284679f1099c1b6fd

Build information

WASM runtime built using rustc 1.69.0 (84c898d65 2023-04-16)

Changes

This runtime fix an issue with the ERC20-XCM feature:

The cost of an erc20 transfer through XCM is static (enforced by XCM design), we initially fixed the constant to 80,000 gas, we based our decision on the fact that the ERC20 standard implementation of openzepellin use only around 33,000 gas, so 80,000 seemed a sufficiently wide limit. But with the introduction of the GMP precompile, which uses wormhole wrapped contracts with erc20 transfers through XCM, we realize that we need more gas (around 140 000). Until we find a solution in the medium term to make the cost dynamic, this new runtime increases the constant to 200,000 gas.

  • Increase erc20 xcm gas cost (#2408)

Dependency changes

Moonbeam: runtime-2402...runtime-2403
Substrate: moonbeam-foundation/substrate@e7de773...e7de773
Polkadot: moonbeam-foundation/polkadot@89fd916...89fd916
Cumulus: moonbeam-foundation/cumulus@0d8911b...0d8911b
Frontier: moonbeam-foundation/frontier@688ad3b...688ad3b