serai/substrate/in-instructions
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
..
pallet Correct the prior documented TOCTOU 2023-10-13 04:41:01 -04:00
primitives Correct the prior documented TOCTOU 2023-10-13 04:41:01 -04:00