Skip to content

Commit

Permalink
fix(svm): N-02 remove unused errors
Browse files Browse the repository at this point in the history
Signed-off-by: Reinis Martinsons <[email protected]>
  • Loading branch information
Reinis-FRP committed Jan 7, 2025
1 parent 1fbad5e commit 6ac2394
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions programs/svm-spoke/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!")]
Expand Down Expand Up @@ -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,
}
Expand Down

0 comments on commit 6ac2394

Please sign in to comment.