Fix priv escalation test (#14046) (#14049)

(cherry picked from commit 5ea80e673f)

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2020-12-11 00:08:21 +00:00
committed by GitHub
parent 6a0ba2587d
commit c01bff61f8
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)]