serai/substrate/validator-sets/pallet
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
..
src Explicitly provide a pre_dispatch which calls validate_unsigned 2023-10-13 00:31:23 -04:00
Cargo.toml Staking pallet (#373) 2023-10-10 06:53:24 -04:00
LICENSE Update licenses 2023-01-11 23:05:31 -05:00