|
@@ -374,6 +374,7 @@ impl From<SerdeInstructionError> for InstructionError {
|
|
|
SerdeInstructionError::DuplicateAccountIndex => Self::DuplicateAccountIndex,
|
|
SerdeInstructionError::DuplicateAccountIndex => Self::DuplicateAccountIndex,
|
|
|
SerdeInstructionError::ExecutableModified => Self::ExecutableModified,
|
|
SerdeInstructionError::ExecutableModified => Self::ExecutableModified,
|
|
|
SerdeInstructionError::RentEpochModified => Self::RentEpochModified,
|
|
SerdeInstructionError::RentEpochModified => Self::RentEpochModified,
|
|
|
|
|
+ #[allow(deprecated)]
|
|
|
SerdeInstructionError::NotEnoughAccountKeys => Self::NotEnoughAccountKeys,
|
|
SerdeInstructionError::NotEnoughAccountKeys => Self::NotEnoughAccountKeys,
|
|
|
SerdeInstructionError::AccountDataSizeChanged => Self::AccountDataSizeChanged,
|
|
SerdeInstructionError::AccountDataSizeChanged => Self::AccountDataSizeChanged,
|
|
|
SerdeInstructionError::AccountNotExecutable => Self::AccountNotExecutable,
|
|
SerdeInstructionError::AccountNotExecutable => Self::AccountNotExecutable,
|
|
@@ -445,6 +446,7 @@ impl From<InstructionError> for SerdeInstructionError {
|
|
|
InstructionError::DuplicateAccountIndex => Self::DuplicateAccountIndex,
|
|
InstructionError::DuplicateAccountIndex => Self::DuplicateAccountIndex,
|
|
|
InstructionError::ExecutableModified => Self::ExecutableModified,
|
|
InstructionError::ExecutableModified => Self::ExecutableModified,
|
|
|
InstructionError::RentEpochModified => Self::RentEpochModified,
|
|
InstructionError::RentEpochModified => Self::RentEpochModified,
|
|
|
|
|
+ #[allow(deprecated)]
|
|
|
InstructionError::NotEnoughAccountKeys => Self::NotEnoughAccountKeys,
|
|
InstructionError::NotEnoughAccountKeys => Self::NotEnoughAccountKeys,
|
|
|
InstructionError::AccountDataSizeChanged => Self::AccountDataSizeChanged,
|
|
InstructionError::AccountDataSizeChanged => Self::AccountDataSizeChanged,
|
|
|
InstructionError::AccountNotExecutable => Self::AccountNotExecutable,
|
|
InstructionError::AccountNotExecutable => Self::AccountNotExecutable,
|