Staking improve payout_validator (#5208)

* add documentation and optimise payout_validator a bit

* bump spec version to be safe

this is just in case clipped exposure and exposure have different fields
own and total. This shouldn't be the case but better be safe in case
storage is wrong.

* Update frame/staking/src/lib.rs

Co-Authored-By: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
This commit is contained in:
thiolliere
2020-03-10 20:54:29 +01:00
committed by GitHub
parent 60b65695e2
commit 1b4dcd1f23
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to 0. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 234,
spec_version: 235,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
};