Skip to content

v1.8.1

Choose a tag to compare

@breathx breathx released this 15 May 09:54
· 416 commits to master since this release
5419ab2

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