v0.3.8 (Runtime only)
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)