diff --git a/packages/solana/programs/wormhole-reporter/src/error.rs b/packages/solana/programs/wormhole-reporter/src/error.rs index 16a309ea..7d8ebb01 100644 --- a/packages/solana/programs/wormhole-reporter/src/error.rs +++ b/packages/solana/programs/wormhole-reporter/src/error.rs @@ -11,10 +11,6 @@ pub enum ErrorCode { /// Specified Wormhole fee collector PDA is wrong. InvalidWormholeFeeCollector, - #[msg("InvalidWormholeEmitter")] - /// Specified program's emitter PDA is wrong. - InvalidWormholeEmitter, - #[msg("InvalidWormholeSequence")] /// Specified emitter's sequence PDA is wrong. InvalidWormholeSequence, @@ -22,20 +18,4 @@ pub enum ErrorCode { #[msg("InvalidSysvar")] /// Specified sysvar is wrong. InvalidSysvar, - - #[msg("OwnerOnly")] - /// Only the program's owner is permitted. - OwnerOnly, - - #[msg("InvalidForeignEmitter")] - /// Specified foreign emitter has a bad chain ID or zero address. - InvalidForeignEmitter, - - #[msg("BumpNotFound")] - /// Bump not found in `bumps` map. - BumpNotFound, - - #[msg("InvalidMessage")] - /// Deserialized message has unexpected payload type. - InvalidMessage, }