github gear-tech/gear v1.0.3

latest releases: build, v1.6.2, v1.6.1...
11 months ago

Release v1.0.3 changes

  • Crates and runtime version bumped to "1.0.3" (#3522).

This release does not affect gear protocols execution layer or user space libraries, so there is no need to update programs.

Node binary updates required: RECOMMENDED.

External node/runtime api changed: MAYBE.

API was slightly changed according to substrate changes, may not require any updates at the moment.

Node binary

  • Implemented new two-phase block proposing mechanism (#3558).

Patched substates default block proposer totally replaced with custom one. Gear block authorship now proposes block without Gear::run extrinsic (internal message queue processing with programs execution) in case of Gear::run took too long time to execute, instead of previous logic of dropping the whole block.

This unique mechanic makes Gear protocol implementors much more stable and fault-tolerant, even with weak hardware.

  • Node code was adapted for new version of substrate (#3584).

Node binary argument --ws-port was renamed into --rpc-port.

Runtime

  • Substrate version bumped from v0.9.41 to v0.9.42 (#3584).

Changed behaviour and named API of pallet-balances:

  • Config, error names and constant changes;
  • Change of fn set_balance() into fn force_set_balance() with different arguments (setting reserved balance now deprecated);
  • For any pallet-balances interaction it's required to have balance greater or equal to existential deposit (10 Vara for Vara Network).
  • Substrate version bumped from v0.9.42 to v0.9.43 (#3584).

Stakings "controller" instance was deprecated. Now "stash" and "controller" is the same.

Mentioned changes are not the only that were applied, but the most significant. It's strongly recommended to check compatibility of JS-related code

Full Changelog: v1.0.2...v1.0.3

Don't miss a new gear release

NewReleases is sending notifications on new releases.