forked from paritytech/substrate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap apply_inactive_safe and apply_inactive_unsafe for ensuring activ…
…e intentions and validators count (paritytech#776) * Wrap apply_inactive_safe and apply_inactive_unsafe for ensuring active intentions and validators count * Refactor slash.rs as well for better semantics * Use try_force_inactive instead of *_unsafe since it's seemingly more Rust idiomatic * Rename to force_inactive_unsafe * Build wasm * Use Self::try_slash_or_clear for slashing inactive offline validators * Build wasm
- Loading branch information
1 parent
76e1069
commit 6d81b98
Showing
5 changed files
with
71 additions
and
38 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+2.27 KB
(100%)
runtime/wasm/target/wasm32-unknown-unknown/release/chainx_runtime.compact.wasm
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters