Skip to content

Runtime 2301

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Apr 09:21
· 1 commit to 5fe13e70b345427d0983570082c8d82e92925015 since this release

Breaking changes

  • Referenda Pallet:
    • The following invariants of ReferendumInfo - Approved, Rejected, Cancelled, TimedOut now have their second parameter optional, Option<Deposit<AccountId, Balance>>, which was previously Deposit<AccountId, Balance>. (see #2134)
    • Root (Governance v1) can Kill/Cancel an OpenGov referendum. (see #2151)
    • General Admin track can now be used to set members of collectives (see #2195)
  • Author selection: Moonbeam is now relying on pallet Randomness for block authoring selection. Alphanet & Moonriver were already changed (see #2135)
  • Staking:
    • [Moonriver] Changed both MinCandidateStk and MinCollatorStk constants to the value of 10,000 MOVR. (see #2139)
    • [Moonbeam] Changed both MinCandidateStk and MinCollatorStk constants to the value of 2,000,000 GLMR. (see #2174)
  • The runtimes are not accepting anymore the 0x000...000 address as a valid sender (see #2172)
  • XCM:
    • Migration of XCM Transactor v2 to v3, includes many changes, see #2145 for complete list
    • The maximum number of "weighable" assets has been reduced from 100 to 64.
  • Fees: Moonbeam is now using our dynamic fee algorithm (see #2166)
    • Minimum multiplier set to a gas price of 125 gwei (was previously fixed to 100 gwei)
    • Algorithm responsiveness tuned to double/halve in 1 hour

Runtimes

Moonbase

✨ spec_version                : 2301
🏋 size                        : 1607342
#️⃣ sha256                      : 0x99672d58146eecaac561e5c5d34b729bf0aef8ad32f790d69f446c1319f6b508
#️⃣ blake2-256                  : 0x444d18a9110e2b54b2ae9da894a2a648291699b3ed27bf2aeca7a5e4bc6321e0
🗳️ proposal (authorizeUpgrade) : 0x12a80ae6183d5e9851fe20051feed7370067460437d36fce5b1eab610163f82b

Moonriver

✨ spec_version                : 2301
🏋 size                        : 1564080
#️⃣ sha256                      : 0xc1572b0f9f9bbebf01db95074d66efabbede91e0c0c9dba1439c98baebf39d37
#️⃣ blake2-256                  : 0xaa4d243a65124c49847d6d9c67ebfde9a0e8e316696683f5c14cd3f2200a0d03
🗳️ proposal (authorizeUpgrade) : 0x58cda1603e863766f205999caacb5421115ffa0b4d45e9886d1f1c5ead505e4e

Moonbeam

✨ spec_version                : 2301
🏋 size                        : 1482045
#️⃣ sha256                      : 0xcb2e90ab44c6bc31ff4f816ebd6fca2fbe3f4e64388d6ace19dfeaf661b3e800
#️⃣ blake2-256                  : 0xa98aa21fbe130e083e9ae7eaa54fb5936e1adb84ff2a1a3472362d2634a3f47d
🗳️ proposal (authorizeUpgrade) : 0xbfba2545640461893853e80266e49bc986f17cd8e10d28546f1b2e71ba1e1b22

Build information

WASM runtime built using rustc 1.66.1 (90743e729 2023-01-10)

Changes

  • Bump runtime version to 2300 (#2125)
  • Add pallet referenda migration for referendumInfo (#2134)
  • Add randomness pallet as author filter source to moonbeam (#2135)
  • Add more AuthorMapping precompile getters (#2143)
  • Allow calling proxy.proxy from smart contracts in moonbase (#2148)
  • Allow Root to Kill/Cancel referendum for OpenGov (#2151)
  • Optimize compute_top_candidates (#2123)
  • Update collator candidate self-bond in Moonriver (#2139)
  • Add HRMP Cancel variant to hrmp_manage (#2159)
  • Add CheckNonZeroSender on SignedExtra (#2172)
  • Allow proxy precompile to perform subcalls and to be callable from batch on Moonriver/Moonbeam (#2177)
  • Update some dependencies (#2178)
  • Modify RelayEncoder precompile to accept HRMP Cancel variant (#2179)
  • Add conviction voting Split, SplitAbstain vote options (#2169)
  • Add new precompile PrecompileRegistry (#2138, #2204)
  • Update Substrate/Polkadot/Cumulus/Frontier dependency to 0.9.38 (#2145)
  • Forbid precompile proxy call on behalf of a Smart Contract (#2171)
  • Update collator candidate self-bond in Moonbeam (#2174)
  • Allow GeneralAdmin track to change Council/TC members (#2195)
  • Switch to stable rust and make rust debug build usable (#2207)
  • Add xcm-transactor V2 precompile to moonriver/moonbeam (#2206)
  • Add method removeVoteForTrack to ConvictionVoting precompile (#2201)
  • Limit the max number of assets weighable in XCM (#2215)
  • Add Dynamic Fee support for Moonbeam (#2166)
  • Expose VotingFor and ClassLocksFor in ConvictionVoting precompile (#2220)
  • Add experimental GMP Precompile [Moonbase only] (#2155)
  • Improve XCM v2 compatibility modifying proof size (#2228)

Dependency changes

Moonbeam: runtime-2300...runtime-2301
Substrate: moonbeam-foundation/substrate@60f6004...60f6004
Polkadot: moonbeam-foundation/polkadot@197a457...197a457
Cumulus: moonbeam-foundation/cumulus@9a2e23c...9a2e23c
Frontier: moonbeam-foundation/frontier@df4e329...df4e329