Skip to content

Commit a242dec

Browse files
authored
fix(svm): N-02 remove unused errors (#841)
Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
1 parent ab91cd4 commit a242dec

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

programs/svm-spoke/src/error.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,10 @@ pub enum CommonError {
4242
pub enum SvmError {
4343
#[msg("Only the owner can call this function!")]
4444
NotOwner,
45-
#[msg("Invalid route PDA!")]
46-
InvalidRoutePDA,
4745
#[msg("Invalid relay hash!")]
4846
InvalidRelayHash,
4947
#[msg("The fill deadline has not passed!")]
5048
CanOnlyCloseFillStatusPdaIfFillDeadlinePassed,
51-
#[msg("The fill status is not filled!")]
52-
NotFilled,
5349
#[msg("The caller is not the relayer!")]
5450
NotRelayer,
5551
#[msg("Cannot set time if not in test mode!")]
@@ -93,8 +89,6 @@ pub enum CallDataError {
9389
InvalidUint32,
9490
#[msg("Invalid solidity uint64 argument")]
9591
InvalidUint64,
96-
#[msg("Invalid solidity uint128 argument")]
97-
InvalidUint128,
9892
#[msg("Unsupported solidity selector")]
9993
UnsupportedSelector,
10094
}

0 commit comments

Comments
 (0)