Skip to content

Commit

Permalink
vm: make todo comment more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 9, 2024
1 parent e114999 commit 481132b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vm/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
}

Expand Down

0 comments on commit 481132b

Please sign in to comment.