From e114999117b59ebe57bfa3e5c512c30d18d62a1a Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Tue, 6 Aug 2024 16:30:35 +0200 Subject: [PATCH] validation: add explanatory comment --- src/validation/validator.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/validation/validator.rs b/src/validation/validator.rs index 7060d8a8..0306cdcb 100644 --- a/src/validation/validator.rs +++ b/src/validation/validator.rs @@ -307,6 +307,9 @@ impl< } } for op in ops { + // We do not skip validating archive operations since after a re-org they may + // become valid and thus must be added to the contract state and validated + // beforehand. self.validate_operation(op); } }