github zeitgeistpm/zeitgeist v0.3.9

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

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)

Don't miss a new zeitgeist release

NewReleases is sending notifications on new releases.