Skip to content

v0.3.11

Compare
Choose a tag to compare
@sea212 sea212 released this 07 Aug 11:12
· 103 commits to main since this release
aaab527

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)