mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 12:16:25 +00:00
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:
1 parent
60b65695e2
commit
1b4dcd1f23
2 files changed
+7
-3
No files matched your search
@@ -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,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user