github gear-tech/gear v1.1.1

latest releases: build, v1.5.0-1, v1.5.1...
7 months ago

Release v1.1.1 changes

  • Crates versions bumped to "v1.1.1", runtime spec version bumped to 1110;
  • Weights of extrinsic and WASM calls updated, schedule version bumped to 1110.

Update requirements

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

User-space

📚 New testing function has been added to gtest that allows to assert that message panicked with specific string (#3670);

Tip

Check out following gtest API snapshot:

 let panic_msg = "panic!";
- assert_eq!(result.log().len(), 1);
-     assert!(matches!(
-         result.log()[0].reply_code(),
-         Some(ReplyCode::Error(ErrorReplyReason::Execution(
-             SimpleExecutionError::UserspacePanic
-        )))
-     ));
-     let payload = String::from_utf8(result.log()[0].payload().into())
-         .expect("Unable to decode panic message");
-     assert!(payload.contains(&format!("panicked with '{panic_msg}'")));
+ result.assert_panicked_with(panic_msg);

📖 New CLI util implementing keystore/keyring has been added: gring (#3619);


📚 Crates.io bug with gtest on v1.1.0 version fixed (#3704);

Runtime

📚 Programs code reinstrumentation failure no longer supposed to be unreachable so from now on handled as succeeded error case (#3690);

Note

This increases stability of the protocol and adds more recovery cases from some state invalidity.


📖 Added ability to decline a voucher issued for you, marking it expired (#3725);

Tip

This significantly increases UX of signless apps.

Full Changelog: v1.1.0...v1.1.1

Don't miss a new gear release

NewReleases is sending notifications on new releases.