Replace Overflow-Prone Operations in Staking with Saturating Arithmetic (#2115)

* Improve a few doc string

* Replace overflow-prone operation with saturating.

* Remove whitespace.

* Update wasm; Bump spec;

* Bump impl again.

* Fix review comments.
This commit is contained in:
Kian Peymani authored and Gav Wood committed 2019-03-26 14:39:14 +01:00
1 parent 571d094313
commit da124d74d1
6 files changed
+158 -49

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
impl_name: create_runtime_str!("substrate-node"),
authoring_version: 10,
spec_version: 44,
impl_version: 44,
impl_version: 45,
apis: RUNTIME_API_VERSIONS,
};