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 ofGear::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
tov0.9.42
(#3584).
Changed behaviour and named API of
pallet-balances
:
- Config, error names and constant changes;
- Change of
fn set_balance()
intofn 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
tov0.9.43
(#3584).
Stakings "controller" instance was deprecated. Now "stash" and "controller" is the same.