github zeitgeistpm/zeitgeist v0.3.10

latest releases: v0.5.5, v0.5.4, v0.5.3...
15 months ago

Release Notes

Upgrade Priority: Medium (timely upgrade recommended)

Highlights:

  • Implement foreign asset transaction fees
  • Add prediction market and swaps proxies
  • Integrate --relay-chain-rpc-url flag

Implementation of foreign asset transactions
This release introduces the ability to pay transaction fees using foreign assets, such as DOT. This will empower users to interact with certain components of the protocol, such as liquidity provision and trading, even if they only hold foreign tokens. For users who hold multiple tokens, it is now possible to select one dedicated token to be used specifically for fee payment (note: token selection happens off-chain).

Add prediction market and swaps proxies
Accounts are now capable of delegating certain interaction privileges within the core prediction markets protocol to other accounts by utilizing proxies. For instance: One account can allow another account to create markets, report outcomes, dispute outcomes, trade, manage existing liquidity and add new liquidity on their behalf. Any combination of these privileges is possible.

Integrate --relay-chain-rpc-url flag
From this release onward, node operators can utilize the relaychain flag --relay-chain-rpc-url to specify an URL to a relaychain node that is used during block production. By default, every Zeitgeist node internally spawns a relaychain node to synchronize with the relaychain. Using --relay-chain-rpc-url, considerable hardware costs can be saved, especially for node providers of multiple parachain nodes.

The swaps pallet now exposes an RPC that returns all asset prices of a specific swap pool in one single request.
Most of the remaining changes in this release deal with the automation of several aspects of the collaborative work on GitHub.

Battery Station Runtime

spec_version: 47
transaction_version: 22

🏋️ Runtime size:             1.186 MB (1,244,128 bytes) 
🗜 Compressed:               Yes, 74.82%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             zeitgeist-47 (zeitgeist-1.tx22.au1)
🗳️ system.setCode hash:      0x1f11e6487a50b34037eae0cf4bb4384caae6446efc4e5bf2c0ea8ed62b4ddd37
🗳️ authorizeUpgrade hash:    0x456da87d171da5836c80e4f56bcc80b2db3f508061550ec319061bd5ed70c52e
🗳️ Blake2-256 hash:          0xe7b068e6ae29960422f22a957b00bd6bdb063d3a8763e0ef6cec1a62f7f7eb4a
📦 IPFS:                     https://www.ipfs.io/ipfs/QmeiWd3DcfsdR9ke8fHWn5TaAn456MdZR3ARRyaYLYNNFw

Srtool output (based on srtool-cli): SRTOOL_TAG="1.66.1" srtool build --build-opts "\-\-features=parachain,with-global-disputes" --package battery-station-runtime --profile production --root --runtime-dir ./runtime/battery-station

Srtool

✨ Your Substrate WASM Runtime is ready! ✨

Summary generated with srtool v0.9.25 using the docker image paritytech/srtool:1.66.1: Package : battery-station-runtime v0.3.10 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.66.1 (90743e729 2023-01-10) Time : 2023-07-21T15:58:14Z
== Compact Version : zeitgeist-47 (zeitgeist-1.tx22.au1) Metadata : V14 Size : 4.71 MB (4940976 bytes) setCode : 0x5803dfac96d15d21272758345451e1ead6324de254683e7ae6f857afc69078b3 authorizeUpgrade : 0x847f16fe12de667482b41f1fea16243d51cffc2b31459688c840c8d5d528f1f0 IPFS : QmPjD22qKLnksYjYiPBDwuXXQTY4M9LjycFadzZp5ZXMgq BLAKE2_256 : 0x1f1a2eec42deec0aa19aba6236b7b8a079540e2d94b4b4807126f8d272e3b810 Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm
== Compressed Version : zeitgeist-47 (zeitgeist-1.tx22.au1) Metadata : V14 Size : 1.19 MB (1244128 bytes) Compression : 74.83% setCode : 0x1c60fdea6d889ffb8a6231f72672ee51bc9b1eb747db47306d1991aeb24fd8c8 authorizeUpgrade : 0xeeb0754a20ed722f620462c6aedf5f927f037b7453ffb5dc4ad316551e1f5bda IPFS : QmeiWd3DcfsdR9ke8fHWn5TaAn456MdZR3ARRyaYLYNNFw BLAKE2_256 : 0xe7b068e6ae29960422f22a957b00bd6bdb063d3a8763e0ef6cec1a62f7f7eb4a Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm

