From 6ac23947f9e40ede3fe35212061be522c83ca57d Mon Sep 17 00:00:00 2001 From: Reinis Martinsons Date: Tue, 7 Jan 2025 09:19:31 +0000 Subject: [PATCH] fix(svm): N-02 remove unused errors Signed-off-by: Reinis Martinsons --- programs/svm-spoke/src/error.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/programs/svm-spoke/src/error.rs b/programs/svm-spoke/src/error.rs index cca8fab68..e111f675d 100644 --- a/programs/svm-spoke/src/error.rs +++ b/programs/svm-spoke/src/error.rs @@ -42,14 +42,10 @@ pub enum CommonError { pub enum SvmError { #[msg("Only the owner can call this function!")] NotOwner, - #[msg("Invalid route PDA!")] - InvalidRoutePDA, #[msg("Invalid relay hash!")] InvalidRelayHash, #[msg("The fill deadline has not passed!")] CanOnlyCloseFillStatusPdaIfFillDeadlinePassed, - #[msg("The fill status is not filled!")] - NotFilled, #[msg("The caller is not the relayer!")] NotRelayer, #[msg("Cannot set time if not in test mode!")] @@ -93,8 +89,6 @@ pub enum CallDataError { InvalidUint32, #[msg("Invalid solidity uint64 argument")] InvalidUint64, - #[msg("Invalid solidity uint128 argument")] - InvalidUint128, #[msg("Unsupported solidity selector")] UnsupportedSelector, }