serai/tests/coordinator/src
Luke Parker d50fe87801
Correct the prior documented TOCTOU
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.
2023-10-13 04:41:01 -04:00
..
tests Correct the prior documented TOCTOU 2023-10-13 04:41:01 -04:00
lib.rs Use dedicated Queues for each from-to pair 2023-09-27 12:20:57 -04:00