moonbeam

An Ethereum-compatible smart contract parachain on Polkadot

GPL-3.0 License

Downloads
3.3K
Stars
920
Committers
59

Bot releases are visible (Hide)

moonbeam - Runtime 1701

Published by github-actions[bot] about 2 years ago

Runtimes

Hotfix on top of Runtime 1700 to restore compatibility for DelegatorState storage item

Moonbase

✨ spec_version                : 1701
🏋 size                        : 1282950
#️⃣ sha256                      : 0x7b7c33a10a845ddc3f8530d08585d36450b616007040c0c5b2db0a336bd17f71
#️⃣ blake2-256                  : 0x7b19d5b9b47ee31e53aac9f5667c4cbb9692d4564502777e43747aa44c520d64
🗳️ proposal (authorizeUpgrade) : 0x316e63a20e134cfc9a783f99e4b023f06f05f8460136cb1015f4dc6c3f4dd4d0

Moonriver

✨ spec_version                : 1701
🏋 size                        : 1214670
#️⃣ sha256                      : 0xa52a81da9f4592fb452d183928ccfbd0a73a9c8a7efae7439cbffb21e23eda62
#️⃣ blake2-256                  : 0x5de7786b576ee9026ec65ed353845ab0f4d52b95b1fb3e899096d0e7c9bc78a5
🗳️ proposal (authorizeUpgrade) : 0xf99db6b6ec898f9b101038c037dd216ed0e7c6d510667c7ba7dde8d1b901865e

Moonbeam

✨ spec_version                : 1701
🏋 size                        : 1214977
#️⃣ sha256                      : 0x736208aaba495aa7314211061f4977a5d18abdfb677062695fe27747c59d1c77
#️⃣ blake2-256                  : 0x7003a5d9c12c060c82fa9016dc5eb3aca0ccd0ec293334b6cd1c7c587630f410
🗳️ proposal (authorizeUpgrade) : 0xe8519da2ccedb78fd701aa4178480e621c3a91528b150e2f95c68a58ccbf55f9

Build information

WASM runtime built using rustc 1.62.0 (a8314ef7d 2022-06-27)

