From 0a9df646cf39be3f6101342eae01a7a1394fe552 Mon Sep 17 00:00:00 2001 From: vms Date: Wed, 17 Feb 2021 23:16:22 +0300 Subject: [PATCH] rename outcome in raw-aquamarine-vm-api --- Cargo.lock | 2 +- aquamarine-vm/Cargo.toml | 2 +- aquamarine-vm/src/aquamarine_stepper_vm.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 93b1325e..eeec27e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -52,7 +52,7 @@ dependencies = [ [[package]] name = "aquamarine-vm" -version = "0.3.0" +version = "0.3.1" dependencies = [ "aqua-interpreter-interface", "fluence-faas", diff --git a/aquamarine-vm/Cargo.toml b/aquamarine-vm/Cargo.toml index e78ac37e..c3afa038 100644 --- a/aquamarine-vm/Cargo.toml +++ b/aquamarine-vm/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "aquamarine-vm" description = "Fluence Aquamarine VM" -version = "0.3.0" +version = "0.3.1" authors = ["Fluence Labs"] edition = "2018" license = "Apache-2.0" diff --git a/aquamarine-vm/src/aquamarine_stepper_vm.rs b/aquamarine-vm/src/aquamarine_stepper_vm.rs index 47193ceb..4bbadb10 100644 --- a/aquamarine-vm/src/aquamarine_stepper_vm.rs +++ b/aquamarine-vm/src/aquamarine_stepper_vm.rs @@ -264,14 +264,14 @@ impl AquamarineVM { aqua: impl Into, prev_data: impl Into>, data: impl Into>, - ) -> Result { + ) -> Result { let args = prepare_args(prev_data.into(), data, init_user_id.into(), aqua); let result = self.faas .call_with_ivalues(&self.wasm_filename, "invoke", &args, <_>::default())?; - let outcome = StepperOutcome::from_ivalues(result) + let outcome = InterpreterOutcome::from_ivalues(result) .map_err(AquamarineVMError::StepperResultDeError)?; Ok(outcome)