github zeitgeistpm/zeitgeist v0.3.4

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

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)

Don't miss a new zeitgeist release

NewReleases is sending notifications on new releases.