Skip to content

Releases: zeitgeistpm/zeitgeist

v0.3.11

07 Aug 11:12
aaab527
Compare
Choose a tag to compare

Release Notes

Upgrade Priority: Low (upgrade at your own convenience)

Highlights:

  • Add core support for any foreign token
  • Enable runtime calls for smart contracts (Battery Station only)
  • Upgrade codebase to polkadot-v0.9.37

The primary goal of this streamlined release is to upgrade all components to polkadot-v0.9.37. As a result, runtime calls are now available as an unstable feature in pallet-contracts.

This release also enables the experimental feature on Battery Station that allows developers to write smart contracts that directly interact with the prediction market logic.

Further to these updates, support within the core protocol for any foreign token was added, thus allowing the utilization of any (whitelisted) asset in prediction markets, which paves the way to onboard stablecoins within markets.

Finally, optimizations in automation as well as some minor bug fixes were added.

Battery Station Runtime

spec_version: 48
transaction_version: 23

🏋️ Runtime size:             1.398 MB (1,465,715 bytes) 
🗜 Compressed:               Yes, 75.59%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             zeitgeist-48 (zeitgeist-1.tx23.au1)
🗳️ system.setCode hash:      0x4d010a35f584dfdc1c9f4d74613b13d1c48b9702ee1dab214d8f339f475e22f0
🗳️ authorizeUpgrade hash:    0xb19c6882e02ef93600ff9ca7ab25f87e0b85a441aa9a1ffb783729d4779b0f95
🗳️ Blake2-256 hash:          0xfe1aab96ec2a438d6355f08b2fc24b9af2e68b2fa937f7980f971e0f5ad92ef0
📦 IPFS:                     https://www.ipfs.io/ipfs/QmV2ZrSzTje6PHZCxQv58HWSJ8tBEGWf7M7h2X2sexLiRZ

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.11
GIT commit :
GIT tag :
GIT branch :
Rustc : rustc 1.66.1 (90743e729 2023-01-10)
Time : 2023-08-07T10:45:40Z


== Compact
Version : zeitgeist-48 (zeitgeist-1.tx23.au1)
Metadata : V14
Size : 5.73 MB (6003398 bytes)
setCode : 0x90055eba8190c834e2f1e4478988172769b4f687f4aa294e5d2eb033bde71d1e
authorizeUpgrade : 0x02a701d02c3e546d1e91acdb1c78f6913f7ad75e1a3349565107167b49972c28
IPFS : QmPot5dARb22KRt4F34HbkUuzrChvpQC6FTBdnM12SNVFL
BLAKE2_256 : 0x9b730a1457e80e635476316cf7e44df6c8ff1795f8238896b695c679766b2169
Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm


== Compressed
Version : zeitgeist-48 (zeitgeist-1.tx23.au1)
Metadata : V14
Size : 1.40 MB (1465715 bytes)
Compression : 75.59%
setCode : 0x67382447060e3a6c54c3932bc1896b920f029db2d99f06be1696fdc688e69ff1
authorizeUpgrade : 0xeb48e5406ce61b9f957b128bc8381b55604ff857b20c9fd77a3c4a3228881e28
IPFS : QmV2ZrSzTje6PHZCxQv58HWSJ8tBEGWf7M7h2X2sexLiRZ
BLAKE2_256 : 0xfe1aab96ec2a438d6355f08b2fc24b9af2e68b2fa937f7980f971e0f5ad92ef0
Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm

Zeitgeist Runtime

spec_version: 48
transaction_version: 23

🏋️ Runtime size:             1.374 MB (1,440,227 bytes) 
🗜 Compressed:               Yes, 75.62%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             zeitgeist-48 (zeitgeist-1.tx23.au1)
🗳️ system.setCode hash:      0x530d1f8787104b72eab80c672124c7bbca7b63494987b1313f07ca4ab4cf35b9
🗳️ authorizeUpgrade hash:    0x820095dfeb14ef89fe8cbf2ee26c2a2de36b7a65c840d7e74596a5986747d93b
🗳️ Blake2-256 hash:          0xab5fa240a4b8e00647f02857ffc51ebf8e4f1e63ac1f40db74d0e2844eb3f274
📦 IPFS:                     https://www.ipfs.io/ipfs/QmaoYxrBtiYUUML6Z3Bo7YsaPb1W86nvGKdbgZGGUJ9Vps

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.11
GIT commit :
GIT tag :
GIT branch :
Rustc : rustc 1.66.1 (90743e729 2023-01-10)
Time : 2023-08-07T11:03:12Z


== Compact
Version : zeitgeist-48 (zeitgeist-1.tx23.au1)
Metadata : V14
Size : 5.63 MB (5906609 bytes)
setCode : 0x9659bcd0119f5d85bcb25aed55edebab4338b8019f87799e4588a5018a8f688e
authorizeUpgrade : 0x7123e595c4550235e87ea0d0ca20a7ac30bf5f80d178972b85c84b5cb0b8fbc1
IPFS : QmQX3yBmXNR4xDaNZRWry6EKtGZoxEuXe8Pb8Md8Ex5FY5
BLAKE2_256 : 0xbfc2fee72028cec48d0e363cbc805799b84ea7365e6e1211102fd80bc9fb0d6c
Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm


== Compressed
Version : zeitgeist-48 (zeitgeist-1.tx23.au1)
Metadata : V14
Size : 1.37 MB (1440227 bytes)
Compression : 75.62%
setCode : 0xb546677ed47a07d9298f7c6247028d7cf67321d9e566c4d569162d1844300b37
authorizeUpgrade : 0x1415ede945543bf834bd77c3b2795963834bf98cd04cffe99eb5272537971fbb
IPFS : QmaoYxrBtiYUUML6Z3Bo7YsaPb1W86nvGKdbgZGGUJ9Vps
BLAKE2_256 : 0xab5fa240a4b8e00647f02857ffc51ebf8e4f1e63ac1f40db74d0e2844eb3f274
Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

