serai/substrate/in-instructions
Luke Parker ed7300b406
Explicitly provide a pre_dispatch which calls validate_unsigned
pre_dispatch is guaranteed by documentation to be called and persisted.
validate_unsigned is not, though the provided pre_dispatch does by default call
validate_unsigned. By explicitly providing our own pre_dispatch, we accomplish
the bounds we require and expect, only being invalidated on Substrate
redefining their API.

We should still test this, yet since we call retire_session in
validate_unsigned, any test of rotation will test it's being properly called.
2023-10-13 00:31:23 -04:00
..
pallet Explicitly provide a pre_dispatch which calls validate_unsigned 2023-10-13 00:31:23 -04:00
primitives Coordinator Batch signing test 2023-08-24 23:48:50 -04:00