mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-28 22:49:42 +00:00
d50fe87801
Now, if a malicious validator set publishes a malicious `Batch` at the last moment, it'll cause all future `Batch`s signed by the next validator set to require a bool being set (yet they never will set it). This will prevent the handover. The only overhead is having two distinct `batch_message` calls on-chain. |
||
---|---|---|
.. | ||
tests | ||
lib.rs |