Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(svm): N-02 remove unused errors #841

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading