From 52b8e6b477d343a4530c4f3ab33f3489d28f9c55 Mon Sep 17 00:00:00 2001 From: Yulong Wu Date: Wed, 30 Oct 2024 13:50:41 +0000 Subject: [PATCH] Revert "Maintain backwards compatibility" This reverts commit 306e4616e4a3653cb78c520b8e96d99573504614. --- radix-engine/src/errors.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/radix-engine/src/errors.rs b/radix-engine/src/errors.rs index 118f483393..0743016ef3 100644 --- a/radix-engine/src/errors.rs +++ b/radix-engine/src/errors.rs @@ -66,17 +66,14 @@ pub enum RejectionReason { valid_to_exclusive: Instant, current_time: Instant, }, - DeprecatedIntentHashPreviouslyCommitted, - DeprecatedIntentHashPreviouslyCancelled, + IntentHashPreviouslyCommitted(IntentHash), + IntentHashPreviouslyCancelled(IntentHash), BootloadingError(BootloadingError), ErrorBeforeLoanAndDeferredCostsRepaid(RuntimeError), SuccessButFeeLoanNotRepaid, SubintentsNotYetSupported, - - IntentHashPreviouslyCommitted(IntentHash), - IntentHashPreviouslyCancelled(IntentHash), } impl From for RejectionReason {