Changes

  • Fix fee tests (#1070 )
  • Update weights (#1068)
  • Fix parachain-staking benchmarks (#1066)
  • Fix try-runtime makefile targets (#1065)
  • Update versions (#1063)
  • Fix workflow runs on main (#1061)
  • Maintain dependencies in workspace (#1060)
  • Upgrade dependencies (#1059)
  • Use u32 asset id for foreign tx fee payment (#1058)
  • Foreign tx fee improvements (#1056)
  • Add get_fee_factor_test (#1053)
  • Client auto update (#1052)
  • Merge release branch release-v0.3.10 into main (#1051)
  • Run try-runtime also on RC tags (#1050)
  • Support all fractional places (#1049)
  • Enable certain dispatchable calls in smart contracts (#1041)
  • Add Hadolint and Trivy Checks (#557)

v0.3.10

24 Jul 09:02
1cfce60
Compare
Choose a tag to compare

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)

v0.3.9

23 Jun 19:11
a322411
Compare
Choose a tag to compare

Release Notes

Upgrade Priority: Medium (timely upgrade recommended)

Highlights:

  • Add smart contract compatibility
  • Finalize ZIP-0 (dispute system overhaul)
  • Fix numerous bugs
  • Improve usability

From this release onward, Zeitgeist is a hybrid chain by providing developers the ability to deploy code that executes within the consensus system in the form of smart contracts. Currently smart contracts cannot interact with the core logic such as prediction markets, but only with logic that handles the transferal of native tokens (this was done for security reasons). This restriction is planned to be lifted in the future. More information at https://zeitgeist.subsquare.io/post/8.

A major improvement to the existing dispute system mechanism has been finalized. More information at https://zeitgeist.subsquare.io/post/4.

Numerous bug fixes have been implemented, such as:

  • Handle cases where token dust or slashed tokens were not moved into the treasury.
  • Rename pallet_multisig instance within the runtime - This now unlocks multisig features on Polkadot apps.
  • Use proper inflation config and eligibility ratio during genesis used for staking rewards.
  • Reserve outcome report bond when someone other than the oracle reports an outcome (now the reporter risks losing something).
  • Repair get_spot_price rpc.
  • Store proper market end in database when a market is forcefully closed.

Usability also has been improved by:

  • Setting minimum liquidity per pool, denominated in any allowed base asset to 0.01 (previously it was 100)
  • Use more reasonable voting ratios in advisory committee motions.
  • Decrease the storage deposit *- the total number of tokens in relation to market capitalization now determines the storage fee; the same ratio as on Polkadot is used.

The code base was upgraded to polkadot-v0.9.32, which introduces numerous improvements and new features like the operation of Zeitgeist nodes using a remote relaychain node.

Finally, during the development of this release, a lot of energy was invested into the engineering of a decentralized and incentivized dispute resolution mechanism named "Court". It is currently undergoing a final review.

Battery Station Runtime

spec_version: 46
transaction_version: 21

🏋️ Runtime size:             1.200 MB (1,258,468 bytes) 
🗜 Compressed:               Yes, 74.73%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             zeitgeist-46 (zeitgeist-1.tx21.au1)
🗳️ system.setCode hash:      0x9552d51f7120f58aa0f24a3a68147c5670fab860951b896313136d32822b6668
🗳️ authorizeUpgrade hash:    0xa212233f182328c3b38a27c8ca212e38de71baf06aa90cad17315764cf6092a6
🗳️ Blake2-256 hash:          0xa2520affcc8c83bf673c86ed06a112ae321da10b6a591bb5413d599db9efe0d0
📦 IPFS:                     https://www.ipfs.io/ipfs/QmPmC1gmKaSbbF35ejhGjYn78dAKprDXSEiehB7kYM4hHV

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.9 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.66.1 (90743e729 2023-01-10) Time : 2023-06-23T18:57:31Z

== Compact Version : zeitgeist-46 (zeitgeist-1.tx21.au1) Metadata : V14 Size : 4.75 MB (4980570 bytes) setCode : 0x120e17c6d437005b71b51079486fcb5175e1420f6cd35281fb4677c9b0644be7 authorizeUpgrade : 0x0e22f86958a8be662c52c3a496a21fdf18d2b70feb8cfbb051b72e1cefa117d4 IPFS : Qmcy62xSMk1AJ6nESs5vWo2Fij2ix9n2jE1oLW1Keyw335 BLAKE2_256 : 0xcc95d822a5792e12623ef92e570db3e139a46aebb0e759157a2896aa9eaf6478 Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm

== Compressed Version : zeitgeist-46 (zeitgeist-1.tx21.au1) Metadata : V14 Size : 1.20 MB (1258468 bytes) Compression : 74.74% setCode : 0x14be76362d522f34ea3dafa338adc53df42204842fe5616aa2519c6af701bda8 authorizeUpgrade : 0x820fbee942729cdf00f76b337f4370c448ea2f9525cf9c82b5546cec609f0c84 IPFS : QmPmC1gmKaSbbF35ejhGjYn78dAKprDXSEiehB7kYM4hHV BLAKE2_256 : 0xa2520affcc8c83bf673c86ed06a112ae321da10b6a591bb5413d599db9efe0d0 Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm

Zeitgeist Runtime

spec_version: 46
transaction_version: 21

🏋️ Runtime size:             1.180 MB (1,237,617 bytes) 
🗜 Compressed:               Yes, 74.76%
✨ Reserved meta:            OK - [6D, 65, 74, 61]
🎁 Metadata version:         V14
🔥 Core version:             zeitgeist-46 (zeitgeist-1.tx21.au1)
🗳️ system.setCode hash:      0xa2bb2cd21c066f18d2754bf395cfb30c47646e275680e3e40d3c5e2eb3ffe8a5
🗳️ authorizeUpgrade hash:    0xef6498e9760cc321b9b49738b15638df1b45985f5e760ad9439c7d0c7c8586c9
🗳️ Blake2-256 hash:          0xcc67cfc0e04f7ee77a4209a3fe33c09e0453f1f6dcea6c6b34e09499cfd3d1e9
📦 IPFS:                     https://www.ipfs.io/ipfs/QmYzamZDWBKNtdZCFfwDMajBhsBwUxRNGFixcQxi2QMzDf

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.9 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.66.1 (90743e729 2023-01-10) Time : 2023-06-23T18:46:19Z

== Compact Version : zeitgeist-46 (zeitgeist-1.tx21.au1) Metadata : V14 Size : 4.68 MB (4902453 bytes) setCode : 0x495680478629e80870e051d0b84117a6eae429c1f388f4a462ce02e847754237 authorizeUpgrade : 0xf4edc876fea22a26f6b70ba145864e93028fcfd5e8f987bd95933b5c523105af IPFS : Qmdbat8HGUceSg9viLfSDJGw3BrvnQUQUuFpfSs3zs2hNe BLAKE2_256 : 0x7eb68a39171911c5e608c7ce6481c8974704cedf24a333b5d87b5846523a1d6c Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm

== Compressed Version : zeitgeist-46 (zeitgeist-1.tx21.au1) Metadata : V14 Size : 1.18 MB (1237617 bytes) Compression : 74.76% setCode : 0xf73917aa0e63573150416d955c6a7e7f8fa77d583991315c50d8297562f343f7 authorizeUpgrade : 0x9d981123f454993b6778fcaa4be876b9659e7a3a6722bac673b8792d0e51f03a IPFS : QmYzamZDWBKNtdZCFfwDMajBhsBwUxRNGFixcQxi2QMzDf BLAKE2_256 : 0xcc67cfc0e04f7ee77a4209a3fe33c09e0453f1f6dcea6c6b34e09499cfd3d1e9 Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

Changes

  • Use updated Rococo bootnodes (#1030)
  • Fix name collision (#1029)
  • Use argument in init.sh to avoid usage of sudo (#1028)
  • Update crate and runtime version (#1026)
  • Update weights (#1025)
  • Separate tests into two jobs: standalone and parachain (#1024)
  • Add style guide (#1021)
  • Add pull request template (#1018)
  • Add code owners (#1017)
  • Fix docs of MarketEdited (#1016)
  • Make MaxMarketLifetime a constant (#1014)
  • Update toolchain (#1013)
  • Include pallet-contracts into the runtime (#1012)
  • Use reasonable storage fee (#1011)
  • Fix pipeline (#1009)
  • Move slashed funds from reject proposals to treasury (#1008)
  • Move ZBS/ZTG dust into the treasury (#1007)
  • Test all features in test scripts (#1006)
  • Transfer token dust to treasury (#1005)
  • Add missing changes to changelog (#1000)
  • Remove MinLiquidity parameter (#999)
  • Use rust default toolchain for ci tests (#993)
  • Move BS to Rococo and Zeitgeist to Polkadot (#992)
  • Adjust Advisory Committee voting ratios (#975)
  • Delete types.json (#973)
  • Upgrade 0932 (#966)
  • Fix name of pallet_multisig (#965)
  • Fix licenses (#964)
  • Add automatic copyright notice verification (#963)
  • Use secret token for CodeCov (#962)
  • Gensis: Use proper inflation config and eligiblity ratio (#960)
  • Remove crowdloan_rewards pallet (#958)
  • Include integration tests in runtime only if test feature is set (#957)
  • Use crystal ball logo in logs (#952)
  • Add CodeCov and Discord badges (#950)
  • [PM] Set market end when admin closes the market (#943)
  • ZIP-0 Part II (#938)
  • Fix order of arguments in get_spot_price (#937)
  • Basic tag.yml script (#931)
  • [PM] Reserve OutsiderBond for report, when the oracle fails to report (#903)

v0.3.8-polkadot-migration (Runtime only)

13 Mar 21:35
0d4cd83
Compare
Choose a tag to compare

Release Notes

This release contains the migration runtimes for Battery Station and Zeitgeist. Those runtimes will stay active for a short period during which the Battery Station parachain is migrated to the Rococo relaychain and the Zeitgeist parachain is migrated to the Polkadot relaychain.

More information at: PR #988

Battery Station Runtime

spec_version: 44
transaction_version: 20

Running subwasm v0.18.0
🏋️  Runtime size:		1.025 MB (1,075,179 bytes)
🗜 Compressed:			Yes, 75.40%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-44 (zeitgeist-1.tx20.au1)
🗳️ system.setCode hash:		0x775501863a50e757f1a04b83f5c10366808aa94f64fd3bc66d0adf74a4b52c47
🗳️ authorizeUpgrade hash:	0x67ac890cb4893e431efae14077db30e8b00b10a3644ae65de16daec283c637dc
#️⃣ Blake2-256 hash:		0xc427dc75023956ad839ce15595bfba85de20c86c979106a29eaf606d3c48d5f7
📦 IPFS:			https://www.ipfs.io/ipfs/QmdZYggi96bfULNzQDJ3rdB4Z1mhUvKUdHY2GnSEEo1Uxh

Srtool output (based on srtool-cli): 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.8 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.66.1 (90743e729 2023-01-10) Time : 2023-03-13T21:08:30Z

== Compact Version : zeitgeist-44 (zeitgeist-1.tx20.au1) Metadata : V14 Size : 4.17 MB (4370332 bytes) setCode : 0x2f99d0f8cd75833f6e7dbec108680d312d678e310414854e546db1c46ca2e395 authorizeUpgrade : 0xc535377463c06331a20a18e7851d15d6dae1f2b2682f783656743d03cccfe0d0 IPFS : QmX1m4SgqqCkdtS8ThvkNCydmG3xvYBwK4vyhAR67tZBNn BLAKE2_256 : 0xb400543f9ef90335e6cebd68833d698c3b98b076ad2053829d117ef12c4e5566 Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm

== Compressed Version : zeitgeist-44 (zeitgeist-1.tx20.au1) Metadata : V14 Size : 1.03 MB (1075179 bytes) Compression : 75.4% setCode : 0x775501863a50e757f1a04b83f5c10366808aa94f64fd3bc66d0adf74a4b52c47 authorizeUpgrade : 0x67ac890cb4893e431efae14077db30e8b00b10a3644ae65de16daec283c637dc IPFS : QmdZYggi96bfULNzQDJ3rdB4Z1mhUvKUdHY2GnSEEo1Uxh BLAKE2_256 : 0xc427dc75023956ad839ce15595bfba85de20c86c979106a29eaf606d3c48d5f7 Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm

Zeitgeist Runtime

spec_version: 44
transaction_version: 20

Running subwasm v0.18.0
🏋️  Runtime size:		1.009 MB (1,057,790 bytes)
🗜 Compressed:			Yes, 75.38%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-44 (zeitgeist-1.tx20.au1)
🗳️ system.setCode hash:		0x507e4763eb0a9098481f6ea69e7c7e29f512263cf479e31dc66df5c7067ae9f8
🗳️ authorizeUpgrade hash:	0xfbc8b121ca5e24e2cfd65db7b0226899dc328abf69291baa9e9fd7dd1b45dc01
#️⃣ Blake2-256 hash:		0xef115d61db247aab97924ff316b9abc95d831c8b53313556ab1490e4dfbdfaf2
📦 IPFS:			https://www.ipfs.io/ipfs/QmSE5DA8pXJKb4jxhgHbjTZPnXyHHaMkhTqtSdyfvwz9rc

Srtool output (based on srtool-cli): 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.8 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.66.1 (90743e729 2023-01-10) Time : 2023-03-13T21:29:53Z

== Compact Version : zeitgeist-44 (zeitgeist-1.tx20.au1) Metadata : V14 Size : 4.10 MB (4296249 bytes) setCode : 0xf632ff2e45c5719771599f4d7256955f8fe5a2da907d4bc5002dd1af86ec730d authorizeUpgrade : 0xce32eb617f04b405945060e7f52923ff5670b282e0f07b485d6c947a020d87e7 IPFS : QmR9d9vKezouzrcg3e6DcT7Z5STYfT4nM6G8FETHLmE3tq BLAKE2_256 : 0x2359a8fffeec94f56228c7e926ee250876fa770a7054d3577a738b3a3c31f8c8 Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm

== Compressed Version : zeitgeist-44 (zeitgeist-1.tx20.au1) Metadata : V14 Size : 1.01 MB (1057790 bytes) Compression : 75.38% setCode : 0x507e4763eb0a9098481f6ea69e7c7e29f512263cf479e31dc66df5c7067ae9f8 authorizeUpgrade : 0xfbc8b121ca5e24e2cfd65db7b0226899dc328abf69291baa9e9fd7dd1b45dc01 IPFS : QmSE5DA8pXJKb4jxhgHbjTZPnXyHHaMkhTqtSdyfvwz9rc BLAKE2_256 : 0xef115d61db247aab97924ff316b9abc95d831c8b53313556ab1490e4dfbdfaf2 Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

v0.3.8-polkadot

13 Mar 23:47
9b3a865
Compare
Choose a tag to compare

Release Notes

This release contains the production runtimes that are deployed to Battery Station after the migration to Rococo and to Zeitgeist after the migration to Polkadot. This release also contains a new client that automatically connects to the correct networks.

More information at: PR #989

Battery Station Runtime

spec_version: 45
transaction_version: 20

🏋️ Runtime size:		1.026 MB (1,075,404 bytes)
🗜 Compressed:			Yes, 75.39%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-45 (zeitgeist-1.tx20.au1)
🗳️ system.setCode hash:		0x7ef83fc44db018abcb69e37db883dcd07cf44354aa58c818f27f94750ed13cf7
🗳️ authorizeUpgrade hash:	0x915889b9b515fd96de31b09883e6db8cad037e1dc6c06c8b8cc58ae10790ae96
#️⃣ Blake2-256 hash:		0xbe46ca79a322b10b41c7aa12310eae0c4938c1848073290a6198163d166c42e7
📦 IPFS:			https://www.ipfs.io/ipfs/QmRwZDZ8eHUTKBQJYxHHWFvSqEsn17cDXjRXgFdkJDWhH6

Srtool output (based on srtool-cli): 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.8 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.66.1 (90743e729 2023-01-10) Time : 2023-03-13T21:48:12Z

== Compact Version : zeitgeist-45 (zeitgeist-1.tx20.au1) Metadata : V14 Size : 4.17 MB (4370637 bytes) setCode : 0x77ea2f07bc9fbc5789236c2addbc110f2008036aa50e7a2349ca4009d09add45 authorizeUpgrade : 0x61ddd50199c9fa168137064dffb495ee00672e7dcc21e8f1b4d086019d5da929 IPFS : QmU3GH22tNcGhYmLkkTWsDaxy83JJJF5pUyuC1FTuiXEvU BLAKE2_256 : 0x57d09974a5dd6b490fa72a91b689aa265e9e145469a4ac7eb8f483149a58f389 Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm

== Compressed Version : zeitgeist-45 (zeitgeist-1.tx20.au1) Metadata : V14 Size : 1.03 MB (1075404 bytes) Compression : 75.4% setCode : 0x7ef83fc44db018abcb69e37db883dcd07cf44354aa58c818f27f94750ed13cf7 authorizeUpgrade : 0x915889b9b515fd96de31b09883e6db8cad037e1dc6c06c8b8cc58ae10790ae96 IPFS : QmRwZDZ8eHUTKBQJYxHHWFvSqEsn17cDXjRXgFdkJDWhH6 BLAKE2_256 : 0xbe46ca79a322b10b41c7aa12310eae0c4938c1848073290a6198163d166c42e7 Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm

Zeitgeist Runtime

spec_version: 45
transaction_version: 20

🏋️ Runtime size:		1.008 MB (1,057,255 bytes)
🗜 Compressed:			Yes, 75.39%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-45 (zeitgeist-1.tx20.au1)
🗳️ system.setCode hash:		0x4006471ff1200cca2d46b05a431bf1ff5088cce3c44e17a1eea9597230a12a4c
🗳️ authorizeUpgrade hash:	0xffa966a95734402d1f26f2e6dbc7c0f77ba746e3cd2010c2952ec824a327ced1
#️⃣ Blake2-256 hash:		0x0cf12be580eb72539ac227b4fe392c8868b2feb21de9067224d77fae5f6769e4
📦 IPFS:			https://www.ipfs.io/ipfs/QmSPA87XLQnuJ6kMKXvcesADaJrqQyp9ARUsvFbK5swtys

Srtool output (based on srtool-cli): 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.8 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.66.1 (90743e729 2023-01-10) Time : 2023-03-13T22:07:12Z

== Compact Version : zeitgeist-45 (zeitgeist-1.tx20.au1) Metadata : V14 Size : 4.10 MB (4296299 bytes) setCode : 0x2e0ce839f6efa32ebaf179992d0e630406c815dd3f79744c5f5bef98565810e4 authorizeUpgrade : 0xfe8c0b51a1be3d022b5e7e2f668bc2dc1d47a4f0cda2da9c51693d7f06cedb54 IPFS : QmZV5rPZg4GgMtxe4HeJuRNJZghk5knMG2WCfWbrGV5Hb4 BLAKE2_256 : 0xa09b6b853eea0314eac044894cb6db6987bfadab38eaf745a347f4d98f657ce6 Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm

== Compressed Version : zeitgeist-45 (zeitgeist-1.tx20.au1) Metadata : V14 Size : 1.01 MB (1057255 bytes) Compression : 75.4% setCode : 0x4006471ff1200cca2d46b05a431bf1ff5088cce3c44e17a1eea9597230a12a4c authorizeUpgrade : 0xffa966a95734402d1f26f2e6dbc7c0f77ba746e3cd2010c2952ec824a327ced1 IPFS : QmSPA87XLQnuJ6kMKXvcesADaJrqQyp9ARUsvFbK5swtys BLAKE2_256 : 0x0cf12be580eb72539ac227b4fe392c8868b2feb21de9067224d77fae5f6769e4 Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

v0.3.8 (Runtime only)

23 Jan 14:52
fc6265b
Compare
Choose a tag to compare

Release Notes

This is a runtime only release.

Highlights:

  • Allow foreign assets (received via XCM) in markets
  • Partially implement ZIP-0 (dispute system overhaul)
  • Improve code security and usability

This release contains a partial implementation of ZIP-0, an overhaul of our dispute system. The goal of ZIP-0 is to decouple the dispute mechanisms from the Prediction Markets pallet. A proper API has been specified and implemented in order to pass control between the prediction market and dispute mechanism. This ultimately allows developers to fine-tune each dispute mechanism to its specific needs and to develop the dispute modules independently of the module that uses them. In short, control over the lifecycle of a dispute mechanism was moved from the Prediction Markets pallet to each specific dispute mechanism.

Further to this significant change, as a follow up to the implementation of XCM reserve asset transfers in v0.3.7, it is now possible to use foreign assets (that were retrieved via a cross-chain transfer) in markets.

Additionally, the usability of the protocol has been improved by providing a more delicate control of market configurations.

And finally, as always, security was also improved. For example; by using proper existential deposits for any asset and by filtering unsupported dispatchable calls.

Battery Station Runtime

spec_version: 42
transaction_version: 19

🏋️ Runtime size:		1.035 MB (1,084,861 bytes)
🗜 Compressed:			Yes, 75.33%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-42 (zeitgeist-1.tx19.au1)
🗳️ system.setCode hash:		0x6acb8968be624419933ae4f5583d7889b9939ae688fe6830821f6f1e41036ff6
🗳️ authorizeUpgrade hash:	0x84e07fd0357fdbcd913484b3699b1be59f0cb3384b281556890bec3c3aa1285f
#️⃣ Blake2-256 hash:		0x32f3f144206f917e9b684ab24be2808964e21e6473de7d981c432f6ae53ef79c
📦 IPFS:			https://www.ipfs.io/ipfs/Qme27bgPDewGxWfaadyFtjzD1mmfz4zzc8VwPnUKuVd5SS

Srtool output (based on srtool-cli): 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.8
 GIT commit  : 
 GIT tag     : 
 GIT branch  : 
 Rustc       : rustc 1.66.1 (90743e729 2023-01-10)
 Time        : 2023-01-23T12:53:53Z


== Compact Version : zeitgeist-42 (zeitgeist-1.tx19.au1) Metadata : V14 Size : 4.19 MB (4397760 bytes) setCode : 0x2ec81b8e558e07cf0d780dfbf8986987141f8a7787c41dd8c94daa3cb92f0e73 authorizeUpgrade : 0xf4a53de77d86a6a0dd2fde51d7c8c443385f59b52aa9427dc3ecfc1e524838be IPFS : QmRgRtok4giyPpjpTBycVj3jzcsAfu47RgqtEv39G6vpos BLAKE2_256 : 0xfb7ff275e6b4493a464d9c37881ea0b04bb077212703e8636dd92cd2a122164e Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm

== Compressed Version : zeitgeist-42 (zeitgeist-1.tx19.au1) Metadata : V14 Size : 1.03 MB (1084861 bytes) Compression : 75.34% setCode : 0x6acb8968be624419933ae4f5583d7889b9939ae688fe6830821f6f1e41036ff6 authorizeUpgrade : 0x84e07fd0357fdbcd913484b3699b1be59f0cb3384b281556890bec3c3aa1285f IPFS : Qme27bgPDewGxWfaadyFtjzD1mmfz4zzc8VwPnUKuVd5SS BLAKE2_256 : 0x32f3f144206f917e9b684ab24be2808964e21e6473de7d981c432f6ae53ef79c Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm

Zeitgeist Runtime

spec_version: 42
transaction_version: 19

🏋️ Runtime size:		1.017 MB (1,066,534 bytes)
🗜 Compressed:			Yes, 75.33%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-42 (zeitgeist-1.tx19.au1)
🗳️ system.setCode hash:		0x82c55274b6f5d6b8c30b7faa602aad0c54eea1c902df326cca27d3aee492e0ff
🗳️ authorizeUpgrade hash:	0x138a081daf5507e69deaf93705c3c4e96e9d8fd857a547ae0dc028d5a07d276e
#️⃣ Blake2-256 hash:		0xe20d899e9db803072acdeac576963ade13f68c71437badb94d40b3176143defa
📦 IPFS:			https://www.ipfs.io/ipfs/QmWche4vDHu79ApqPyCCFQ12adgt2vJWHC7MwZg8rJLuvL

Srtool output (based on srtool-cli): 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.8
 GIT commit  : 
 GIT tag     : 
 GIT branch  : 
 Rustc       : rustc 1.66.1 (90743e729 2023-01-10)
 Time        : 2023-01-23T13:12:42Z


== Compact Version : zeitgeist-42 (zeitgeist-1.tx19.au1) Metadata : V14 Size : 4.12 MB (4323696 bytes) setCode : 0xb14b81d2ef553dc1e733faed14cc3fd67357cda10378a87e83c170d8eaa187ba authorizeUpgrade : 0x3f4f56231f13fe478abcbc083f5d60ef48c7623c5e6b085744c677bfcb80393c IPFS : QmSuGK9auhQvyyZtuwGdh3G8FMXZcGEw2LpLNrV7GMtPk8 BLAKE2_256 : 0xc924110cebd7d84665ebbc023f9eac24517aab462fe14c3fe4cb1fa9c94ec9d1 Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm

== Compressed Version : zeitgeist-42 (zeitgeist-1.tx19.au1) Metadata : V14 Size : 1.02 MB (1066534 bytes) Compression : 75.34% setCode : 0x82c55274b6f5d6b8c30b7faa602aad0c54eea1c902df326cca27d3aee492e0ff authorizeUpgrade : 0x138a081daf5507e69deaf93705c3c4e96e9d8fd857a547ae0dc028d5a07d276e IPFS : QmWche4vDHu79ApqPyCCFQ12adgt2vJWHC7MwZg8rJLuvL BLAKE2_256 : 0xe20d899e9db803072acdeac576963ade13f68c71437badb94d40b3176143defa Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

Changes

  • Update weights (#953)
  • Use tag when publishing a parachain docker image (#951)
  • Fix: typos (#941)
  • Update crate and runtime version (#932)
  • Respect all asset's existential deposit (#930)
  • Add missing call filters (#914)
  • [GlobalDisputes] Prevent benchmark failure (#902)
  • Use working tracing crate (#901)
  • Remove old migrations and ReportPeriod and DisputePeriod from prediction markets Config (#897)
  • Add base_asset to Market structure and make prediction_markets pallet use it instead of Asset::Ztg (#894)
  • Track reserved (non-dispute) bonds (#892)
  • Upgrade 0929 (#887)
  • Unreserve dispute bonds when destroying a market (#877)
  • Make dispute benchmarks more precise (#872)
  • Run benchmark tests in separate environments (#871)
  • ZIP-0 Part I (#862)

v0.3.7 (Runtime only)

28 Nov 16:54
a9cacb3
Compare
Choose a tag to compare

Release Notes

This is a runtime only release.

Highlights:

  • Incorporate automatic arbitrage logic
  • Include novel Global Disputes pallet
  • Enable XCM reserve asset transfers

This release contains a number of exciting new features. One of them is the inclusion of automatic arbitrage logic. With the current market-making scoring rule “CPMM”, the sum of the prices of outcome tokens should ideally be 1 to represent a normalized distribution of probabilities. CPMM allows the sum of prices to be greater or less than 1 in specific circumstances.
Arbitrageurs can mint/sell or buy/burn outcome tokens, unfortunately they draw the profits directly from the liquidity providers by doing so. The solution that we have implemented for this issue ensures that the total sum of prices is normalized to 1, while leaving the resulting arbitrage profit in the hands of the liquidity providers.

Another exciting feature released in this update is Global Disputes. Global Disputes is a pallet developed by Zeitgeist whose purpose is to resolve disputed markets in case the original dispute mechanism is not capable of determining the correct outcome. It does so by launching a global token holder vote. The potential outcomes can be provided by anyone. Once the correct outcome is determined, the correct outcome providers are rewarded with the bonds from the providers of the incorrect outcomes.

The last update is a significant step towards Polkadot primary vision, interoperability: The proper configuration of XCM and addition of logic to handle reserve asset transfers of any approved asset. After applying the runtime contained within this release, the Zeitgeist chain is able to open communication channels to other parachains and the relay chain.
Through those channels, any approved assets can be transferred. The possibilities are immensely more manifold, as the messages transferred through those channels could theoretically realize any state change in the consensus system in which they are interpreted. Those are interesting goals to work towards, and this release sets the first step in this direction by adding logic to properly receive and transfer any approved asset!

In addition to those considerable updates, the codebase was upgraded and the usability of the protocol was improved.

Battery Station Runtime

spec_version: 41
transaction_version: 18

🏋️ Runtime size:		0.999 MB (1,047,027 bytes)
🗜  Compressed:			Yes, 75.87%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-41 (zeitgeist-1.tx18.au1)
🗳️ system.setCode hash:		0xd5bb28d36f4904f73b095aff7e2e6c5547a7b0a0fdef981d19db0d4ecf3479d6
🗳️ authorizeUpgrade hash:	0xd9614cbf860ac17078b89745be42e23c139c93922d0e1ab400b7c1f885c4fb44
#️⃣ Blake2-256 hash:		0x50b008b59a5a5cd4ecbc2e50c5edb2ffec42e53540864d45857ec03ee19706ae
📦 IPFS:			https://www.ipfs.io/ipfs/QmYUxNPscErWurc7aBdJP4UPTnLWgABiUs4D4ggboJ4w8b

Srtool output (based on srtool-cli): 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.23 using the docker image paritytech/srtool:1.64.0: Package : battery-station-runtime v0.3.7 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.64.0 (a55dd71d5 2022-09-19) Time : 2022-11-28T09:25:17Z

== Compact Version : [object] Metadata : V14 Size : 4.14 MB (4339517 bytes) setCode : 0x67b719f2198962d8369ab5ee0e60b1711cfd7b179102cc86be8d9c9f5a15c98e authorizeUpgrade : 0x9259230205f85b6b44f5c258214dc23a83d1e0cf708605224a64c83fd05f73c5 IPFS : QmYqDPj5krcDEnPN4tdMnLuihCZUjQJWmggVm8AezTq1Jk BLAKE2_256 : 0xd92cdd69300228696481ecf822fd60cc5555ca3114982a502edfbf650d639516 Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm

== Compressed Version : [object] Metadata : V14 Size : 1022.49 KB (1047027 bytes) Compression : 75.88% setCode : 0xd5bb28d36f4904f73b095aff7e2e6c5547a7b0a0fdef981d19db0d4ecf3479d6 authorizeUpgrade : 0xd9614cbf860ac17078b89745be42e23c139c93922d0e1ab400b7c1f885c4fb44 IPFS : QmYUxNPscErWurc7aBdJP4UPTnLWgABiUs4D4ggboJ4w8b BLAKE2_256 : 0x50b008b59a5a5cd4ecbc2e50c5edb2ffec42e53540864d45857ec03ee19706ae Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm

Zeitgeist Runtime

spec_version: 41
transaction_version: 18

🏋️ Runtime size:		0.983 MB (1,030,655 bytes)
🗜  Compressed:			Yes, 75.82%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-41 (zeitgeist-1.tx18.au1)
🗳️ system.setCode hash:		0xcec5442c3f1b84714782284c82215111a9bcc4547a5426a2bcf7877a38c2d51d
🗳️ authorizeUpgrade hash:	0x1711ff6cd82abee13bbb516ee6f81e33e275b03f1f669aa09659bc25c09b9229
#️⃣ Blake2-256 hash:		0x44a84d4086a96cb4c9e9221147dc8cc4c2f104e8dd5fbee3ac041b264360f90e
📦 IPFS:			https://www.ipfs.io/ipfs/QmVF2DsbdobNSL4wXahqcShTrzAXqkBEHytH1HijxU3Rhk

Srtool output (based on srtool-cli): 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.23 using the docker image paritytech/srtool:1.64.0: Package : zeitgeist-runtime v0.3.7 GIT commit : GIT tag : GIT branch : Rustc : rustc 1.64.0 (a55dd71d5 2022-09-19) Time : 2022-11-28T09:40:26Z

== Compact Version : [object] Metadata : V14 Size : 4.07 MB (4262909 bytes) setCode : 0x90296efb1259f3a40d904e7460702cb514fb0b5e40ff59313abb037ac0fac73d authorizeUpgrade : 0xb505d32def19b125f822ad5ab4cfe9555be2f2dce75d6d77262beb67fde93838 IPFS : QmSCYEKVdMDLaXpu9UGYVargSbhUphaPBMyx8aMKHbraZm BLAKE2_256 : 0x05a5e8aeec038e5141b6bc07236f30f5e6d16aef9555a5dde01620c495b4a990 Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm

== Compressed Version : [object] Metadata : V14 Size : 1006.50 KB (1030655 bytes) Compression : 75.83% setCode : 0xcec5442c3f1b84714782284c82215111a9bcc4547a5426a2bcf7877a38c2d51d authorizeUpgrade : 0x1711ff6cd82abee13bbb516ee6f81e33e275b03f1f669aa09659bc25c09b9229 IPFS : QmVF2DsbdobNSL4wXahqcShTrzAXqkBEHytH1HijxU3Rhk BLAKE2_256 : 0x44a84d4086a96cb4c9e9221147dc8cc4c2f104e8dd5fbee3ac041b264360f90e Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

Changes

  • Reduce vote ratio for advisory disputes (#890)
  • Update weights (#886)
  • Fix max disputes to avoid migration (#879)
  • Add with_fees boolean parameter for Swaps getSpotPrices() (#878)
  • Update version to 0.3.7 (#867)
  • Update MarketIdsPer*Block benchmarks (#866)
  • Slash oracle bound while resolving disputed market, if oracle does not report or reports wrong outcome (#863)
  • Upgrade to polkadot-v0.9.26 (#850)
  • Filter dangerous calls (#846)
  • Transform scalar markets from integer to fixed point numbers (#838)
  • Improve logging of try-runtime makefile targets (#836)
  • Add reject_reason in MarketRejected event (#835)
  • Add extrinsics for editing markets (#834)
  • Implement automatic on-chain arbitrage (#833)
  • Update CI to quick check benchmarks (#825)
  • Use Origin in authorized pallet to resolve dispute for market with Authorized MarketDisputeMechanism. (#778)
  • Add missing license files (#765)
  • Implement Global Disputes (#682)
  • Configure and test whitelisted XCM reserve transfers (#661)

v0.3.6

21 Oct 11:19
8c6395f
Compare
Choose a tag to compare

Release Notes

Upgrade Priority: ❗ HIGH ❗ Please upgrade your node as soon as possible.

Highlights:

  • Add pallet-bounties to the Zeitgeist runtime
  • Allow market creators to set oracle/dispute deadlines on a per-market basis
  • Improve code quality and usability
  • Improve security

A major focus of this release was to significantly improve benchmarks and market resolution complexity. Those changes make the chain capable of more precise estimations about how much execution time is available, effectively preventing a complete class of DoS attacks. In addition to that, fees for transactions also become more precise.

This release also introduces a feature vital to good market creation: Market creators can delay the resolution of a market by up to one year in case they want the market to be closed before the event actually occurs. Furthermore, market creators can define the duration for reports and disputes.

Moreover, the release adds pallet-bounties to the Zeitgeist runtime, which allows the council to allocate treasury funds to community projects built on Zeitgeist.

Finally, the codebase was updated to polkadot-0.9.23, and the code quality was polished through many small but important improvements.

Battery Station Runtime

spec_version: 40
transaction_version: 17

🏋️ Runtime size:		0.901 MB (944,798 bytes)
🗜 Compressed:			Yes, 75.65%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-40 (zeitgeist-1.tx17.au1)
🗳️ system.setCode hash:		0x08349e6298e76a81701ba9a8c817d4903fd93b0be980277c115b1b0e803f72dc
🗳️ authorizeUpgrade hash:	0x6b33beaa527050ccbbff10bc58a6051eb737d685710a7eb3abc37089be970b73
#️⃣ Blake2-256 hash:		0xb89a2e185f5d8e006b70eb4c45970db73229ddbb1d2088ac13d5cdcf171da384
📦 IPFS:			https://www.ipfs.io/ipfs/QmQxoKAu13XAg6x6TQGaUykjSLrKZNCWmf4x5V9uBaHMh7

Srtool output (based on srtool-cli): srtool build --build-opts "\-\-features=parachain" --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.23 using the docker image paritytech/srtool:1.64.0:
Package : battery-station-runtime v0.3.6
GIT commit :
GIT tag :
GIT branch :
Rustc : rustc 1.64.0 (a55dd71d5 2022-09-19)
Time : 2022-10-21T10:40:07Z



== Compact
Version : [object]
Metadata : V14
Size : 3.70 MB (3879611 bytes)
setCode : 0xecdfa21347686ee87d2785c33c8fb4995b760c6b6e53bccb8de4585abe91883d
authorizeUpgrade : 0xdb15dfc7cd6832067e8c25a1235c1ba583ba7d2c8d82d936cb48c89b7530d0ef
IPFS : QmRDXcFNGkR45DKYFGgAF1bpnZW8orkuXkNj9MsqJahZwR
BLAKE2_256 : 0x8b781ad2fa551b007c25bf28c89a72dbea9f5aed207423cf2b6bb1e6b7dbf3db
Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm



== Compressed
Version : [object]
Metadata : V14
Size : 922.65 KB (944798 bytes)
Compression : 75.65%
setCode : 0x08349e6298e76a81701ba9a8c817d4903fd93b0be980277c115b1b0e803f72dc
authorizeUpgrade : 0x6b33beaa527050ccbbff10bc58a6051eb737d685710a7eb3abc37089be970b73
IPFS : QmQxoKAu13XAg6x6TQGaUykjSLrKZNCWmf4x5V9uBaHMh7
BLAKE2_256 : 0xb89a2e185f5d8e006b70eb4c45970db73229ddbb1d2088ac13d5cdcf171da384
Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm

Zeitgeist Runtime

spec_version: 40
transaction_version: 17

🏋️ Runtime size:		0.899 MB (942,625 bytes)
🗜 Compressed:			Yes, 75.60%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-40 (zeitgeist-1.tx17.au1)
🗳️ system.setCode hash:		0x8812a2fdac44a81e5255dc8bcc8795e6d78e393947f848b2deacb16bfa4910e2
🗳️ authorizeUpgrade hash:	0x2072e8fe75db0e51c642853923931ff3db1b935b53328bf90ff9090446b3c465
#️⃣ Blake2-256 hash:		0x477f4a2409c11fef9398e33e0a5f59654d57d16e7d2c20311b765250e8613896
📦 IPFS:			https://www.ipfs.io/ipfs/QmbpzC9jJyPdJFrRV4BKfF4Z57wkhC1HeNuGUFfV89JQBB

Srtool output (based on srtool-cli): 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.23 using the docker image paritytech/srtool:1.64.0:
 Package     : zeitgeist-runtime v0.3.6
 GIT commit  : 
 GIT tag     : 
 GIT branch  : 
 Rustc       : rustc 1.64.0 (a55dd71d5 2022-09-19)
 Time        : 2022-10-21T11:04:58Z


== Compact Version : [object] Metadata : V14 Size : 3.68 MB (3863575 bytes) setCode : 0x6492c80c6ec9a5ea81640cc89c6a487d6d84c0d19c0e79058740df832a9d6f0d authorizeUpgrade : 0x56dbb71b44707cee1b3f3fa7507fbee749f49bf8daff7e488c7fe6122eca7ce3 IPFS : QmdGfJwU6GRUHqeEQMNpyeg8EdAT4Xr95h7b21jWqL7VEj BLAKE2_256 : 0xa219f0d3810f24de210aeb666909255a72a3328b5ea3f5d7db98df5b09773b4a Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm

== Compressed Version : [object] Metadata : V14 Size : 920.53 KB (942625 bytes) Compression : 75.61% setCode : 0x8812a2fdac44a81e5255dc8bcc8795e6d78e393947f848b2deacb16bfa4910e2 authorizeUpgrade : 0x2072e8fe75db0e51c642853923931ff3db1b935b53328bf90ff9090446b3c465 IPFS : QmbpzC9jJyPdJFrRV4BKfF4Z57wkhC1HeNuGUFfV89JQBB BLAKE2_256 : 0x477f4a2409c11fef9398e33e0a5f59654d57d16e7d2c20311b765250e8613896 Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

Changes

  • Update weights (#841)
  • Fix new clippy lints (#832)
  • Add details to changelog, fix typos (#830)
  • Bump versions to v0.3.6 (#829)
  • Change deadline min/max values to following: (#828)
  • Reduce advised market slash percentage to zero (#826)
  • Decrease MaxProposals for advisory committee (#824)
  • Remove toolchain: input so that rust-toolchain file will be used (#823)
  • Add MinOracleDuration config constant (#821)
  • Change Battery Station ExitFee parameter (#820)
  • Add Zeitgeist endpoint to try-runtime target (#819)
  • Fix swaps benchmark failures (#818)
  • [Swaps] Add benchmarks for pm-pool operations (#816)
  • Move certain slashed funds and fees/tips to treasury (#814)
  • Fix on_resolution() benchmarks (#813)
  • Improve admin_destroy_market and admin_move_market_to_resolved benchmarks (#812)
  • Upgrade codebase to polkadot-v0.9.23 (#811)
  • Partially benchmark on_initialize (without on_resolution) (#807)
  • Remove destroying outcome assets when market is destroyed or resolved (#806)
  • Change AdvisoryBond slash percentage to 10% (#802)
  • Disallow inline_table_expand in taplo (#801)
  • Increase MaxCategories to 64 (#796)
  • Add and use production profile (#789)
  • Update zrml_swaps benchmarks (#786)
  • Update zrml_prediction_markets benchmarks (#783)
  • Clippy fixes (#781)
  • Add bounties pallet to runtime (#776)
  • Use which instead of whereis in format.sh script. (#775)
  • Update rust toolchain (#770)
  • Remove report_todo option (#768)
  • Toml auto format script and github workflow update. (#767)
  • Move documentation to README's (#764)
  • Clarify error docstring (#763)
  • Remove old migrations (#758)
  • Add license header to handlebar weight templates (#754)
  • Add oracle_delay, oracle_duration and dispute_duration as parameters in create_market(). (#732)

v0.3.5

22 Aug 13:40
0e27079
Compare
Choose a tag to compare

Release Notes

Upgrade Priority: Medium (timely upgrade recommended)

Highlights:

  • Unlock prediction market core functionality on mainnet
  • Improve code quality and usability
  • Separate mainnet runtime and apply prudent configuration

This release sets a major milestone for Zeitgeist, as it unlocks the prediction market core functionality on the mainnet. As a prerequisite for this, it was necessary to separate the Battery Station testnet and Zeitgeist mainnet runtimes, so as to apply a more balanced configuration in an economically reasonable environment, as well as allow fast-paced testing of new features on the testnet.

The code enjoyed some security improvements as part of the full launch preparations. These improvements include:

  • Exclusive use of safe integer arithmetic
  • Fix zero division error in on_resolution
  • The proper handling of fees in relation to consumed weight (prevention against DoS attacks)

Some of the key utility improvements to the code include:

  • A single member of the advisory committee can approve an advised market
  • Implement bounded swap fees
  • No trading in swap pools allowed before the associated market is opened

Besides all of those significant changes, the foundation for allowing other currencies as the base currency (instead of merely ZTG) in a market pool was laid by abstracting the base currency. Lastly, a new pallet called pallet-styx was implemented and added to the runtime; it allows users to burn ZTG in exchange for receiving their “Launch Campaign NFT Avatar”.

Battery Station Runtime

spec_version: 39
transaction_version: 16

🏋️ Runtime size:		0.992 MB (1,040,457 bytes)
🗜  Compressed:			Yes, 80.30%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-39 (zeitgeist-1.tx16.au1)
🗳️ system.setCode hash:		0xbbf8d175958ecf28740c2d2274bcc3a62428d3f6234cf29228dc01932b3fa9ec
🗳️ authorizeUpgrade hash:	0x4f3463ece847bdf136e1249f8d7966c55eb1d2987cc1626cea325e2ea33e925d
#️⃣ Blake2-256 hash:		0x0f2218f46f868161fd51b5be913d86361f9a9e2a022a9ef525c76b10df0da33c
📦 IPFS:			https://www.ipfs.io/ipfs/QmYycRGQnicaYrTK2LWEeLKDPq246fsahFjzuHWrCSHg7X

Srtool output (based on srtool-cli): export SRTOOL_TAG="1.60.0" && srtool build -r ./runtime/battery-station -p battery-station-runtime --build-opts "\-\-features=parachain"

Srtool

✨ Your Substrate WASM Runtime is ready! ✨
Summary generated with srtool v0.9.20 using the docker image paritytech/srtool:1.60.0:
 Package     : battery-station-runtime v0.3.5
 GIT commit  : 0e27079cc62e281f742511527291f6c8e650ee1f
 GIT tag     : v0.3.5
 GIT branch  : HEAD
 Rustc       : rustc 1.60.0 (7737e0b5c 2022-04-04)
 Time        : 2022-08-15T09:54:43Z


== Compact Version : zeitgeist-39 (zeitgeist-1.tx16.au1) Metadata : V14 Size : 5.04 MB (5280326 bytes) Proposal : 0x4a754ca9b487a2234c3bb414b17ff1a1ad4e334f1905c7edee8f5daa2394972d IPFS : QmUMe6ZVhnJrpdCc15LSvGcZLHNrxXz6cPj7WLnaECxHsx BLAKE2_256 : 0x02e4521f397f872cd6333dc5e90401d71a796216c1a9bd744b8c64be2fccba74 Wasm : ./runtime/battery-station/target/srtool/release/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm

== Compressed Version : zeitgeist-39 (zeitgeist-1.tx16.au1) Metadata : V14 Size : 1016.07 KB (1040457 bytes) Compression : 80.3% Proposal : 0xbbf8d175958ecf28740c2d2274bcc3a62428d3f6234cf29228dc01932b3fa9ec IPFS : QmYycRGQnicaYrTK2LWEeLKDPq246fsahFjzuHWrCSHg7X BLAKE2_256 : 0x0f2218f46f868161fd51b5be913d86361f9a9e2a022a9ef525c76b10df0da33c Wasm : ./runtime/battery-station/target/srtool/release/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm

Zeitgeist Runtime

spec_version: 39
transaction_version: 16

🏋️ Runtime size:		0.995 MB (1,043,581 bytes)
🗜  Compressed:			Yes, 80.18%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-39 (zeitgeist-1.tx16.au1)
🗳️ system.setCode hash:		0x8b656257eb6a418312861e15f7e2c265f64322f6f5c4eda3859e1e235d0d3111
🗳️ authorizeUpgrade hash:	0xf50181d5d98d770cdae0fad14ba876e124344e84acbdba76aad89ae1a2788e93
#️⃣ Blake2-256 hash:		0x5fb68a64116fa836f6fd558781db6fa0547878d6b2adc7d81289f35d1fe16447
📦 IPFS:			https://www.ipfs.io/ipfs/QmV12qn2ejumaHazPzaAE2sHycU8rYpKGESbvqJCw7fCp6

Srtool output (based on srtool-cli): export SRTOOL_TAG="1.60.0" && srtool build -r ./runtime/zeitgeist -p zeitgeist-runtime --build-opts "\-\-features=parachain"

Srtool

✨ Your Substrate WASM Runtime is ready! ✨
Summary generated with srtool v0.9.20 using the docker image paritytech/srtool:1.60.0:
 Package     : zeitgeist-runtime v0.3.5
 GIT commit  : 0e27079cc62e281f742511527291f6c8e650ee1f
 GIT tag     : v0.3.5
 GIT branch  : HEAD
 Rustc       : rustc 1.60.0 (7737e0b5c 2022-04-04)
 Time        : 2022-08-15T10:19:56Z


== Compact Version : zeitgeist-39 (zeitgeist-1.tx16.au1) Metadata : V14 Size : 5.02 MB (5264685 bytes) Proposal : 0x2ca2fab87a7484c611121e72fc63eae79cbff0efd984e921f75aeba2b0456534 IPFS : QmQxppy3NnyQr44g3Z3H9dKvMANB8DHUuupzLcKw4bsJcw BLAKE2_256 : 0xb189a11c3d8532b5ec905c4db2d79b866987c99e6bc1485bdfe31dd02189caf9 Wasm : ./runtime/zeitgeist/target/srtool/release/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm

== Compressed Version : zeitgeist-39 (zeitgeist-1.tx16.au1) Metadata : V14 Size : 1019.12 KB (1043581 bytes) Compression : 80.18% Proposal : 0x8b656257eb6a418312861e15f7e2c265f64322f6f5c4eda3859e1e235d0d3111 IPFS : QmV12qn2ejumaHazPzaAE2sHycU8rYpKGESbvqJCw7fCp6 BLAKE2_256 : 0x5fb68a64116fa836f6fd558781db6fa0547878d6b2adc7d81289f35d1fe16447 Wasm : ./runtime/zeitgeist/target/srtool/release/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

Changes

  • Update weights (#753)
  • Optimize default build by excluding fuzz tests (#750)
  • Apply updated configuration to Zeitgeist runtime (#749)
  • Bump versions to v0.3.5 (#748)
  • Allow market approval by single AdvisoryCommittee member (#744)
  • Fix rust toolchain install (#734)
  • Add minimum balance to CPMM logic (#733)
  • Cleanup MarketIdsPerReportBlock and MarketIdsPerDisputeBlock in resolution_manager() (#729)
  • pallet/zrml-styx - burn ztg for the ability to claim avatar (#725)
  • Add license headers (#724)
  • Make the project capable of handling multiple runtimes (#721)
  • Add info regarding updating RuntimeVersion (#720)
  • Remove unchecked integer arithmetic (#719)
  • Minor refactoring in process_subsidy_collecting_markets() (#713)
  • Let markets open their pools when they start (#711)
  • Use CountedStorageMap instead of StorageMap for Jurors in court pallet (#707)
  • Fix max_encoded_len() for MarketPeriod and MarketType. (#703)
  • Fix zero division error in on_resolution (#701)
  • Allow Closed pools to be opened (#695)
  • Implement swap fees (#676)
  • Abstraction of the base asset (#629)
  • Fix tokenomics, set initial liquidity mining to zero (#600)
  • Change clippy usage and make code cleaner (#593)
  • [Runtime] TransactionPayment: default MultiplierUpdate set fee weights to zero bugfix (#579)
  • Add license headers (#575)

v0.3.4

11 Jul 21:57
893344f
Compare
Choose a tag to compare

Upgrade Priority: Low (upgrade at your own convenience)

Highlights:

  • Remove Sudo pallet
  • Improve code quality
  • Improve usability

This release removes the sudo pallet, effectively handing the fate of the chain over to the mechanism of decentralized governance. While the Zeitgeist foundation continues to develop the Zeitgeist node, the governance body will now be responsible for deciding which changes are applied to the protocol.

The code quality was improved in the following ways:

  • Fixing a few minor bugs
  • Handling storage space more efficiently
  • Enforcing that code authors have to handle any future market scoring rule properly

Finally, the usability of the system was improved, for example: The weight of the base asset of a prediction market pool is now automatically calculated, and users must choose at least one limiter when interacting with the pool, effectively protecting them from executing operations at a much higher price than anticipated.

Runtime Version

spec_version: 38
transaction_version: 15

Unrestricted Runtime

🏋️ Runtime size:		0.981 MB (1,028,853 bytes)
🗜  Compressed:			Yes, 80.10%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-38 (zeitgeist-1.tx15.au1)
🗳️ system.setCode hash:		0xdb76d105e3168d08c75e73fb9fa076b0705014ae8c1296d4e6230b2820b563df
🗳️ authorizeUpgrade hash:	0x0a9d91867992ef5246e6d2ba6c8fded4daea4d5ba72183262e04689cde33caab
#️⃣ Blake2-256 hash:		0x14b45d888323fe534f7eb01b314de2d4168ad43a20250bf5f2f307c7c7a210e3
📦 IPFS:			https://www.ipfs.io/ipfs/QmaopXBAycZNAzqZbx638YfycVaK67XMfw3uhu1jXnAyJM

Srtool output (based on srtool-cli): srtool build -r ./runtime/ -p zeitgeist-runtime --build-opts "\-\-features=parachain"

Srtool

✨ Your Substrate WASM Runtime is ready! ✨
Summary generated with srtool v0.9.20 using the docker image paritytech/srtool:1.60.0:
 Package     : zeitgeist-runtime v0.3.4
 GIT commit  : 893344f10798a51294f1bfcb6d4db251000df750
 GIT tag     : latest
 GIT branch  : HEAD
 Rustc       : rustc 1.60.0 (7737e0b5c 2022-04-04)
 Time        : 2022-07-11T21:37:47Z


== Compact Version : zeitgeist-38 (zeitgeist-1.tx15.au1) Metadata : V14 Size : 4.93 MB (5171342 bytes) Proposal : 0xf0d9e4d3330362257cd1adb35b755b4bb066fd7daf9f5e0f81d7c0beb1bb495d IPFS : QmWPH57y1bkb7woNXqSa15LdTxd84BVc1JWVMtz1Mt2K3j BLAKE2_256 : 0x70fb0fb4b56c05ecb91c313ba6a43ead60e3b2fba3a4538a2304b49d49f6e225 Wasm : ./runtime//target/srtool/release/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm

== Compressed Version : zeitgeist-38 (zeitgeist-1.tx15.au1) Metadata : V14 Size : 1004.74 KB (1028853 bytes) Compression : 80.11% Proposal : 0xdb76d105e3168d08c75e73fb9fa076b0705014ae8c1296d4e6230b2820b563df IPFS : QmaopXBAycZNAzqZbx638YfycVaK67XMfw3uhu1jXnAyJM BLAKE2_256 : 0x14b45d888323fe534f7eb01b314de2d4168ad43a20250bf5f2f307c7c7a210e3 Wasm : ./runtime//target/srtool/release/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

Restricted Runtime

🏋️ Runtime size:		0.977 MB (1,024,422 bytes)
🗜  Compressed:			Yes, 80.09%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		zeitgeist-38 (zeitgeist-1.tx15.au1)
🗳️ system.setCode hash:		0x77999359fa2bb93a13c2f88b1e37643c276b0f19058042b882f55cec3700a698
🗳️ authorizeUpgrade hash:	0x3e8696a73e3702936954bf57a664e7c8736e1e3ca0e62bc4431c2a2c66a19bb6
#️⃣ Blake2-256 hash:		0x34527cb546ec5ebeee919f6468449ade1d9eaa1298c262f3ea9b2d891650baae
📦 IPFS:			https://www.ipfs.io/ipfs/QmSFA59RXNi1gs3GzyNgpFwsEt8kU731GCHzK7KyTiQdtz

Srtool output (based on srtool-cli): srtool build -r ./runtime/ -p zeitgeist-runtime --build-opts "\-\-features=parachain,txfilter"

Srtool

✨ Your Substrate WASM Runtime is ready! ✨
Summary generated with srtool v0.9.20 using the docker image paritytech/srtool:1.60.0:
 Package     : zeitgeist-runtime v0.3.4
 GIT commit  : 893344f10798a51294f1bfcb6d4db251000df750
 GIT tag     : latest
 GIT branch  : HEAD
 Rustc       : rustc 1.60.0 (7737e0b5c 2022-04-04)
 Time        : 2022-07-11T21:44:59Z


== Compact Version : zeitgeist-38 (zeitgeist-1.tx15.au1) Metadata : V14 Size : 4.91 MB (5144714 bytes) Proposal : 0x6d8c37edc0ef0cfa0ad1970bd95440138ea42a4dd8858dd954d5d768dfe17149 IPFS : QmYdF7CutsGiHQJZyCp6yBYkBYckwuBd2GieSEeriBUdkJ BLAKE2_256 : 0xd8a1af16ad863397642b2b9589fb2edba2f7cec6ff72c36f6a8c17394400b2c9 Wasm : ./runtime//target/srtool/release/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm

== Compressed Version : zeitgeist-38 (zeitgeist-1.tx15.au1) Metadata : V14 Size : 1000.41 KB (1024422 bytes) Compression : 80.09% Proposal : 0x77999359fa2bb93a13c2f88b1e37643c276b0f19058042b882f55cec3700a698 IPFS : QmSFA59RXNi1gs3GzyNgpFwsEt8kU731GCHzK7KyTiQdtz BLAKE2_256 : 0x34527cb546ec5ebeee919f6468449ade1d9eaa1298c262f3ea9b2d891650baae Wasm : ./runtime//target/srtool/release/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm

Changes

  • Expose AuthorFilter Call enum (#706)
  • Update weights (#705)
  • Bump versions to v0.3.4 (#704)
  • Fix max_encoded_len() for MarketPeriod and MarketType. (#703)
  • Add feature to remove sudo (#702)
  • Rename Market struct's mdm to dispute_mechanism. (#694)
  • Bind Council collective to CouncilMembership (#692)
  • Fix weights to fix CI on main (#687)
  • Fix block timeout when starting a new chain from genesis (#684)
  • Clear disputes from storage (#681)
  • Remove v0.3.3 storage migrations (#680)
  • Force user to use limits when swapping tokens (#674)
  • Remove ICE workaround & fix clippy errors (#673)
  • Fix the weight of the base asset to the sum of the weights of the outcome assets (#672)
  • Fix disputed market after resolve bug (#669)
  • Fix ScoringRule checks with match (#664)
  • Add rules for contributions (#648)
  • Separated fuzz tests, added pool_creation (#542)