github gear-tech/gear v1.7.1

22 hours ago

Release v1.7.1 changes

  • Crates versions bumped to "v1.7.1”, runtime spec version bumped to 1710 (#4487);
  • Weights of extrinsic and WASM calls WERE NOT updated.

Update requirements

Important

Upcoming release will deprecate previous approach of reading state inside programs using fn state() and applicable RPC calls read_state/read_state_using_wasm as well as gmeta crate, in favor of sails-like approach of calculate_reply_for_handle and required dispatch (read, immutable) functions inside fn handle. Make sure to migrate your programs to the new approach. Previously uploaded programs will work for some amount of releases.

Warning

It's still not recommended to use windows-based nodes for blocks validation.

Name Character
JS clients ⚪ Insubstantial
Programs ⚪ Insubstantial
Node bin 🟡 Recommended

Key features

🔥📚 Optimized performance of weak hardware validators caused by sandbox executor (#4420);

Tip

Due to this update, it's recommended to update node binary.


🔥📚 Builtin actors implementation got extended by tracking block gas allowance (#4345).

Note

This update increases stability on corner cases and makes execution time more predictable.

Userspace

📚 Changed test-purpose implementation of ActorId's From<u64> (#4377);

Tip

Now it puts u64 bytes from idx 12, instead of 0.


📚 Fixed gtest memory limit for programs: up to 2gb, matching real production (#4391);


📚 Recommended nightly rust version bumped to one of the latest (#4404);


📚 gear-wasm-builder now pays attention on workspace patches (#4478);


📚 gcore's function with_read_on_stask renamed to with_read_on_stack_or_heap (#4452);


📚 Fixed conditional compilation of stack_debug macro in gcore (#4374).

Runtime

📚 Removed legacy unreachable error type "UnsupportedMessage" in core execution crates (#4453);


📚 Fixed gas benchmark for reservation_reply_per_byte syscall condition (#4361);


📚 Removed floats from runtime on substrate migration regression (#4477).

Full Changelog: v1.7.0...v1.7.1

Don't miss a new gear release

NewReleases is sending notifications on new releases.