Release Notes
Upgrade Priority: Low (upgrade at your own convenience)
Highlights
- New Asset System
- New e2e Test System
- Code Improvements
New Asset System
The new asset system provides numerous improvements and new features, such as new asset types like custom and campaign assets, which can be created by users and governance/council respectively. The latter can be used to pay fees and trade in markets, providing greater flexibility and a lower entry barrier when launching campaigns. Those asset types provide means of management.
In addition to that, managed asset creation and destruction is executed for market assets, keeping the chain storage small and tidy.
Asset types are now more expressive by limiting the options based on the context, e.g. only assets that can be transferred via XCM can be selected for reserve asset transfers. The full scope can be inspected in PR #1295.
New e2e Test System
Whenever a release is prepared, automated tests now pull production chain data and simulate a runtime upgrade to ensure that the runtime upgrade succeeds, that blocks can be produced and that extrinsics can be executed, effectively reducing the probability of accidentally stalling the chain during those sensitive operations.
Code Improvements
Numerous improvements in CI have been implemented to ensure a reliable execution and assert high code quality. In addition to that, proxy types have been updated, weight calculations have been improved to provide more accurate transaction fees, unsafe operations are handled better in many occasions, unreachable code is tested in some instances now, the code has been cleaned up and it's structure has been improved.
Battery Station Runtime
spec_version
: 54
transaction_version
: 28
🏋️ Runtime size: 1.537 MB (1,611,607 bytes)
🗜 Compressed: Yes, 75.95%
✨ Reserved meta: OK - [6D, 65, 74, 61]
🎁 Metadata version: V14
🔥 Core version: zeitgeist-54 (zeitgeist-1.tx28.au1)
🗳️ system.setCode hash: 0x41698289535c6c460c8e342ececead5003fee33ea8ff71b6fc7283a6ea9cb14f
🗳️ authorizeUpgrade hash: 0x43f0db69c576f8f82c6d42923a4610a190b3ceba71ef2217ab0c0e0c86fa3827
🗳️ Blake2-256 hash: 0x0174a4182884a9e19e2191a6b3d29f695c5576e0743cc0cd4d68ece146e1ca32
📦 IPFS: https://www.ipfs.io/ipfs/QmX6YfVNLuMM159CMbFtbVBvm8wLd6qCDwvvvbUEJf9M3D
Srtool output (based on srtool-cli): SRTOOL_TAG="1.66.1" 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.25 using the docker image paritytech/srtool:1.66.1:
Package : battery-station-runtime v0.5.1
GIT commit :
GIT tag :
GIT branch :
Rustc : rustc 1.66.1 (90743e729 2023-01-10)
Time : 2024-04-03T14:25:07Z
== Compact
Version : zeitgeist-54 (zeitgeist-1.tx28.au1)
Metadata : V14
Size : 6.39 MB (6701095 bytes)
setCode : 0x41af2ca467704976a7e6b8af53667cc5f66790aab97264b7cdfbdb94840eed1c
authorizeUpgrade : 0xa5a191bf55b9017d5038e0c8904a7acbfba34b2bd7899cebcb541b6ee6eb5d7a
IPFS : QmYNzjQ9JxWZgouNsuaL8KducpmGxJs2iYaQoS28LCvuwE
BLAKE2_256 : 0x26e9368b92be6dcf4eb9c7c029449381ad91267a30bd5d3b95df958d974b5438
Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.wasm
== Compressed
Version : zeitgeist-54 (zeitgeist-1.tx28.au1)
Metadata : V14
Size : 1.54 MB (1611607 bytes)
Compression : 75.96%
setCode : 0xa9713ffd1b7063937c076e455a9d71df26dc2e1b67256809e0578543b493230a
authorizeUpgrade : 0xe89148ef090f88f62f3077d094e878cc39b0b1f1d55258c2d930d2d56fe8eaf4
IPFS : QmX6YfVNLuMM159CMbFtbVBvm8wLd6qCDwvvvbUEJf9M3D
BLAKE2_256 : 0x0174a4182884a9e19e2191a6b3d29f695c5576e0743cc0cd4d68ece146e1ca32
Wasm : ./runtime/battery-station/target/srtool/production/wbuild/battery-station-runtime/battery_station_runtime.compact.compressed.wasm
Zeitgeist Runtime
spec_version
: 54
transaction_version
: 28
🏋️ Runtime size: 1.532 MB (1,606,220 bytes)
🗜 Compressed: Yes, 75.90%
✨ Reserved meta: OK - [6D, 65, 74, 61]
🎁 Metadata version: V14
🔥 Core version: zeitgeist-54 (zeitgeist-1.tx28.au1)
🗳️ system.setCode hash: 0x9b02c988ea2a57c801e66084b28e98931a0a120d54ebf207ac7d21d818526093
🗳️ authorizeUpgrade hash: 0x51cd28417bb070f842a6a2d4f9be02d4539194db8067c0e21cacd11869f56957
🗳️ Blake2-256 hash: 0x91eb35d5f3fac0c51f6f23b398d9ec0580bbb7c72df5e922a1528897a3a9567d
📦 IPFS: https://www.ipfs.io/ipfs/QmNjh2tKx6mEeEaefT7YVdpxA2YzLiUxFSAdjMS4sAJxrH
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.5.1
GIT commit :
GIT tag :
GIT branch :
Rustc : rustc 1.66.1 (90743e729 2023-01-10)
Time : 2024-04-03T14:33:38Z
== Compact
Version : zeitgeist-54 (zeitgeist-1.tx28.au1)
Metadata : V14
Size : 6.36 MB (6665805 bytes)
setCode : 0xededd3c65572627c7828c6a735ed4634eaf23cde6139cd98edf59e168d92c63e
authorizeUpgrade : 0xc3791dfc5b00dc09e73b92a175d2e16b5ca9f20b663186f445a5c319446efbc7
IPFS : QmZ1cEgP96VgCotpqtxb7GbnW6DUhqzcccG9543SciJipJ
BLAKE2_256 : 0x8b4a095a13551c107a04b964fbcc5307abe465a620e406fc7dad781a7b3743fb
Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.wasm
== Compressed
Version : zeitgeist-54 (zeitgeist-1.tx28.au1)
Metadata : V14
Size : 1.53 MB (1606220 bytes)
Compression : 75.91%
setCode : 0x0546b97d1b3b5e9abd4cfb2cbdf7846db9cfa459b833be1b5fa039c30c917c4d
authorizeUpgrade : 0xd886027791c3f33763a26a520f88acc5fa5b2bee7c6a7c2431d5924526ce89a3
IPFS : QmNjh2tKx6mEeEaefT7YVdpxA2YzLiUxFSAdjMS4sAJxrH
BLAKE2_256 : 0x91eb35d5f3fac0c51f6f23b398d9ec0580bbb7c72df5e922a1528897a3a9567d
Wasm : ./runtime/zeitgeist/target/srtool/production/wbuild/zeitgeist-runtime/zeitgeist_runtime.compact.compressed.wasm
Changes
- Update weights (#1299)
- Update versions to v0.5.1 (#1298)
- Fix crash due to wasm instance size limit (#1296)
- New Asset System (#1295)
- Update Codeowners (#1286)
- Add previous stake information after rejoin (#1285)
- Use GitHub action to free up space (#1271)
- Remove unused dependencies (#1270)
- Update toolchain to fix codecov and fuzz errors (#1269)
- License checker: Replace incorrect
push
withappend
(#1268) - Bring README up to date (#1264)
- Only run copyright CI when merging into
main
(#1263) - Merge release v0.5.0 into main (#1262)
- Update proxy types (#1259)
- Refactor swaps (#1255)
- Remove unchecked modulo operations from production (#1254)
- Adjust style guide (loops) and add unreachable macro (#1252)
- Use
Balance
instead ofu128
as type for Balancer weights (#1251) - Fix neo-swaps doc strings (#1250)
- Add market ID to
Market
struct (#1248) - Fix Rust and Discord badge (#1247)
- Improve fee payment management (#1246)
- Avoid mergify dequeue (#1245)
- Set in-progress when need and rerun CI in merge queue (#1244)
- Utilize Merigify's Merge Queue (#1243)
- Reorganize prediction-market tests (#1242)
- Remove migrations and dead code (#1241)
- Extend neo-swaps tests and clean up
math.rs
(#1238) - Implement and test
bmul_bdiv_*
; use in zrml-orderbook and zrml-parimutuel (#1223) - Add moonwall integration tests (#1194)
- Integrate Moonwall (#1192)