From 481132bc1aae9f154edec0be13bac9c51dfb73d2 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Fri, 9 Aug 2024 15:07:24 +0200 Subject: [PATCH] vm: make todo comment more precise --- src/vm/contract.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vm/contract.rs b/src/vm/contract.rs index 56360424..d08885fc 100644 --- a/src/vm/contract.rs +++ b/src/vm/contract.rs @@ -617,7 +617,8 @@ pub trait ContractStateAccess: Debug { pub trait ContractStateEvolve { type Context<'ctx>; fn init(context: Self::Context<'_>) -> Self; - // TODO: Use more specific error type + // TODO: distinguish contract validation failure errors from connectivity + // errors. Allow custom error types here. fn evolve_state(&mut self, op: OrdOpRef) -> Result<(), confinement::Error>; }