Changes

  • [MOON-1745] re-add status Leaving as deprecated (#1702)

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/runtime-1700...runtime-1701
Substrate: https://github.com/paritytech/substrate/compare/76522d79...76522d79
Polkadot: https://github.com/purestake/polkadot/compare/2fd38f09...2fd38f09
Cumulus: https://github.com/purestake/cumulus/compare/a8637639...a8637639
Frontier: https://github.com/purestake/frontier/compare/896f99a7...896f99a7

moonbeam - Runtime 1700

Published by github-actions[bot] over 2 years ago

⚠ Breaking changes

  • Add the pallet Randomness which provides random generators. It requires the collators to provide a VRF output using their rand (new) key. See the client v0.25.0 release note for details
  • Using a gas price too low is now returning GasPriceTooLow error instead of GasLimitTooLow in the Substrate block side.
  • On-chain receipt root is now computed correctly

Parachain Staking Locks

In order to allow users to participate more in the democracy, we are allowing staked tokens to be used to vote:

parachain-staking now uses LockableCurrency instead of ReservableCurrency. Bonds will now use a lock with id stkngdel for delegators and stkngcol for collators rather than a reserve on their funds.

Querying free_balance will behave differently for stakers. Previously this amount would exclude bonds, now it will include them.It is likely that this will reflect in cases where it did not before, such as Ethereum wallets like MetaMask.

Users will still be unable to spend these bonded funds (transfer, pay for fees, etc.) while they are locked, but they will be able to do other operations which require a lock (e.g. they can vote with their staked funds).

Migration Strategy: For existing bonds, there is a two-pronged migration strategy to replace reserves with locks:

  • One is explicit (see the new extrinsics hotfix_migrate_delegators_from_reserve_to_locks and hotfix_migrate_collators_from_reserve_to_locks ), which can be used by either PureStake to migrate all bonds or by a user to migrate their own bond.

  • The other is JIT (just-in-time), which will migrate any account when a change to its bond occurs as needed.

It will not be necessary for any user, dapp, etc. to worry about migration except for a user who does not want to wait for bulk-migration and wants to migrate themselves.

We expect to migrate all accounts using these "hotfix extrinsics" immediately following a runtime upgrade, and this should be quick (10s to 100s of blocks).

Transaction fees

  • The base weight for extrinsics have been lower, reducing slightly the fee of all substrate transactions.
  • Ethereum transaction Weight is now checked pre-dispatch. This implies that gas_limit must not exceed the amount of weight left in the block (this was not the case before). The maximum gas_limit is now matching the originally intended limit for transaction of 75% (it was previously 100%). The 25% are kept for the block overhead (signature, relay information, randomness....)
  • For EIP-1559 transactions, the minimum caller balance required to validate the transaction is now lower in some cases (based on effective_gas_price instead of max_fee_per_gas).

Runtimes

Moonbase

✨ spec_version                : 1700
🏋 size                        : 1281877
#️⃣ sha256                      : 0xff3b2d41a2607e8677e80812b34c0a4a2abb1045e9cb87b8830a44633c147cdb
#️⃣ blake2-256                  : 0x78a006a44e7cc5d7873f134b069562d562783c8b6e3218ab221d1a154ab4a6cc
🗳️ proposal (authorizeUpgrade) : 0xbca72221d89f9d859bdb59cbe00593db9b717dcd99163f813c2263f3366a02f3

Moonriver

✨ spec_version                : 1700
🏋 size                        : 1214292
#️⃣ sha256                      : 0x17843c5d12c2cf2a43f4517eefc111c029bd9931d00a24c435e7ce6fded520c8
#️⃣ blake2-256                  : 0x378fa30b0819822f7ffa56621f5332a9ad1f627d1069315f7602823a58acf32e
🗳️ proposal (authorizeUpgrade) : 0xe4b749d35c9e4de83f460858aef7071efa91e53d080bf43dbcdfb0c0acc550cd

Moonbeam

✨ spec_version                : 1700
🏋 size                        : 1214961
#️⃣ sha256                      : 0x7c4eed21108aa8e659dd56c7d4a6b9cbd1183a14dea9ff76f47ce9ce3246289d
#️⃣ blake2-256                  : 0x43b7d64b740df65d2306ff3eddde8fb156df4bd47b6c125516434d496f1f7f2e
🗳️ proposal (authorizeUpgrade) : 0x7f795a55a5161f2174920c48610946ad0edebbf21a52bb2f34086b4324cd92fa

Build information

WASM runtime built using rustc 1.62.0 (a8314ef7d 2022-06-27)

Changes

  • Add nimbus kick off authorship validation (#1569, #1516)
  • Add nesting limit to Batch precompile (#1595)
  • Add storage entry RegisteredOrbiter & events OrbiterRegistered & OrbiterUnRegistered (#1593)
  • Add fix to cleanup state on collator exit. Add hotfix extrinsic (#1541)
  • Harmonize crate names (#1580)
  • Brings LengthToFee changes to Moonriver and Moonbeam runtimes (#1579)
  • Refactor PrecompileSet util for safer precompiles (#1601, #1642)
  • Add IdentityJudgement Proxy type (#1597)
  • Ensure dev accounts Charleth, Dorothy and Faith have funds at genesis (#1634)
  • Add Call Permit precompile (Moonbase Only) (#1617, #1648)
  • Upgrade dependencies to polkadot v0.9.23 (#1622, #1658)
  • Fix precompile staking interface (#1620)
  • Add support for Ethereum Call from Xcm (Moonbase Only) (#1641, #1674, #1567)
  • Replace staking reserves with locks (#1604)
  • Disable anonymous proxy (#1680)
  • Fix Ethereum receipt root (#1678)
  • Add Randomness pallet with relay BABE and local VRF (Moonbase Only) (#1376)

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/runtime-1606...runtime-1700
Substrate: https://github.com/paritytech/substrate/compare/563f4820...76522d79
Polkadot: https://github.com/paritytech/polkadot/compare/568169b4...purestake:2fd38f09
Cumulus: https://github.com/paritytech/cumulus/compare/4bbedb30...purestake:a8637639
Frontier: https://github.com/purestake/frontier/compare/ca027df5...896f99a7

moonbeam - Moonbeam v0.25.0

Published by github-actions[bot] over 2 years ago

⚠ Important

Client v0.25.0 is mandatory for collators to run the Runtime 1700. Here are the suggested dates to upgrade your node to v0.25.0:

  • Alphanet: Tuesday 19th July
  • Moonriver: Tuesday 26th July
  • Moonbeam: Tuesday 2nd August

It is also mandatory for collators to generate the new rand key (if you haven't done it since runtime 1600).
The easiest way is to author_rotateKeys (returning a 128 bytes hex string, corresponding to the nmbs (nimbus) and rand key) on your node and provide the new keys on chain with authorMapping.setKeys with your collator account (or proxy)

⚠ Breaking changes

  • Introducing the "rand" key for collators, required to produce the VRF output. The key is automatically generated when using author_rotateKeys (once your node is synced)
    A new error message will appear if you don't have your "rand" key set:
    VRF PreDigest was not included in the digests (check rand key is in keystore)
  • Substrate to storage changes using wildcard is now considered a "Unsafe" RPC and is disabled by default. Use --rpc-methods=unsafe (at your own risk) to support it
  • The seal field has been replaced by the nonce field in Ethereum Block
  • The RPC library has changed to JSONRPSee. The log prefix for those has changed too from rpc to josn (ex: rpc=debug => json=debug)
  • The starting log line to monitor when the node is ready has changed from Listening for new connections <ADDR> to Running JSON-RPC WS server: addr=<ADDR>
  • Gas estimation does not return OutOfGas anymore when the evm executes an invalid opcode. Instead will return an InvalidOpcode error containing the invalid opcode found. e.g.: evm error: InvalidCode(Opcode(228))

Important changes

  • New CLI argument --tracing-raw-max-memory-usage to bound the max amount of collected data per raw tracing request (while tracing, will then consume more than twice that size when converted to JSON). Defaults to 20MB

Changes

  • Bring LengthToFee changes to Moonriver and Moonbeam runtimes (#1579)
  • Remove grandpa revert (#1612)
  • Record raw tracing memory usage with limit (#1546)
  • Upgrade dependencies to polkadot v0.9.23 (#1622)
  • Remove perf-test (#1632)
  • Replace staking reserves with locks (#1604)
  • Fix geth error mismatches (#1673)
  • Updates cumulus to cherry-picked beed leak fix (#1679)
  • Fixes Receipt root fix (#1678)
  • Bump client version to v0.25.0 (#1687)

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/v0.24.0...v0.25.0
Substrate: https://github.com/paritytech/substrate/compare/563f4820...76522d79
Polkadot: https://github.com/paritytech/polkadot/compare/568169b4...purestake:2fd38f09
Cumulus: https://github.com/paritytech/cumulus/compare/4bbedb30...purestake:a8637639
Frontier: https://github.com/purestake/frontier/compare/652abf16...896f99a7

moonbeam - Runtime 1605

Published by github-actions[bot] over 2 years ago

Runtimes

Moonbase

✨ spec_version                : 1605
🏋 size                        : 1267716
#️⃣ sha256                      : 0x402be3e5ea2335d76d02a516d806a79b084eb96a55f3dfd80cedfceae2266e3d
#️⃣ blake2-256                  : 0x9377d920cfc52a3f18054278eb6b88bae62da82ac38de24e722aabb86db90bd3
🗳️ proposal (authorizeUpgrade) : 0x87c2eae33fe9d58173729814c702e16ee5be68861c0766bf36488d011673136a

Moonriver

✨ spec_version                : 1605
🏋 size                        : 1256129
#️⃣ sha256                      : 0xb110a01490b9688dd4a21d984699850480870906fdb769884d19b5eef29f19ec
#️⃣ blake2-256                  : 0x07e962c837e3525c7ebef3447d07a17a519c090bdad92d7abfdab54cb2b77b48
🗳️ proposal (authorizeUpgrade) : 0xaccf2e9471f18765afbdb82d818b5fbb1cf45c52fb79feaf92d6de6b0dc50073

Moonbeam

✨ spec_version                : 1605
🏋 size                        : 1256694
#️⃣ sha256                      : 0x4b5ad624e9b9f0e263886ba554767bd76e049bb7494cddefc2f42e18e2423254
#️⃣ blake2-256                  : 0x6e87233be393c3e928db46836961e075fbec796bfc935fcd10d1d51f9d8b1d1b
🗳️ proposal (authorizeUpgrade) : 0xa82c6df8ff2cad706ce8871239e478bc737df83093c20ba01f7efdb3748b9ea6

Build information

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

Changes

  • [MOON-1745] re-add status Leaving as deprecated (#1586)
  • Add nesting limit to Batch precompile (#1595)
  • Orbiters: add storage entry RegisteredOrbiter & events OrbiterRegistered & OrbiterUnRegistered (#1593)

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/runtime-1603...runtime-1605
Substrate: https://github.com/paritytech/substrate/compare/563f4820...563f4820
Polkadot: https://github.com/paritytech/polkadot/compare/568169b4...568169b4
Cumulus: https://github.com/paritytech/cumulus/compare/4bbedb30...4bbedb30
Frontier: https://github.com/purestake/frontier/compare/652abf16...652abf16

moonbeam - Runtime 1603

Published by github-actions[bot] over 2 years ago

Runtimes

Moonbase

✨ spec_version                : 1603
🏋 size                        : 1266281
#️⃣ sha256                      : 0x772189634a197f7829474a13769c8494d5487d9167a746eeac13cf422bdc9dff
#️⃣ blake2-256                  : 0x07eb83799e4275dee7c5f19775675bb843d3f684fb9bba5fdb1d4aa4ba6d8762
🗳️ proposal (authorizeUpgrade) : 0x912c172f643f658356482c5dff44ec4c198ad3174704d4e91d978040bf544d0f

Moonriver

✨ spec_version                : 1603
🏋 size                        : 1253818
#️⃣ sha256                      : 0xe2ff6dde8cdba95945bc3b16a060ea5dea95ac9f305f2b34f7b162b9753a2dd4
#️⃣ blake2-256                  : 0x4edf1ee360cdd98a5a81789aa9cfa4823590a68fa9662590c62d0c1cea357e57
🗳️ proposal (authorizeUpgrade) : 0x159bead799e2c5abbb5154e96d8e554addd9c0ec38345de3420445da35692609

Moonbeam

✨ spec_version                : 1603
🏋 size                        : 1253773
#️⃣ sha256                      : 0x6af8a3471aa2e1977974d499e73a0292e9207466ab2ab33d7c889a64c0bf0802
#️⃣ blake2-256                  : 0xc88b60741a1690b0469caa050c7a114aa348ab86226cdb5e8be11b22b524b419
🗳️ proposal (authorizeUpgrade) : 0xa3e02dd23d05b65bf93800f786f03a128ef62830c19471163395b4f3ec0e6dc8

Build information

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

Changes

  • Restore mandatory flag for nimbus kick off authorship validation (#1569)
  • Enable XCM migrations for moonbeam runtime (#1567)
  • Prevent DELEGATECALL for custom precompile (#1551)
  • Reduced minimum staking delegation in Moonbase (#1547)

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/runtime-1600...runtime-1603
Substrate: https://github.com/paritytech/substrate/compare/563f4820...563f4820
Polkadot: https://github.com/paritytech/polkadot/compare/568169b4...568169b4
Cumulus: https://github.com/paritytech/cumulus/compare/4bbedb30...4bbedb30
Frontier: https://github.com/purestake/frontier/compare/652abf16...652abf16

moonbeam - Runtime 1602

Published by github-actions[bot] over 2 years ago

This runtime is a hotfix on top of runtime 1601, to enable XCM migrations on moonbeam runtime.

Runtimes

Moonbase

✨ spec_version                : 1602
🏋 size                        : 1266137
#️⃣ sha256                      : 0x8f587f26f34437eb4fbaa1547c242e8965e60294876b8341c948673798b10106
#️⃣ blake2-256                  : 0x4be3881eee859b0355afe0f58c538a2a453549b5771bc586c07c17a00cd4082c
🗳️ proposal (authorizeUpgrade) : 0x86a4d4b0281becb6f95f1897b9c4dd8977442ac7d448def301295afc4a80505f

Moonriver

✨ spec_version                : 1602
🏋 size                        : 1253926
#️⃣ sha256                      : 0x9ee41dd91de493947ea63732cd99c9c9d18410debf2b5cce78abd21cccafd9ef
#️⃣ blake2-256                  : 0x87e527d5e4278529455fe2365ba7f7e8649c7c2c5c2a5caf62970d8f3ccdaba0
🗳️ proposal (authorizeUpgrade) : 0xfefee62833e11f8fb5319f8aee6b681865a3e6d079426868bb36f63fcbfebfca

Moonbeam

✨ spec_version                : 1602
🏋 size                        : 1252513
#️⃣ sha256                      : 0x9bac475c5e073144a5531e07855a1b9f0140d0104e39ad012a1b7cd5c99bfa36
#️⃣ blake2-256                  : 0x0a735a1339cb27809dc4d42e28f9a881a1c44c9571fc02c72ca319d65564f0df
🗳️ proposal (authorizeUpgrade) : 0x456ea9f5e1dbf1dc241fe5342e7e38e0f384d9ceba201daee075c3e35e0ee9b0

Build information

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

Changes

  • enable xcm migrations for moonbeam (#1567)

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/runtime-1601...runtime-1602
Substrate: https://github.com/paritytech/substrate/compare/563f4820...563f4820
Polkadot: https://github.com/paritytech/polkadot/compare/568169b4...568169b4
Cumulus: https://github.com/paritytech/cumulus/compare/4bbedb30...4bbedb30
Frontier: https://github.com/purestake/frontier/compare/652abf16...652abf16

moonbeam - Runtime 1601

Published by github-actions[bot] over 2 years ago

Breaking Changes

⚠️ Treasury deposit events

With the better support for Ethereum priority fees, there can be 2 treasury.Deposit substrate event per transaction (one corresponding to 20% of the gas used, and one corresponding to 20% of the priority fees being consumed)

⚠️ [Staking] Delegator leaving workflow is changing

Scheduling and executing delegator leave will soon be deprecated and are now simply performing a batch of schedule/execute revoke on the delegator's delegations.
This implies the following changes:

Obsolete DelegatorStatus::Leaving status

Before:

await api.tx.parachainStaking.schedule_leave_delegators("alith");
(await api.query.parachainStaking.delegatorState("alith")).status == "Leaving";

After ("Leaving" is no more an option)

await api.tx.parachainStaking.schedule_leave_delegators("alith");
(await api.query.parachainStaking.delegatorState("alith")).status == "Active";

Alith will have a revoke request in each of her delegations:

await api.query.parachainStaking.delegationScheduledRequests("charleth");
[...{delegator: "alith", when_executable: 2, action: { revoke: 100 } }]

await api.query.parachainStaking.delegationScheduledRequests("dorothy");
[...{delegator: "alith", when_executable: 2, action: { revoke: 25 } }]

cancel_leave_delegators will not be executable if a single Revoke has been manually cancelled.

Before

await api.tx.parachainStaking.schedule_leave_delegators("alith");               // status: Leaving
await api.tx.parachainStaking.cancel_delegation_request("charleth", "alith");   // cancels the scheduled Revoke request
await api.tx.parachainStaking.cancel_leave_delegators("alith");                 // status: Leaving
// OK

After

await api.tx.parachainStaking.schedule_leave_delegators("alith");               // status: Active, Revoke scheduled on all delegations
await api.tx.parachainStaking.cancel_delegation_request("charleth", "alith");   // cancels the scheduled Revoke request
await api.tx.parachainStaking.cancel_leave_delegators("alith");                 // status: Active
// ERR! DelegatorNotLeaving

Also cancel_leave_delegators now executes if all delegations have a scheduled Revoke (previously if status: Leaving).

execute_leave_delegators will not be executable if a single Revoke has been manually cancelled.

Before

await api.tx.parachainStaking.schedule_leave_delegators("alith");               // status: Leaving
await api.tx.parachainStaking.cancel_delegation_request("charleth", "alith");   // cancels the scheduled Revoke request
await api.tx.parachainStaking.execute_leave_delegators("alith");                // OK

After

await api.tx.parachainStaking.schedule_leave_delegators("alith");               // status: Active, Revoke scheduled on all delegations
await api.tx.parachainStaking.cancel_delegation_request("charleth", "alith");   // cancels the scheduled Revoke request
await api.tx.parachainStaking.execute_leave_delegators("alith");                // ERR! DelegatorNotLeaving

Also, execute_leave_delegators now executes if all delegations have a scheduled Revoke (previously if status: Leaving).

Delegator now allowed to delegate even if all delegations have a pending Revoke.

Before

await api.tx.parachainStaking.schedule_leave_delegators("alith");               // status: Leaving
await api.tx.parachainStaking.delegate("charleth", "alith");                    // ERR! CannotDelegateIfLeaving

After

await api.tx.parachainStaking.schedule_leave_delegators("alith");               // status: Active, Revoke scheduled on all delegations
await api.tx.parachainStaking.delegate("charleth", "alith");                    // OK

Delegator may now not schedule Decrease and Revoke requests while the existing Revoke is pending.

Before

await api.tx.parachainStaking.schedule_leave_delegators("alith");                 // status: Leaving
await api.tx.parachainStaking.schedule_delegator_bond_less("charleth", "alith");  // OK

After

await api.tx.parachainStaking.schedule_leave_delegators("alith");                 // status: Active, Revoke scheduled on all delegations
await api.tx.parachainStaking.schedule_delegator_bond_less("charleth", "alith");  // ERR! PendingDelegationRequestAlreadyExists

⚠️ [AuthorMapping] Introducing better key management

In order to support the new key that will be needed for the Randomness Pallet (Runtime 1700), the AuthorMapping pallet has been refactored to introduce additional keys.

addAssociation, updateAssociation and clearAssociation DEPRECATED

Those 3 extrinsics (and their equivalent Ethereum Precompile functions) are now deprecated. They are replaced by setKeys and removeKeys which are described later.
Those extrinsics are still compatible with the new keys set and will copy the nimbus key as the rand key so you will be able to use the randomness pallet even when using those extrinsics.

New set of keys

It will soon be required to set 2 keys for producing blocks, 1 for Nimbus (producing blocks) and 1 for Rand (producing Randomness). More information of the Rand key will come with the next runtime when the Randomness Pallet gets added.

It is currently possible to set those 2 keys manually through the moonbeam key insert command, or by rotating your keys:

> curl -H 'Content-type: application/json' -d '{"jsonrpc":"2.0","id":3,"method":"author_rotateKeys","params":[]}' http://localhost:9933

{"jsonrpc":"2.0","result":"0xf89303fb7d3a99324ad23db64ec8e64e003053222fd2eb417b28a7253df49e29b05a42189e2818bed19c3f7de6e8860894edd3d732f3fae50598a8e813dd6271","id":3}

The result of the key rotation is the size of 2 keys. The nimbus and rand key gets concatenated so you can pass them directly to authorMapping.setKeys

new authorMapping.setKeys

You can now submit the extrinsic authorMapping.setKeys (or the set_keys method from the author mapping precompile) providing the concatenated public keys for your nimbus and rand keys. As descrived before, it is the same format as the one returned by the author_rotateKeys RPC call.

Ex:

const keys = [
  "0x1111111111111111111111111111111111111111111111111111111111111111", // Nimbus
  "0x2222222222222222222222222222222222222222222222222222222222222222", // Rand
];
const concatenatedKeys = `0x${keys.map((key) => key.slice(2)).join("")}`;
await api.tx.authorMapping.setKeys(concatenatedKeys).signAndSend(alith);

It is also used to replace your existing keys

new authorMapping.removeKeys

This extrinsic authorMapping.removeKeys can be used to remove the mapping between your account and your keys.

Ex:

await polkadotApi.tx.authorMapping.removeKeys().signAndSend(alith);

authorMapping.registerKeys is now REMOVED

This is being replaced directly by authorMapping.setKeys

Changes event names to ensure consistent naming

AuthorRegistered -> KeysRegistered
AuthorRotated -> KeysRotated
AuthorDeregistered -> KeysRemoved

Limit of 1 set of keys per Account

It is not possible anymore to have multiple set of keys per account.

⚠️ The migration will take the first NimbusId owned by a given AccountId to insert into NimbusLookup: AccountId => Option. For any additional NimbusId owned by that AccountId, the migration clears the association and returns (unreserves) the deposit.

XCM

  • XcmTransactor->set_transact_info now accepts an additional optional value called transact_extra_weight_signed
  • TransactInfoWithWeightLimit storage item now does not return fee_per_second, as this value exists in a distinct storage item called DestinationAssetFeePerSecond. Precompiles that were accessing this storage item have been adapted so that the change is non-breaking, by reading from both storage item

Runtimes

Moonbase

✨ spec_version                : 1601
🏋 size                        : 1266239
#️⃣ sha256                      : 0x8e62abf4918df56773df2a3ca2d8649ea671c25469ea18726d96375ef859ff19
#️⃣ blake2-256                  : 0xff6caebdd4e7306c5b2f2f02ffbdb6ef5e22af403ddda77eacb66f853270ecb0
🗳️ proposal (authorizeUpgrade) : 0x901cc99b6f70109d7e322ea5f0e4f155f151439e9f353887bb6afee64b59b08b

Moonriver

✨ spec_version                : 1601
🏋 size                        : 1253944
#️⃣ sha256                      : 0xf54f8e0563bc11ce3b14e503c6381c71f7b99db52c3603d931ee031b3344b15a
#️⃣ blake2-256                  : 0xe5fc55a640d6b855b1953a0b2095a289840a8cfea1e270b644dfd2e9f01cc2f6
🗳️ proposal (authorizeUpgrade) : 0xf11f6feaed274d5ded52f921b4f25abc3ea123404e486736328499b9a8d6e9c4

Moonbeam

✨ spec_version                : 1601
🏋 size                        : 1254040
#️⃣ sha256                      : 0x0eee029d8d6429b6ea14c6ae5641577a747d83ac4e3e7b919cfb02589093cda9
#️⃣ blake2-256                  : 0xd099fc84c9bb333e4f34e3a07b148e360c22189bfe65c7a8ec7ac56e66546d65
🗳️ proposal (authorizeUpgrade) : 0xe468e0cecf773aed798c310467d3aa0f9e51c5c820b5b38125c0095d5e0be08a

Build information

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

Changes

  • Bump runtime to 1600 (#1447)
  • EIP2612: fix timestamp units (#1451)
  • Update to frontier v0.9.18 (#1464)
  • Remove scheduled delegation requests when either collator or delegator are leaving (#1463)
  • Enable local tokens (#GLMR and local assets) transactors in moonbeam (#1472)
  • Update delegate new error message (#1258)
  • Substrate/Polkadot/Cumulus v0.9.19 Dependency Update (#1438)
    • Add ProxyRemoved event (paritytech/substrate#11085)
    • Add has_identity (paritytech/substrate#11197)
  • More standard EIP712 name for XC20 assets (#1488)
  • Add VRF key to session keys type (#1480)
  • Skip minting rewards event if amount is 0 (#1512)
  • Switch to exhaustive selector match in staking precompiles (#1521)
  • Build runtimes without feature on-chain-release-build (#1513)
  • Fix local asset id by encoding just once (#1523)
  • Use rounded up computation when calculating fee (#1511)
  • Fix Orbiter bug when adding an orbiter just after removing another (#1527)
  • Make author_mapping::set_keys take 1 input (#1525)
  • Substrate/Polkadot/Cumulus v0.9.20 dependency update (#1489)
  • Introduce exponential length fee for substrate-based fees (#1496)
  • Fix bug where block collator received priority fees fix (#1528)
  • Enable Orbiters for all runtimes (#1530)
  • Fix rewards being distributed for leaving delegators (#1515)
  • Add PrecompileHandle trait (subcall support) + precompile testing utils (#1487)
  • Add Batch precompile (#1498)
  • Enable signed transact message in XCM transactor (#1449)
  • Cleanup 1500 migrations (#1532)
  • Fix author mapping set_keys to take input Vec (#1535)
  • Prevent bond_more when revoke is pending (#1545)
  • Reduced minimum staking delegation in Moonbase to 1 DEV (#1547)
  • Prevent DELEGATECALL on custom EVM Precompiles (#1551)

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/runtime-1504...runtime-1601
Substrate: https://github.com/purestake/substrate/compare/fc3fd073...paritytech:563f4820
Polkadot: https://github.com/purestake/polkadot/compare/f0dc95a6...paritytech:568169b4
Cumulus: https://github.com/purestake/cumulus/compare/76cf464e...paritytech:4bbedb30
Frontier: https://github.com/purestake/frontier/compare/3d58fed1...652abf16

moonbeam - Runtime 1504

Published by github-actions[bot] over 2 years ago

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: https://github.com/PureStake/moonbeam/compare/runtime-1503...runtime-1504
Substrate: https://github.com/purestake/substrate/compare/fc3fd073...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/f0dc95a6...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/76cf464e...76cf464e
Frontier: https://github.com/purestake/frontier/compare/3d58fed1...3d58fed1

moonbeam - Runtime 1503

Published by github-actions[bot] over 2 years ago

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: https://github.com/PureStake/moonbeam/compare/runtime-1502...runtime-1503
Substrate: https://github.com/purestake/substrate/compare/fc3fd073...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/f0dc95a6...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/76cf464e...76cf464e
Frontier: https://github.com/purestake/frontier/compare/3d58fed1...3d58fed1

moonbeam - Runtime 1502

Published by github-actions[bot] over 2 years ago

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 (https://github.com/PureStake/frontier/pull/61)
  • Enable local tokens (GLMR and local assets) transactors in moonbeam (#1472)

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/runtime-1501...runtime-1502
Substrate: https://github.com/purestake/substrate/compare/fc3fd073...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/f0dc95a6...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/76cf464e...76cf464e
Frontier: https://github.com/purestake/frontier/compare/79ed3f29...3d58fed1

moonbeam - Moonbeam v0.23.0

Published by github-actions[bot] over 2 years ago

Changes

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

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/v0.22.1...v0.23.0
Substrate: https://github.com/purestake/substrate/compare/fc3fd073...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/f0dc95a6...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/76cf464e...76cf464e
Frontier: https://github.com/purestake/frontier/compare/79ed3f29...3d58fed1

moonbeam - Runtime 1501

Published by github-actions[bot] over 2 years ago

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: https://github.com/PureStake/moonbeam/compare/runtime-1500...runtime-1501
Substrate: https://github.com/purestake/substrate/compare/fc3fd073...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/f0dc95a6...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/76cf464e...76cf464e
Frontier: https://github.com/purestake/frontier/compare/79ed3f29...79ed3f29

moonbeam - Runtime 1500

Published by github-actions[bot] over 2 years ago

⚠️ 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) (https://github.com/PureStake/nimbus/pull/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: https://github.com/PureStake/moonbeam/compare/runtime-1401...runtime-1500
Substrate: https://github.com/purestake/substrate/compare/fc3fd073...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/f0dc95a6...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/76cf464e...76cf464e
Frontier: https://github.com/purestake/frontier/compare/8574920b...79ed3f29

moonbeam - Moonbeam v0.22.1

Published by github-actions[bot] over 2 years ago

Priority

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

Changes

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/v0.22.0...v0.22.1
Substrate: https://github.com/purestake/substrate/compare/fc3fd073...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/f0dc95a6...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/76cf464e...76cf464e
Frontier: https://github.com/purestake/frontier/compare/8574920b...79ed3f29

moonbeam - Runtime 1401

Published by github-actions[bot] over 2 years ago

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: https://github.com/PureStake/moonbeam/compare/runtime-1400...runtime-1401
Substrate: https://github.com/purestake/substrate/compare/fc3fd073...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/f0dc95a6...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/76cf464e...76cf464e
Frontier: https://github.com/purestake/frontier/compare/8574920b...8574920b

moonbeam - Moonbeam v0.22.0

Published by github-actions[bot] over 2 years ago

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: https://github.com/PureStake/moonbeam/compare/v0.21.1...v0.22.0
Substrate: https://github.com/purestake/substrate/compare/c84f2004...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/66cb46bb...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/b43fcfff...76cf464e
Frontier: https://github.com/purestake/frontier/compare/e37f7d97...8574920b

moonbeam - Runtime 1400

Published by github-actions[bot] over 2 years ago

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: https://github.com/PureStake/moonbeam/compare/runtime-1300...runtime-1400
Substrate: https://github.com/purestake/substrate/compare/570b21a1...fc3fd073
Polkadot: https://github.com/purestake/polkadot/compare/c028a342...f0dc95a6
Cumulus: https://github.com/purestake/cumulus/compare/c92f0abb...76cf464e
Frontier: https://github.com/purestake/frontier/compare/a74529a0...8574920b

moonbeam - Moonbeam v0.21.1

Published by github-actions[bot] over 2 years ago

Priority

  • RPC Nodes: High - prevents eth_feeHistory request to crash node
  • Collators: Low

Breaking change

  • Metrics in prometheus are new using moonbeam_ prefix (see #1329).
    (This is likely to change in the next release to remove addition substrate_ prefix)

Changes

  • Fix wrong "to" value in tracing for DelegateCall (#1299)
  • Remove all unwrap() in production code (#1327)
  • use 'moonbeam' prefix when emitting prometheus metrics (#1329)
  • Pin frontier e37f7d9 (fix fee history unwrap) (#1341)
  • Update client version to v0.21.1 (#1346)

Dependency changes

Moonbeam: https://github.com/PureStake/moonbeam/compare/v0.21.0...v0.21.1
Substrate: https://github.com/purestake/substrate/compare/c84f2004...c84f2004
Polkadot: https://github.com/purestake/polkadot/compare/66cb46bb...66cb46bb
Cumulus: https://github.com/purestake/cumulus/compare/b43fcfff...b43fcfff
Frontier: https://github.com/purestake/frontier/compare/2be428cd...e37f7d97