Skip to content

Releases: moonbeam-foundation/moonbeam

Runtime 1504

01 Jun 01:16
Compare
Choose a tag to compare

This runtime is a hotfix on top of 1503. It restore DELEGATECALL for non-custom precompiles

Runtimes

Moonbase

✨ spec_version                : 1504
🏋 size                        : 1253342
#️⃣ sha256                      : 0x399b9ce97136632811b945b75892d0ac5bcf03fac4924a87d1338f96e8d7ffdb
#️⃣ blake2-256                  : 0x04c044a70f5929e721d80f7589ed7881c2005cf2075b9d32510bd7710ed1dc61
🗳️ proposal (authorizeUpgrade) : 0x3b7829b28fa392a528fc5f10ee0cfa14ac01ff9542acf49722c9eea7d2b14fe9

Moonriver

✨ spec_version                : 1504
🏋 size                        : 1252400
#️⃣ sha256                      : 0xd34369cf3ce44593c53954fd038c5cd54989d954e31ca697e0dd9159d9ea5de5
#️⃣ blake2-256                  : 0xadf9d791567b5170326a535af19d2fec6b8d3931cca1083a625b6aeb58e75c0d
🗳️ proposal (authorizeUpgrade) : 0x430c4548b51b5ca0a83af8be5b5642818fc93f269524ba8e0e2efc9bd9bcb075

Moonbeam

✨ spec_version                : 1504
🏋 size                        : 1253645
#️⃣ sha256                      : 0xf025f40e1b906ec9d562f612e45f4f44dcf57338a555774de71a5e55332fa647
#️⃣ blake2-256                  : 0xc97cd0a14394e6da75056736713474d90e04d91433a2a3821b9e0ca894a21df9
🗳️ proposal (authorizeUpgrade) : 0x16be587d1f3cd31fcd2f384556adb380874759874870a4be6d5dd79f4bff1c34

Build information

WASM runtime built using rustc 1.57.0 (f1edd0429 2021-11-29)

Dependency changes

Moonbeam: runtime-1503...runtime-1504
Substrate: moonbeam-foundation/substrate@fc3fd07...fc3fd07
Polkadot: moonbeam-foundation/polkadot@f0dc95a...f0dc95a
Cumulus: moonbeam-foundation/cumulus@76cf464...76cf464
Frontier: moonbeam-foundation/frontier@3d58fed...3d58fed

Runtime 1503

01 Jun 01:15
Compare
Choose a tag to compare

This runtime is a hotfix on top of runtime 1502. It includes a temporarily solution to block all DELEGATECALL

Runtimes

Moonbase

✨ spec_version                : 1503
🏋 size                        : 1253286
#️⃣ sha256                      : 0x3bcb479aa531da9b1f8a0f8488dc424344e2de1efa11c9b6089a0ab4e7a1713d
#️⃣ blake2-256                  : 0x11cfa5944b95f21f866158bf40846e312e427d93deadaf1afbe18b5c450a79f1
🗳️ proposal (authorizeUpgrade) : 0x12ba8a5603257e4410bc7c5677ecc4f7e975035807feb5b28064ad9d78a67335

Moonriver

✨ spec_version                : 1503
🏋 size                        : 1252281
#️⃣ sha256                      : 0x9f02a3c4b9787132cc1ad80e28b5fc1ddf6c6e3dc9ab27fa5a631445f6121cba
#️⃣ blake2-256                  : 0xafa29c905c6868077b9ce3b0ede9e2bd773bb1389bf2a5a14f665efc2e3399f8
🗳️ proposal (authorizeUpgrade) : 0xee08b23147a361a1bcca03d02100dc4a95b333d3f9ac8292204d404f96eb4c4c

Moonbeam

✨ spec_version                : 1503
🏋 size                        : 1254002
#️⃣ sha256                      : 0x0fb5a7b17bd7869868c0ebfbbd5b49b76e8b8751bdece9da2c0b326b00e8e59e
#️⃣ blake2-256                  : 0x35977e97e6a5a4cd29363534c02dc5de2a07f73fb8b1e839f872877ecf6bbc29
🗳️ proposal (authorizeUpgrade) : 0x6edabbcee5421ae0b8297d26d0ea16220a0b7ecc38dbf2e961953871d2f5e62a

