mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
ed7300b406
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE |