github zeitgeistpm/zeitgeist v0.3.6

latest releases: v0.5.5, v0.5.4, v0.5.3...
2 years ago

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)

Don't miss a new zeitgeist release

NewReleases is sending notifications on new releases.