Build information

WASM runtime built using rustc 1.57.0 (f1edd0429 2021-11-29)

Dependency changes

Moonbeam: runtime-1502...runtime-1503
Substrate: moonbeam-foundation/substrate@fc3fd07...fc3fd07
Polkadot: moonbeam-foundation/polkadot@f0dc95a...f0dc95a
Cumulus: moonbeam-foundation/cumulus@76cf464...76cf464
Frontier: moonbeam-foundation/frontier@3d58fed...3d58fed

Moonbeam v0.23.0

05 May 17:16
dd484d3
Compare
Choose a tag to compare

Changes

  • Improve traceBlock raw-tracing support error message (#1356)
  • Do not enter evm estimate mode when binary search flag is enabled (moonbeam-foundation/frontier#60)
  • auto force authoring when runtime change (#1459)

Dependency changes

Moonbeam: v0.22.1...v0.23.0
Substrate: moonbeam-foundation/substrate@fc3fd07...fc3fd07
Polkadot: moonbeam-foundation/polkadot@f0dc95a...f0dc95a
Cumulus: moonbeam-foundation/cumulus@76cf464...76cf464
Frontier: moonbeam-foundation/frontier@79ed3f2...3d58fed

Runtime 1502

09 May 13:44
Compare
Choose a tag to compare

Runtimes

This runtime fixes an issue introduced in 1500 with staking requests becoming orphan when a candidate or a delegator were to leave.
It includes changes from:

Moonbase

✨ spec_version                : 1502
🏋 size                        : 1230878
#️⃣ sha256                      : 0x6ea78dca9b0b1a1188ede49b726ddb9dad01f4f6c1a1e93527a0ea9ef65b9954
#️⃣ blake2-256                  : 0x47eec5a6609a3f346adf209b246011e34ce4d6292e9c4009a9acf967958bfa5d
🗳️ proposal (authorizeUpgrade) : 0x20baccefd33bb672a03779d2f716aacfeed18fe4fa79516ae9e839bb3f154aa7

Moonriver

✨ spec_version                : 1502
🏋 size                        : 1231005
#️⃣ sha256                      : 0xbbd03220ec5dd2e28e44b09775f7172f40e0b46097c579cf3d8d0db8001f34d5
#️⃣ blake2-256                  : 0x95b6137d7ab4ed68c2b2fb4f001dc559e790cb500605fcb37b7364ad48ee1299
🗳️ proposal (authorizeUpgrade) : 0x19e52ba668534f49ab77f5cb54ab4a48d05bd97c13247d0594dbea21d3cd1f3a

Moonbeam

✨ spec_version                : 1502
🏋 size                        : 1233782
#️⃣ sha256                      : 0xf8564188a58301cec0350686db1dbe18d8a654541e5496c72ff04e4b02736a44
#️⃣ blake2-256                  : 0xcadcb7ccca344628d3495f15ab092fe45c9f7e25b87c760b4db3fd1b97fd48e1
🗳️ proposal (authorizeUpgrade) : 0x6f7a6b0cd452145874eb2dec2bbd6870d4f6fdeaa842c0c8400dca50a9f5e396

Build information

WASM runtime built using rustc 1.57.0 (f1edd0429 2021-11-29)

Changes

  • Fixes delegation requests removal when either collator or delegator are leaving #1463
  • Fixes frontier hotfix extrinsic fees (moonbeam-foundation/frontier#61)
  • Enable local tokens (GLMR and local assets) transactors in moonbeam (#1472)

Dependency changes

Moonbeam: runtime-1501...runtime-1502
Substrate: moonbeam-foundation/substrate@fc3fd07...fc3fd07
Polkadot: moonbeam-foundation/polkadot@f0dc95a...f0dc95a
Cumulus: moonbeam-foundation/cumulus@76cf464...76cf464
Frontier: moonbeam-foundation/frontier@79ed3f2...3d58fed

Runtime 1501

02 May 21:09
Compare
Choose a tag to compare

Runtimes

Fixes Permit precompile for runtime 1500

Moonbase

✨ spec_version                : 1501
🏋 size                        : 1231942
#️⃣ sha256                      : 0xd99225e3ec01282a15672ff301d85360e12965507521eef12136c6416de8ab46
#️⃣ blake2-256                  : 0xf609c803d4d5146af0a35f25e32d2d0687aa061202da575a64fb1d7529270282
🗳️ proposal (authorizeUpgrade) : 0x192d17290d9fab81ff7de22dc6f2bdb1e0ca9720035cff999aedaa4c51399425

Moonriver

✨ spec_version                : 1501
🏋 size                        : 1231110
#️⃣ sha256                      : 0xbba31443bb62e0b29aa1071332a3e4cd75a4b2161e82cda0c2c9007f85b7049e
#️⃣ blake2-256                  : 0x9c816c65a872f9f3729c283195e2fd07aabdd71ae49ab95ac4189ea0fdfc4081
🗳️ proposal (authorizeUpgrade) : 0xd3d2c9a80aa6ce356ef460612d01e1f053b8fba53205dfb47831086454d0c9b9

Moonbeam

✨ spec_version                : 1501
🏋 size                        : 1227490
#️⃣ sha256                      : 0x85b08530fbe878dd4bae07f19348db2f6c6500bcc038bc6bc9bbeca68bea3f8b
#️⃣ blake2-256                  : 0xc1dec59841e8c5f258a2959684279cdef103d28b8767d5e51d159f876765e707
🗳️ proposal (authorizeUpgrade) : 0xaa844ee4ac3cab7c7df6a1a942da3da92377d2f6fdb4eac39d6e98d4c636858a

Build information

WASM runtime built using rustc 1.57.0 (f1edd0429 2021-11-29)

Changes

  • Fix timestamp units for Permit EIP2612 (#1451)

Dependency changes

Moonbeam: runtime-1500...runtime-1501
Substrate: moonbeam-foundation/substrate@fc3fd07...fc3fd07
Polkadot: moonbeam-foundation/polkadot@f0dc95a...f0dc95a
Cumulus: moonbeam-foundation/cumulus@76cf464...76cf464
Frontier: moonbeam-foundation/frontier@79ed3f2...79ed3f2

Runtime 1500

30 Apr 16:59
12a294f
Compare
Choose a tag to compare

⚠️ Breaking changes ⚠️

AuthorMapping pallet

  • ⚠️ MappingWithDeposit map changed from
#[derive(Clone, Encode, Decode, PartialEq, Eq, Debug, scale_info::TypeInfo)]
pub struct RegistrationInfo<AccountId, Balance> {
  pub(crate) account: AccountId,
  pub(crate) deposit: Balance,
}

to

#[derive(Clone, Encode, Decode, PartialEq, Eq, Debug, scale_info::TypeInfo)]
#[scale_info(skip_type_params(T))]
pub struct RegistrationInfo<T: Config> {
  pub(crate) account: T::AccountId,
  pub(crate) deposit: BalanceOf<T>,
  pub(crate) keys: T::Keys,
}
  • add_association and update_association extrinsics set the VRF keys to the input nimbus_id. If a collator sets their VRF keys and accidentally calls update_association with the new nimbus key, then it will reset the VRF key to that input new nimbus key.

AuthorSlotFilter pallet

  • Deprecates the pallet_author_slot_filter::EligibleRatio config item (Percent) in favor of pallet_author_slot_filter::EligibleCount (EligibilityValue/NonZeroU32). A migration would populate the new EligibleCount value as a percentage of PotentialAuthors defined at that height, if a EligibleRatio value existed. If a previous value was missing, the migration will set EligibleCount to a default value of 50.

XCM

  • MultiLocations for self owned tokens (i.e., the native tokens and local tokens) no longer accepts the absolute path (as seen by the root/parent/relay) but only accepts the relative path (as seen by Moonbase/Monriver/Moonbeam). This is specially important for the xtokens.transfer_multiasset extrinsic/precompile, for which we have found no usage whatsoever in explorers.

ParachainStaking pallet

  • ⚠️ DelegatorState migrated to new value struct. Removes requests and adds less_total, which was previously part of requests. Breaking change towards RPC clients.

before:

        pub struct Delegator<AccountId, Balance> {
                ...
		/// Requests to change delegations, relevant iff active
		pub requests: PendingDelegationRequests<AccountId, Balance>,
		...
	}

now:

        pub struct Delegator<AccountId, Balance> {
                ...
		/// Sum of pending revocation amounts + bond less amounts
	        pub less_total: Balance,
		...
	}
  • ✔️ Adds a new storage item DelegationScheduledRequests which maps a collator AccountId to a list of pending delegation requests (Vec<ScheduledRequest>). This contains the information that was previously provided by the requests.requests (removed) field in DelegatorState.
pub struct ScheduledRequest<AccountId, Balance> {
	pub delegator: AccountId,
	pub when_executable: RoundIndex,
	pub action: DelegationAction<Balance>,
}
  • ⚠️ Updates CancelledDelegationRequest. Property cancelled_request now only includes action and when_executable. A new collator field is added. Breaking change towards RPC clients and Event consumers.

before:

pub struct DelegationRequest<AccountId, Balance> {
	pub collator: AccountId,
	pub amount: Balance,
	pub when_executable: RoundIndex,
	pub action: DelegationChange,
}

now:

pub struct CancelledScheduledRequest<Balance> {
	pub when_executable: RoundIndex,
	pub action: DelegationAction<Balance>,
}

Runtimes

Moonbase

✨ spec_version                : 1500
🏋 size                        : 1231741
#️⃣ sha256                      : 0x10361c0e3a0cef0f87ffd2ab7ba3325e1ef4086c4c64c722a0ae5f36dd0efa20
#️⃣ blake2-256                  : 0x01ccd67058685051d1b33c93a647f0d3d53c310a5979eedd7b64953b0c5f9763
🗳️ proposal (authorizeUpgrade) : 0xbdf996c9712e4e0ce641bd5a85546f042b6822d7b0c83f5dfb95632c734ff0cb

Moonriver

✨ spec_version                : 1500
🏋 size                        : 1230930
#️⃣ sha256                      : 0x4cd6e3467c33f27c011d45d27457e73da2bd0d742c29c2bd44ecaa20c114f1e8
#️⃣ blake2-256                  : 0xdc6eca875ce9decb206b0440e407694502bda293b0766dd5428eacba4eb03aa4
🗳️ proposal (authorizeUpgrade) : 0x81c217849e24df50c3a669a5803594e64c7f1749f1ab8d6e4db643dff11a238f

Moonbeam

✨ spec_version                : 1500
🏋 size                        : 1227255
#️⃣ sha256                      : 0x1aa12bf01c871f69d8ecfbbfaecaa0fef66cdc0d5d268ea08fd7613556a3ba52
#️⃣ blake2-256                  : 0x1fa23dd958623de54119040d31fcd21e0f87bb356890981721524ca689cd0fd8
🗳️ proposal (authorizeUpgrade) : 0x0f1532f1a900e2a39bf8e8863c2871471d0bf5e4f10519d31ffbc609343715ad

Build information

WASM runtime built using rustc 1.57.0 (f1edd0429 2021-11-29)

Changes

  • Implement EvmData for tuples (#1387)
  • Revert back wrong hasher introduced for AssetTypeUnitsPerSecond (#1402)
  • Add support for new session key format to author mapping pallet & precompile (#1407)
  • Expose pending delegation request to staking precompile (#1406)
  • Expose candidate request is pending to staking precompile (#1414)
  • Cleanup XCM config (#1401)
  • Expose round number to staking precompile (#1432)
  • Add EIP2612 (Permit) for ERC20/XC20 precompiles (#1429)
  • Implement pallet orbiters (#1374)
  • Change author eligibilityRatio (percentage) to eligibilityCount (absolute) (moonbeam-foundation/nimbus#53, #1400, #1439)
  • Remove staking rewards distribution for pending revoke/decrease delegations (#1408)
  • Support compilation feature on-chain-release-build for smaller wasm (#1441)
  • Bump runtime version to 1500 (#1443)

Dependency changes

Moonbeam: runtime-1401...runtime-1500
Substrate: moonbeam-foundation/substrate@fc3fd07...fc3fd07
Polkadot: moonbeam-foundation/polkadot@f0dc95a...f0dc95a
Cumulus: moonbeam-foundation/cumulus@76cf464...76cf464
Frontier: moonbeam-foundation/frontier@8574920...79ed3f2

Moonbeam v0.22.1

20 Apr 13:57
e3267c6
Compare
Choose a tag to compare

Priority

  • RPC Nodes: High - prevents eth_call request to fail with out of gas
  • Collators: Low

Changes

Dependency changes

Moonbeam: v0.22.0...v0.22.1
Substrate: moonbeam-foundation/substrate@fc3fd07...fc3fd07
Polkadot: moonbeam-foundation/polkadot@f0dc95a...f0dc95a
Cumulus: moonbeam-foundation/cumulus@76cf464...76cf464
Frontier: moonbeam-foundation/frontier@8574920...79ed3f2

Runtime 1401

07 Apr 16:51
9d48c4d
Compare
Choose a tag to compare

Runtimes

Moonbase

✨ spec_version                : 1401
🏋 size                        : 1231874
#️⃣ sha256                      : 0x4919b286f8691c3c0d04c01cb4d5cf51b42312a7c7b255b9980f7e14f7a56af4
#️⃣ blake2-256                  : 0x4779cb21fbd52a3433db87bc976aec6406353da25140d0585f45ba95ad3963fb
🗳️ proposal (authorizeUpgrade) : 0x260eb4e0379860ab3cc3b0721906e27590a517dbda908e8c74f61d0aaf65d15f

Moonriver

✨ spec_version                : 1401
🏋 size                        : 1223302
#️⃣ sha256                      : 0xc3341c4be3443818f0be2978d5a5fc4ca71be11f8418f71766c9543bae71f9a7
#️⃣ blake2-256                  : 0x19dbdad744bdd9681c82fedb08b65bb3523407c9534c159f188b0ec916646878
🗳️ proposal (authorizeUpgrade) : 0x3084bbf7049b2ec3c63142dc1c2a46ebeb4f1fbbb3623a76f921b2ea71e709b6

Moonbeam

✨ spec_version                : 1401
🏋 size                        : 1221172
#️⃣ sha256                      : 0x5dc0f289a9c16fe1bcbff6eb2058318053d24e801b87e00e8446ae133eb94226
#️⃣ blake2-256                  : 0xb8039ecbf277587c7f47845bf64ec41383aba545f832d92a1a2d65210a6719d2
🗳️ proposal (authorizeUpgrade) : 0x32ea5d96af6132a59006947e05936b12f8be775b8ace39a17057c6c3d7f87ecf

Build information

WASM runtime built using rustc 1.57.0 (f1edd0429 2021-11-29)

Changes

  • Revert back wrong hasher introduced for AssetTypeUnitsPerSecond (#1404)

Dependency changes

Moonbeam: runtime-1400...runtime-1401
Substrate: moonbeam-foundation/substrate@fc3fd07...fc3fd07
Polkadot: moonbeam-foundation/polkadot@f0dc95a...f0dc95a
Cumulus: moonbeam-foundation/cumulus@76cf464...76cf464
Frontier: moonbeam-foundation/frontier@8574920...8574920

Runtime 1400

05 Apr 15:32
91e2dfa
Compare
Choose a tag to compare

Runtimes

Moonbase

✨ spec_version                : 1400
🏋 size                        : 1236845
#️⃣ sha256                      : 0x9aad4de38ea042b2e29f5b9fb775c028a240ec61257182c27c71fdfa2d73aed3
#️⃣ blake2-256                  : 0x641031f549eb60fd4cfd542fa4168820380690d7629492f80ae46c0b99c14213
🗳️ proposal (authorizeUpgrade) : 0x20c6d1a73dd4df9626916dc6362f7f4ceb163a12a8dfefaa4b8c018c1cac810f

Moonriver

✨ spec_version                : 1400
🏋 size                        : 1223390
#️⃣ sha256                      : 0x8b6343372af9743eb23e4567a4bcff01c9513ac31fb6ff55317712259296248f
#️⃣ blake2-256                  : 0x0b725f3853f3a60bd0e1b04c1c6fa75a13a91cc2e27be4f5091e370bf56f9e3f
🗳️ proposal (authorizeUpgrade) : 0x70d1e26882c2a3897a706b6046d22828ac1aaf379b215f8cfffb4b904c4baf6f

Moonbeam

✨ spec_version                : 1400
🏋 size                        : 1222194
#️⃣ sha256                      : 0xef73119d774cdbfcdf8ff97edc0509d686c4ac9470e55108dd226f792a49af9d
#️⃣ blake2-256                  : 0xdcfc686704bedfa72730f6d9116158b7d7934e29c3ad0151b9d4e1f58cdc83c5
🗳️ proposal (authorizeUpgrade) : 0x2e0d919d97b898fa8cacac1ee75a52ec391e4ac4fbca3e2f8994eeb2d4dfc3c5

Build information

WASM runtime built using rustc 1.57.0 (f1edd0429 2021-11-29)

Breaking changes

  • Event baseFee.newBaseFeePerGas is no longer emitted. (It was previously added at each block)
  • CurrencyId enum OtherReserve has been renamed to ForeignAsset
  • register_asset extrinsic changes to register_foreign_asset

Changes

  • Add asset removal extrinsics for asset manager and xcm transactor (#1223)
  • 0.9.17 Dependency Upgrade (#1319)
  • Fix non-deterministic build (use paste! instead of gensym!) (#1328)
  • Add fallback mechanism for staking collator selection (#1326)
  • Remove all unwrap() in production code (#1327)
  • Split xcm config file (#1317)
  • Enable democracy precompile for moonbeam (#1352)
  • Add support to XCM transact from non-sovereign origin (#1336)
  • Benchmark pallet author slot filter (#1337)
  • Use ConstX types when possible (#1334)
  • Improve xcm execution support during maintenance-mode (#1359)
  • Expose staking.selectedCandidates: Vec<AccountId> in precompile (#1366)
  • v0.9.18 deps update (#1372)
  • Add transfer multcurriencies to precompiles (#1360)
  • Implement local assets (#1279)
  • Add local assets to Moonbeam, without them being transferrable through xcm (#1389)
  • Upgrades runtime to 1400 (#1393)

Dependency changes

Moonbeam: runtime-1300...runtime-1400
Substrate: moonbeam-foundation/substrate@570b21a...fc3fd07
Polkadot: moonbeam-foundation/polkadot@c028a34...f0dc95a
Cumulus: moonbeam-foundation/cumulus@c92f0ab...76cf464
Frontier: moonbeam-foundation/frontier@a74529a...8574920

Moonbeam v0.22.0

05 Apr 17:04
9fa830c
Compare
Choose a tag to compare

Priority

  • low (no requirement to deploy before runtime 1400)

Breaking changes

  • moonbeam binary --eth-log-block-cache & --eth-statuses-cache are now using byte size instead of block counts.

New prometheus metrics

#1371 added 6 new prometheus metrics:

  • moonbeam_frontier_eth_blocks_cache_size: size of the blocks cache in bytes
  • moonbeam_frontier_eth_blocks_cache_hits: hits of the blocks cache since the node starting
  • moonbeam_frontier_eth_blocks_cache_miss: miss of the blocks cache since the node starting
  • moonbeam_frontier_eth_statuses_cache_size: size of the statuses cache in bytes
  • moonbeam_frontier_eth_statuses_cache_hits: hits of the statuses cache since the node starting
  • moonbeam_frontier_eth_statuses_cache_miss: miss of the blocks statuses since the node starting

Changes

Dependency changes

Moonbeam: v0.21.1...v0.22.0
Substrate: moonbeam-foundation/substrate@c84f200...fc3fd07
Polkadot: moonbeam-foundation/polkadot@66cb46b...f0dc95a
Cumulus: moonbeam-foundation/cumulus@b43fcff...76cf464
Frontier: moonbeam-foundation/frontier@e37f7d9...8574920