Offence implementations can disable offenders independently from slashing (#10201)

* Offence implementations can disable offenders independently from slashing

* Fix build on CI

* Run cargo fmt

* Fixes based on review comments

* Make parameter naming consistent

* Fix migration and some English

* Fix migration - again

* cargo fmt

* Cover 2 new cases with a test
This commit is contained in:
wigy authored and GitHub committed 2021-11-17 14:11:02 +00:00
1 parent 186efbc2a5
commit 3f0f1aa6f7
8 files changed
+129 -46

No files matched your search

+1
View File
@@ -150,6 +150,7 @@ where
&concurrent_offenders,
&slash_perbill,
offence.session_index(),
offence.disable_strategy(),
);
// Deposit the event.