mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-18 08:36:08 +00:00
custom weight function wrapper (#4158)
* custom weight function wrapper * dox * Better tests. * remove u8 encoding * Update frame/support/src/weights.rs Co-Authored-By: thiolliere <gui.thiolliere@gmail.com> * fix pays fee Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
1 parent
5c0bdd339f
commit
4a353f1e81
3 files changed
+73
-4
No files matched your search
@@ -649,9 +649,6 @@ fn pay_reporters<T: Trait>(
|
||||
T::Slash::on_unbalanced(value_slashed);
|
||||
}
|
||||
|
||||
// TODO: function for undoing a slash.
|
||||
//
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
Reference in new issue
Block a user