Fix priv escalation test (#14046)

This commit is contained in:
Jack May
2020-12-10 14:36:33 -08:00
committed by GitHub
parent 68109a46e0
commit 5ea80e673f
5 changed files with 14 additions and 7 deletions

View File

@ -167,6 +167,10 @@ pub enum InstructionError {
/// Computational budget exceeded
#[error("Computational budget exceeded")]
ComputationalBudgetExceeded,
/// Cross-program invocation with unauthorized signer or writable account
#[error("Cross-program invocation with unauthorized signer or writable account")]
PrivilegeEscalation,
}
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]