Release v1.8.1 changes
- Crates versions bumped to "v1.8.1”, runtime spec version bumped to 1810 (#4658);
- Weights of extrinsic and WASM instructions WERE NOT updated.
Note
Recommended nightly 🦀 Rust version bumped to nightly-2025-05-09
(#4645).
Update requirements
JS clients | Programs | Node bin |
---|---|---|
⚪ Insubstantial | ⚪ Insubstantial | ⚪ Insubstantial |
Key changes
🔥📖 Protocol's invariant change: value management (#4634);
Important
Previously, on errors, values were always returned to the message source immediately, without any actual notification.
From now on, values can only be transferred with messages — including error replies — making it possible to check how much value was returned in your handle_reply export.
For messages that do not expect a reply, no value will be returned on errors. This mainly affects the reply logic: any value sent with a reply will always reach its destination and be retained there.
🔥📚 Fixed bug with absence of reply in case of program's exit. Extended purpose and usage of error reply codes (#4620).
Note
If a program exits without sending a manual reply, an auto-generated one will be sent to maintain the invariant that all repliable messages receive one.
Userspace
📚 Optimized amount of custom sections produced by opt-wasm
in gear-wasm-builder
(#4444);
📚 Added query for inheritor of exited program in gtest
(#4616);
📚 Added query for inheritor of exited program in gsdk
(#4622).
Runtime
📚 Builtins now lock Existential Deposit as it do usual Gear Programs (#4633).
Note
The necessary value is deposited from the treasury account on migrations.
Full Changelog: v1.8.0...v1.8.1