Test SeraiKeyWasNone

This commit is contained in:
Luke Parker
2025-01-24 06:58:54 -05:00
parent 164fe9a14f
commit cefc542744
3 changed files with 42 additions and 4 deletions

View File

@@ -45,6 +45,8 @@ interface IRouterWithoutCollisions {
/// @param amount The amount which escaped
event Escaped(address indexed coin, uint256 amount);
/// @notice The Serai key verifying the signature wasn't set
error SeraiKeyWasNone();
/// @notice The key for Serai was invalid
/// @dev This is incomplete and not always guaranteed to be thrown upon an invalid key
error InvalidSeraiKey();