Zeitgeist Runtime

spec_version: 47
transaction_version: 22

🏋️ Runtime size:             1.170 MB (1,226,564 bytes) 
🗜 Compressed:               Yes, 74.78%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             zeitgeist-47 (zeitgeist-1.tx22.au1)
🗳️ system.setCode hash:      0x7fe3362bbd9da9153b1754b1fbe4a6a4d6ae06a1574b2cb710d0d0fad724b0f4
🗳️ authorizeUpgrade hash:    0x14d32c7d390614328db5945fedd69cdffcf3269ee276c900daf229cef726111b
🗳️ Blake2-256 hash:          0x61c1af5548b9f10902e39bbfccc42deb3b5c4f62e348e5c6f42679df7f35f14e
📦 IPFS:                     https://www.ipfs.io/ipfs/QmfDwUNLznBqAdxPdtQ3Cxkj8JHYBv8r96ypPG1WjLBoCi

Srtool output (based on srtool-cli): SRTOOL_TAG="1.66.1" srtool build --build-opts "\-\-features=parachain" --package zeitgeist-runtime --profile production --root --runtime-dir ./runtime/zeitgeist

Srtool

✨ Your Substrate WASM Runtime is ready! ✨

Summary generated with srtool v0.9.25 using the docker image paritytech/srtool:1.66.1: Package : zeitgeist-runtime v0.3.10 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.66.1 (90743e729 2023-01-10) Time : 2023-07-21T16:12:14Z
== Compact Version : zeitgeist-47 (zeitgeist-1.tx22.au1) Metadata : V14 Size : 4.64 MB (4863676 bytes) setCode : 0x5ddf633d39d9e1b54097f19ddedb0179e0af1f3cfe1ea560ccfe6ede31426da8 authorizeUpgrade : 0xafdeafeb3527d527709448d57f7880d4c5cffad4eb04821c905994540e1f6082 IPFS : QmRvq7wnUydrvQZgWgLwnj93Kif29NHuaMUkZic1TRk7Sh BLAKE2_256 : 0xcaa3087e15a381b1de304fc8814f662ea710fdf51909882802d50c4a445de828 Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm
== Compressed Version : zeitgeist-47 (zeitgeist-1.tx22.au1) Metadata : V14 Size : 1.17 MB (1226564 bytes) Compression : 74.79% setCode : 0xdc8c91daf1e292e14edbb3668f12fd1562eab7020a4fdd361ed0f829ab3eaa5f authorizeUpgrade : 0x269c6937ca9b76dee7ba843a3b64dab5171709ac012c9598828a45e38454c597 IPFS : QmfDwUNLznBqAdxPdtQ3Cxkj8JHYBv8r96ypPG1WjLBoCi BLAKE2_256 : 0x61c1af5548b9f10902e39bbfccc42deb3b5c4f62e348e5c6f42679df7f35f14e Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

Changes

  • Update weights (#1048)
  • Update versions (#1047)
  • Don't notify codeowners when only weight files or Cargo.toml are changed (#1044)
  • Run workflows required for merges when label s:review-needed is set (#1043)
  • Adjust mergify status checks and label management (#1042)
  • Improve license checker error message (#1039)
  • Add prediction market and swaps proxies (#1038)
  • Integrate --relay-chain-rpc-url flag (#1037)
  • Add dispatch call indices (#1036)
  • Don't panic on spec_version mismatch during try-runtime (#1035)
  • Remove old migrations (#1034)
  • Release v0.3.9 (#1033)
  • Update weight templates copyright (#1027)
  • Implement foreign asset transaction fees (#1022)
  • RPC for querying prices for all assets of given pool_id. (#971)
  • Zeitgeist Client Update Automation (#944)
  • Add verbose feature in script/tests/fuzz.sh (#910)
  • Add simple mergify config. It uses branch protection rules from github configuration. (#777)

Don't miss a new zeitgeist release

NewReleases is sending notifications on new releases.