serai/substrate/client/tests
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
..
common Correct the prior documented TOCTOU 2023-10-13 04:41:01 -04:00
batch.rs Add Batch messages from processor, verify Batchs published on-chain 2023-09-29 03:51:01 -04:00
burn.rs Add Batch messages from processor, verify Batchs published on-chain 2023-09-29 03:51:01 -04:00
time.rs Support extracting timestamps from blocks 2023-04-16 00:31:54 -04:00
validator_sets.rs Define an array of all NetworkIds in serai_primitives 2023-10-12 23:59:21 -04:00