serai/substrate
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
..
client Define an array of all NetworkIds in serai_primitives 2023-10-12 23:59:21 -04:00
in-instructions Explicitly provide a pre_dispatch which calls validate_unsigned 2023-10-13 00:31:23 -04:00
node Localize stake into networks 2023-10-13 00:04:30 -04:00
primitives Define an array of all NetworkIds in serai_primitives 2023-10-12 23:59:21 -04:00
runtime Staking pallet (#373) 2023-10-10 06:53:24 -04:00
staking/pallet Support immediate deallocations for non-active validators 2023-10-12 00:51:18 -04:00
tokens Staking pallet (#373) 2023-10-10 06:53:24 -04:00
validator-sets Explicitly provide a pre_dispatch which calls validate_unsigned 2023-10-13 00:31:23 -04:00