mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
add reasons to slash evidence (#414)
* add reasons to slash evidence * fix CI failing * Remove unnecessary clones .encode() takes &self * InvalidVr to InvalidValidRound * Unrelated to this PR: Clarify reasoning/potentials behind dropping evidence * Clarify prevotes in SlashEvidence test * Replace use of read_to_end * Restore decode_signed_message --------- Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
This commit is contained in:
@@ -137,7 +137,7 @@ impl Network for TestNetwork {
|
||||
}
|
||||
}
|
||||
|
||||
async fn slash(&mut self, _: TestValidatorId, _: SlashEvent<Self>) {
|
||||
async fn slash(&mut self, _: TestValidatorId, _: SlashEvent) {
|
||||
dbg!("Slash");
|
||||
todo!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user